I am currently trying to compile and link the CppUTest library with my project. I use CMake to create a Visual Studio 2013 Solution for the CppUTest-library and it builds.
However, when I link the created CppUTest.lib to my application I get an linker error telling me that it can not find multiple symbols like
??0Utest@@QAE@XZ)
or
?RunAllTests@CommandLineTestRunner@@SAHHPAPAD@Z
Now when I use dumpbin.exe on the lib and option /LINKERMEMBER I get a list of symbols in the library that includes the names
??0Utest@@QEAA@XZ
and
?RunAllTests@CommandLineTestRunner@@SAHHPEAPEAD@Z
So the names that actually exist are slightly different to the names that my projects expects and I have no idea what causes this problem. Is there any compile option that causes these changes or do I use a different compiler although I think it is the same?