For Programmers: Free Programming Magazines  


Home > Archive > Extreme Programming > August 2004 > Error linking "cppunitd.lib" in VS.NET 2003.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2004-08-24, 11:04 pm

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.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com