1
General / Re: SFML not working with Visual Studio 2012
« on: May 21, 2013, 03:14:56 am »Is this a debug or release build?
Check you have all the correct sfml lib files (for debug/release mode) in your game's linker input settings, and that you don't have SFML_STATIC defined in your game's Preprocessor settings.
Also check that your game is set to Multi-Threaded DLL (/MD) in the Code Generation settings.
Let us know what happens.
I did not have SFML_STATIC in the settings. I have all the lib files. And yes, it is set to /MD. Oh, and it's a release build.
Hey Dr. Sulfurious!I rebuilt it because the built version for 2012 gave me the same errors, so I thought building it with my compiler would be more likely to make it work. I'll try the 32 bit binaries and report back. I'm actually not sure if my compiler is 64 bit or not. I run a 64 bit operating system, though.I have rebuilt the project manually using CMAKE, and am trying to use it that way.What project have you rebuilt with CMake? SFML? If so, why? Since SFML provides binaries for VS 2012...My issue is that when I try to compile, I get 5 linker errors. I'm confident I'm not setting up the project wrong, but I may be building the project wrong. I'm using CMAKE and build it WITHOUT static libs ticked. I'm currently linking dynamically.The setup seems alright, my only guess is, would be, that you're trying to link against the x64 binaries with the 32bit compiler...
EDIT: Solution!
I wasn't building in x64 mode. Apparently I had to convert the project over! Thanks a lot guys, I appreciate the help.