I'm trying to use cppunit in Visual Studio 2010. The cppunit project itself built correctly. But any project which uses it failed to link due to a whole bunch of errors like the one below.
error LNK2001: unresolved external symbol "public: virtual class CppUnit::Test * __thiscall CppUnit::TestLeaf::doGetChildTestAt(int)const "
The same setup works fine in VS 2008.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-10-05
Just to press the issue, I got the same problems with 2010.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-10-05
Ha, well, no actually I was just beeing stupid. I had the library not specified in the correct output profile (i.e. inputs of the linker)
all is fine and working now
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to use cppunit in Visual Studio 2010. The cppunit project itself built correctly. But any project which uses it failed to link due to a whole bunch of errors like the one below.
The same setup works fine in VS 2008.
Just to press the issue, I got the same problems with 2010.
Ha, well, no actually I was just beeing stupid. I had the library not specified in the correct output profile (i.e. inputs of the linker)
all is fine and working now
Hey. how did you changed your output profile? did you compile the source of cppunit with visual studio 2010?
thanks a lot
best regards