vinothr / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

LIBCMTD.lib(stdexcpt.obj) : error LNK2005 #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
SourceCode:libjingle-0.5.2.zip 
OS:Windows XP Sp2
Visual Studio  2005 Installed

Error:
________Linking build\opt\obj\login.exe
1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: “public: virtual __thiscall 
std::exception::~exception(void)” (??1exception@std@@UAE@XZ) already defined 
in xmppthread.obj

1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: “public: virtual char const * 
__thiscall std::exception::what(void)const ” (?what@exception@std@@UBEPBDXZ) 
already defined in xmppthread.obj

Original issue reported on code.google.com by dongdong...@hotmail.com on 5 Mar 2011 at 10:36

GoogleCodeExporter commented 9 years ago
I think I found solution now.

http://v8.googlecode.com/svn/wiki/BuildingOnWindows.wiki:
To build using Visual Studio 2005 however requires Visual Studio 2005 SP1 to be 
installed. Please download and install 
[http://www.microsoft.com/downloads/details.aspx?familyid=bb4a75ab-e2d4-4c96-b39
d-37baf6b5b1dc&displaylang=en VS80sp1-KB926601-X86-ENU.exe] from Microsoft. 
Link errors like the one below is an indication of Visual Studio 2005 SP1 not 
beeing installed.

{{{
LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall 
std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined in 
mksnapshot.obj
LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * 
__thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) 
already defined in mksnapshot.obj
}}}

Original comment by dongdong...@hotmail.com on 5 Mar 2011 at 2:13

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 17 Nov 2011 at 12:29