So I'm trying to convert a project of mine from vc++2008 to vs2012, and discovered that since there are no ready built version of SFML for it I would have to compile it myself from CMake.
Firstly I would just like to say that I have never used CMake and I apologize in advance since the solution will most likely be obvious to veterans of CMake.
I followed the tutorial at
http://sfml-dev.org/tutorials/2.0/compile-with-cmake.phpI built the static libraries, with Visual Studio 11(not x64!) chosen as my generator in CMake.
After linking everything correctly(I think) I attempted to compile. I got a few errors which I corrected.
However during linking I get LNK1112 error, with the output saying:
error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' C:\Users\Admin\Google Drive\C++ project\VS2012\New Game\sfml-system-s-d.lib(Time.obj)
So I was wondering how I should fix this. Did I set something wrong in the CMake options, or is something else the cause?
Some general info:
- I am using CMake 2.8.10
- I am using Visual Studio 2012 Express
- The project itself was win32 in my vc++2008 configuration