1
General / [Visual Studio 11] Yet another build problems thread
« on: May 07, 2013, 07:18:35 am »
I had it working in VS2010 but I am switching to VS2012 but I'm having some problems getting it to work. I am following the tutorial but I will put every step I take here, let me know where I messed it up.
1. New Project (Win32 Console Application/Empty Project)
2. Create main.cpp, I am using the tutorial code.
3. In the properties under All Configuations under C/C++/General I add the include directory
4. I add the lib directory under Linker/General
5. Under Release Linker/Input/Additional Dependencies I add sfml-graphics.lib, sfml-window.lib, sfml-system.lib
6. Under Debug Linker/Input/Additional Dependencies I add sfml-graphics-d.lib, sfml-window-d.lib, sfml-system-d.lib
7. I put the .dll files from sfml path/bin into the project folder with main.cpp
8. Hit build and get this error: sfml-graphics-d.lib(sfml-graphics-d-2.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
I have remade the project a few times just in case I messed something up there, same error. Where am I going wrong?
1. New Project (Win32 Console Application/Empty Project)
2. Create main.cpp, I am using the tutorial code.
3. In the properties under All Configuations under C/C++/General I add the include directory
4. I add the lib directory under Linker/General
5. Under Release Linker/Input/Additional Dependencies I add sfml-graphics.lib, sfml-window.lib, sfml-system.lib
6. Under Debug Linker/Input/Additional Dependencies I add sfml-graphics-d.lib, sfml-window-d.lib, sfml-system-d.lib
7. I put the .dll files from sfml path/bin into the project folder with main.cpp
8. Hit build and get this error: sfml-graphics-d.lib(sfml-graphics-d-2.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
I have remade the project a few times just in case I messed something up there, same error. Where am I going wrong?