CPPUNIT with TI code composer studio for C64

Help
2009-12-23
2013-04-22
  • Pavan Bhave
    Pavan Bhave
    2009-12-23

    I am building CPPUNIT with TI code composer studio.

    to create the lib I have include all files under

    CPPUnit\src\cppunit

    I think I need to add a few more files not sure..

    I get the following errors when I lnk this lib with my actual project errors encountered during linking; "UnitTestRunner.out" not built
    Linking failed. Check the Console window for details.

    symbol "initialization guard variable for ExampleTest::getTestNamer__()::testNamer" redefined: first defined in "C:\work\CodeComposerStudio\Example\UnitTest\ \Example.lib<ExampleTests.obj>"; redefined in "C:\work\CodeComposerStudio\Example\UnitTest\ \Example.lib<ExampleTests.obj>"

    symbol "initialization guard variable for ExampleTest::getTestNamer__()::testNamer" redefined: first defined in "C:\work\CodeComposerStudio\Example\UnitTest\ \Example.lib<ExampleTests.obj>"; redefined in "C:\work\CodeComposerStudio\Example\UnitTest\ \Example.lib<ExampleTests.obj>" ptimequant C:\work\ CodeComposerStudio\Example\UnitTest\Example.lib<Examplep2q.obj> ptimerecon C:\work\ CodeComposerStudio\Example\UnitTest\Example.lib<Examplep2q.obj> std::uncaught_exception() C:\work\ CodeComposerStudio\UnitTestRunner\lib\cppunit.lib<XmlOutputter.obj> UnitTestRunner line 0 1261499558894 840

    symbol "initialization guard variable for Example::getTestNamer__()::testNamer" redefined: first defined in "C:\work\CodeComposerStudio\Example\UnitTest\ \Example.lib<ExampleTests.obj>"; redefined in "C:\work\ CodeComposerStudio\Example\UnitTest\ \Example.lib<ExampleTests.obj>"

    unresolved symbol __catchclause_number, first referenced in ./main.obj UnitTestRunner line 0 1261499558894 843

    unresolved symbol __caughtobject_address, first referenced in C:\work\ CodeComposerStudio\UnitTestRunner\lib\cppunit.lib<DefaultProtector.obj>

    unresolved symbol __currehstackentry, first referenced in ./main.obj

    unresolved symbol __ehcurr_region, first referenced in ./main.obj

    unresolved symbol __exceptioncaught, first referenced in ./main.obj

    unresolved symbol __freethrownobject, first referenced in ./main.obj
    99558894 848 unresolved symbol ___internalrethrow, first referenced in C:\work\ CodeComposerStudio\UnitTestRunner\lib\cppunit.lib<XmlOutputter.obj>

    unresolved symbol ___rethrow, first referenced in ./main.obj

    unresolved symbol __suppressoptimonvarsintry, first referenced in ./main.obj

    unresolved symbol __throwsetup_dtor, first referenced in C:\work\ CodeComposerStudio\UnitTestRunner\lib\cppunit.lib<XmlOutputter.obj>

    unresolved symbol ___throw, first referenced in C:\work\ CodeComposerStudio\UnitTestRunner\lib\cppunit.lib<XmlOutputter.obj>

    unresolved symbol Examplep2vuvfrmcb, first referenced in C:\work\ CodeComposerStudio\Example\UnitTest\Example.lib<evcode.obj>

    unresolved symbol std::Facetptr::Psave, first referenced in [with

    unresolved symbol std::num_put<T1,, first referenced in T2>::id

    unresolved symbol std::numpunct::id, first referenced in [with

    unresolved symbol void, first referenced in CppUnit::removeFromSequence<T1,