Jun 17, 2011 at 8:53pm UTC
It's been a while since I used sfml, but if I recall correctly, this happens when you link to sfml-<something>.lib instead of sfml-<something>-d.lib
Jun 17, 2011 at 9:00pm UTC
So I shouldn't link to both? If I link only with the sfml-graphics-d.lib I get an error saying that the program failed to start correctly
Jun 17, 2011 at 10:59pm UTC
I thought you should only link to sfml-<something>.lib and not the debug?
Jun 17, 2011 at 11:29pm UTC
The linker should give you an error if you link to both give the conflicting functions. No, you should not link to the two libraries.
You should link to the debug library... if you're wanting to debug. It provides debugging facilities, strict checking, etc. (as do most libraries in a debug mode).
Last edited on Jun 17, 2011 at 11:30pm UTC
Jun 18, 2011 at 6:33am UTC
Like I said, if I only link to the following libs:
Sfml-system-d.lib
Sfml-window-d.lib
Sfml-graphics-d.lib
Sfml-main.lib
Then I get an error saying that the program failed to start correctly?
Jun 18, 2011 at 3:17pm UTC
Why didn't you link to sfml-main-d.lib?
Jun 18, 2011 at 3:22pm UTC
I only use sfml-main.lib when using win32 apps, while avoiding winmain :) hardly reckon its nescesary to add sml-main-d.lib?