crypto++ compile error ,help!

20 views
Skip to first unread message

generalz (sent by Nabble.com)

unread,
Mar 7, 2006, 8:34:01 PM3/7/06
to crypto...@eskimo.com

crypto++4.2 VC++6.0 windowsXP
I meet the compilation error in my program!
Linking...
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in
gkey_renew.obj
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs; use /NODEFAULTLIB:library
Release/gkey_renew.exe : fatal error LNK1169: one or more multiply defined
symbols found
Error executing link.exe.

I need help!
--
View this message in context: http://www.nabble.com/crypto%2B%2B-compile-error-%2Chelp%21-t1243693.html#a3293044
Sent from the Crypto++ forum at Nabble.com.


Jeffrey Walton

unread,
Mar 8, 2006, 8:46:38 AM3/8/06
to crypto...@eskimo.com, gene...@eyou.com, li...@nabble.com
Hi Lists,

You are using the wrong version of the libraries.

Select 'Mutlithreaded' and 'Multithreaded Debug' (static or daynamic is
not relevant).

Jeff

>>> li...@nabble.com 3/7/2006 8:23 PM >>>

generalz (sent by Nabble.com)

unread,
Mar 8, 2006, 7:13:24 PM3/8/06
to crypto...@eskimo.com

Thank you very much! The error has been eliminated by your advice!
generalz
--
View this message in context: http://www.nabble.com/crypto%2B%2B-compile-error-%2Chelp%21-t1243693.html#a3312009
Reply all
Reply to author
Forward
0 new messages