SFML community forums
Help => General => Topic started by: HElwy on July 06, 2013, 07:34:02 am
-
I'm using VS 11 and was just following the SFML configuration tutorial, and at the end when I compile I get
"error lnk1112 module machine type 'x64' conflicts with target machine type 'x86' sfml"
and I even tried go to linker > advanced > and change target machine, but that just changed their order, this is my linker input (just incase they are wrong, they look a bit wrong to me)
"sfml-system-s.lib;sfml-window-s.lib;sfml-graphics-s.lib;sfml-network-s.lib;sfml-audio-s.lib;sfml-system-s-d.lib;sfml-window-s-d.lib;sfml-graphics-s-d.lib;sfml-network-s-d.lib;sfml-audio-s-d.lib;%(AdditionalDependencies)"
and this is my c++ preprocessor
"SFML_STATIC;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)"
Can someone help?
-
Are you compiling for 32 or 64 bits? Did you download the 32 or 64 bits version of SFML?
VS 11
VS 11 doesn't exist, it's either VC++ 11 or Visual Studio 2012 :P
-
Your settings might be wrong. If you change from x86 to x64 after you've made changes to the linking settings, it might happen, that the system lib versions didn't change.
You csn go snd edit the "Additional Dependencies" and similar, so it points to the right x64 libraries.
The be sure you can also create a new project.