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>" _ptime_quant C:\\work\\ CodeComposerStudio\\Example\\UnitTest\\Example.lib<Examplep2q.obj> _ptime_recon 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 ___catch_clause_number, first referenced in ./main.obj UnitTestRunner line 0 1261499558894 843
unresolved symbol ___caught_object_address, first referenced in C:\\work\\ CodeComposerStudio\\UnitTestRunner\\lib\\cppunit.lib<DefaultProtector.obj>
unresolved symbol ___curr_eh_stack_entry, first referenced in ./main.obj
unresolved symbol ___eh_curr_region, first referenced in ./main.obj
unresolved symbol ___exception_caught, first referenced in ./main.obj
unresolved symbol ___free_thrown_object, first referenced in ./main.obj
99558894 848
unresolved symbol ___internal_rethrow, first referenced in C:\\work\\ CodeComposerStudio\\UnitTestRunner\\lib\\cppunit.lib<XmlOutputter.obj>
unresolved symbol ___rethrow, first referenced in ./main.obj
unresolved symbol ___suppress_optim_on_vars_in_try, first referenced in ./main.obj
unresolved symbol ___throw_setup_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 _Examplep2_vuv_frm_cb, first referenced in C:\\work\\ CodeComposerStudio\\Example\\UnitTest\\Example.lib<evcode.obj>
unresolved symbol std::_Facetptr<T1>::_Psave, first referenced in [with
unresolved symbol std::num_put<T1,, first referenced in T2>::id
unresolved symbol std::numpunct<T1>::id, first referenced in [with
unresolved symbol void, first referenced in CppUnit::removeFromSequence<T1,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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>" _ptime_quant C:\\work\\ CodeComposerStudio\\Example\\UnitTest\\Example.lib<Examplep2q.obj> _ptime_recon 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 ___catch_clause_number, first referenced in ./main.obj UnitTestRunner line 0 1261499558894 843
unresolved symbol ___caught_object_address, first referenced in C:\\work\\ CodeComposerStudio\\UnitTestRunner\\lib\\cppunit.lib<DefaultProtector.obj>
unresolved symbol ___curr_eh_stack_entry, first referenced in ./main.obj
unresolved symbol ___eh_curr_region, first referenced in ./main.obj
unresolved symbol ___exception_caught, first referenced in ./main.obj
unresolved symbol ___free_thrown_object, first referenced in ./main.obj
99558894 848
unresolved symbol ___internal_rethrow, first referenced in C:\\work\\ CodeComposerStudio\\UnitTestRunner\\lib\\cppunit.lib<XmlOutputter.obj>
unresolved symbol ___rethrow, first referenced in ./main.obj
unresolved symbol ___suppress_optim_on_vars_in_try, first referenced in ./main.obj
unresolved symbol ___throw_setup_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 _Examplep2_vuv_frm_cb, first referenced in C:\\work\\ CodeComposerStudio\\Example\\UnitTest\\Example.lib<evcode.obj>
unresolved symbol std::_Facetptr<T1>::_Psave, first referenced in [with
unresolved symbol std::num_put<T1,, first referenced in T2>::id
unresolved symbol std::numpunct<T1>::id, first referenced in [with
unresolved symbol void, first referenced in CppUnit::removeFromSequence<T1,