Are you compiling using the same configuration (DEBUG, RELEASE, whatever...) you compiled cppunitd.lib with?
If not, doing so might solve the problem...
Greeting,
I.Steinhaeuser
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting the following link error when linking with cppunitd.lib:
error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (??6std@@YAAAV?$basic_ostream@DU?$cha
r_traits@D@std@@@0@AAV10@PBD@Z) already defined...
fatal error LNK1169: one or more multiply defined symbols found
If I try the /force link option or linking with cppunitd_dll.lib, then I get an access violation.
My application uses Visibroker and RogueWave.
Does anyone have any suggestions.
Thanks in advance.
abrewing
I have the same error. How do I get rid of that? Is there any way to get STL out of the cppunitd.lib or to disable it's usage from there?
Thanks beforehand,
Rubs.
Are you compiling using the same configuration (DEBUG, RELEASE, whatever...) you compiled cppunitd.lib with?
If not, doing so might solve the problem...
Greeting,
I.Steinhaeuser