C++ OGRE3D VS2013: Error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800'

4.6k views Asked by At

I started to play around with OGRE and downloaded it. I use MS Visual Studio 2013 Express. I saw that there's no SDK for VS2013 so I downloaded the VS2012 one. Then I downloaded the Tutorial Framework, setted up the project like this and tried to compile it.

However, it didn't link. It gave an error "LNK1104: cannot open file 'libboost_thread-vc120-mt-gd-1_55.lib'". I tried to find the solution from SO, and I found one and tested it. I changed copied all of the libboost_*-vc110-mt-gd-1_55.libs, pasted them to same directory and renamed them to libboost_*-vc120-mt-gd-1_55.lib.

This worked to the first problem, but it gave another one, what I'm asking right now. I know this means that I'm using a library file what is compiled in wrong version of MSVC. I couldn't find the real libboost_*-vc120-mt-gd-1_55.lib.

Any suggestions?

1

There are 1 answers

0
Philip Allgaier On BEST ANSWER

As the error message states you are using incompatible binary versions. You cannot simply mix'n'match (neither the boost libraries nor the Ogre binaries).

Downloading the correct binaries for boost should help: Boost pre-built VS2013

The most flexible and quite easy option for Ogre on Windows however is to simply compile Ogre yourself. You can even disable to boost integration completely via CMake if you don't need it.