[Cppunit-devel] need your help
Brought to you by:
blep
From: Binu K I. <bi...@av...> - 2003-06-15 13:32:56
|
Hai all, I have encountered two problems in using CppUnit.=20 1. I have already registered a plug in, as you have told. But I couldnot = see what advantage we get in adding the plug in. The VC is not giving me = =20 any extra facility for plug in. 2. When I build my projects in debug mode, which includes the testing = code, it complaints of linking errors. This errors I have checked with = FAQ =20 and so I set the settings C?C++ code generation use = "DebugMultithreaded Dll" for debug and "Multithreaded Dll" for release. = No luck. It again retained this error. I am very much in need of = implementing unit testing for my project. Please help me if you could = find out the problem.=20 I would have sent the files to you, if you have time. Its just an = integer multiplication pgm :-), because I wanted to use CppUnit from = starting. I think the problem should be with project settings, but I have tried = all options... now i am, waiting for your response Thanks in Advance.. Binu k Idicula Sr IT Officer Atinav inc www.atinav.com =20 <<<<<<<<<<<<<<<<<<ERRORS LISTED = >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>= >>>>>>>> tester.obj : error LNK2001: unresolved external symbol "public: = __thiscall CppUnit::SourceLine::SourceLine(class = std::basic_string<char,struct std::char_traits<char>,class = std::allocator<char> > const &,int)" = (??0SourceLine@CppUnit@@QAE@ABV?$basic_s tring@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) tester.obj : error LNK2001: unresolved external symbol "public: virtual = __thiscall CppUnit::SourceLine::~SourceLine(void)" = (??1SourceLine@CppUnit@@UAE@XZ) tester.obj : error LNK2001: unresolved external symbol "void __cdecl = CppUnit::Asserter::failNotEqual(class std::basic_string<char,struct = std::char_traits<char>,class std::allocator<char> >,class = std::basic_string<char,struct std::char_traits<char>,c lass std::allocator<char> >,class CppUnit::SourceLine,class = std::basic_string<char,struct std::char_traits<char>,class = std::allocator<char> >)" = (?failNotEqual@Asserter@CppUnit@@YAXV?$basic_string@DU?$char_traits@D@std= @@V?$allocator@D@2@@std@@0VSourc eLine@2@0@Z) Release/UnitTesting.exe : fatal error LNK1120: 3 unresolved externals Error executing link.exe. |