Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - RobotGymnast

Pages: 1 [2]
C / How to build CSFML2?
« on: January 31, 2011, 12:57:23 am »
Exactly as the post says. I'm running on Windows 7 (64-bit), and I've pulled the latest sfml2 from the SVN, but building the DLLs is proving to be difficult. I tried configuration through CMake, and I get errors like:

Code: [Select]

LINK : fatal error LNK1104: cannot open file 'C:\Users\Me\Documents\devl\CSFML\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe' [C:\Users\Me\Documents\devl\CSFML\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

Also a warning about -nologo being deprecated in MSVC. Can anybody shed some light on this?

D / How to set font color?
« on: January 30, 2011, 09:16:37 pm »
How does one set the color of text?

D / SVN DSFML2 Net broken?
« on: January 30, 2011, 07:39:04 pm »
Building the latest DSFML2 into libraries yields errors in socketselctor.d, specifically in SocketSelector.add, SocketSelector.remove, and SocketSelector.GetSocketsReady, which all appear to be template functions, but aren't actually given template parameters. It's giving an "undefined type T" error.

D / How to build without DSSS?
« on: January 30, 2011, 05:39:47 pm »
DSSS gives nonsensical, unhelpful error messages whenever I try to use it for anything. To build any of the libraries can I simply substitute
Code: [Select]

dmd -lib [source files]

And then copy & rename the resulting library?

D / DSFML broken
« on: January 30, 2011, 05:14:18 pm »
DSFML fails to compile using dmd v2.051. This means the SVN code and the version on the download page.

I've fixed code so that at least dsfml-window builds; diff uploaded at http://pastebin.com/djtz4P9g.

The main issues had to do with string literals not being equivalent to
Code: [Select]
char[] but rather
Code: [Select]
immutable char[] Also,

Code: [Select]
this inside a member function is a reference, not a pointer.

SFML website / SVN not working?
« on: January 29, 2011, 05:30:55 am »
I keep getting an instantaneous "The connection was reset" message when I try to access the svn through the web interface. Using IE, I get "The page cannot be displayed."

Any particular reason?

D / Importing DSFML modules gives failures
« on: January 27, 2011, 03:34:25 am »
There are a few issues with the DSFML modules in the DSFML svn. I'm compiling with the latest dmd (v2.051) and getting issues in videomode.d : 103, where

Code: [Select]

bool opEquals(VideoMode other)

should be

Code: [Select]

const bool opEquals(ref const VideoMode other)

And in window.d

Code: [Select]

this(VideoMode mode, char[] title, Style windowStyle = Style.RESIZE | Style.CLOSE, WindowSettings settings = WindowSettings())

should be

Code: [Select]

this(VideoMode mode, string title, Style windowStyle = Style.RESIZE | Style.CLOSE, WindowSettings settings = WindowSettings())

Pages: 1 [2]