Error linking "cppunitd.lib" in VS.NET 2003.

  • Follow


I have a simple console project I set up to play with CPPUnit
(v1.10.2).  I followed the setup guide in "install-win32.txt" & built
it in Visual Studio 6 (it was all I had on the machine at the time).

I assumed that I could use the cppunit build I made with vs6 for a
vs.net 2003 project.

However, when I build the new cppunit test project I created in vs.net
2003, I end up with link errors.  Here's the first link error:

cppunitd.lib(Message.obj) : warning LNK4217: locally defined symbol
??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z
(public: __thiscall std::logic_error::logic_error(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)) imported in function "public:
__thiscall std::invalid_argument::invalid_argument(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??0invalid_argument@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)

Does anyone have any advice on what the problem is & how to fix it?

Thanx a head of time.
0
Reply teracyte 8/24/2004 10:07:26 PM


0 Replies
154 Views

(page loaded in 0.016 seconds)

5/22/2013 3:45:27 AM


Reply: