http://msdn.microsoft.com/en-us/library/5ak1w89s%28VS.80%29.aspx
devenv /clean Debug Solution.sln
One can also specify the project and project configuration.
Can also run the application after it is built.
Wednesday, June 30, 2010
Monday, June 21, 2010
msvcprtd.lib(MSVCP100D.dll) : error LNK2005: already defined in gtestd.lib(gtest.obj)
This error occurs when the C/C++ Code Generation Runtime Library in gtest is defined differently from testing code using it. The gtest project was defined as MTd (Multi-threaded Debug) and the testing project defined as MDd (Multi-threaded DLL).
Fix: Changed the testing project to use MTd. From the Property Pages select Configuration Properties ==> C/C++ ==> Code Generation ==> Runtime Library ==> Multi-threaded (/MT).
Subscribe to:
Comments (Atom)
