Use cppunit in Visual Studio 2010

Help
Anonymous
2010-10-05
2013-04-22
  • Anonymous - 2010-10-05

    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.

     
  • Anonymous - 2010-10-05

    Just to press the issue, I got the same problems with 2010.

     
  • 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

     
  • Ming Lu

    Ming Lu - 2010-11-08

    Hey. how did you changed your output profile? did you compile the source of cppunit with visual studio 2010?

    thanks a lot
    best regards

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks