
Hi, I have linking error while trying to build app with regex. Anybody cam help? thanks --------------------Configuration: TelephonyController - Win32 Release-------------------- Linking... msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::logic_error::~logic_error(void)" (??1logic_error@std@@UAE@XZ) already defined in ActASRMediaSignalEvent.obj msvcprt.lib(MSVCP60.dll) : warning LNK4006: "public: virtual __thiscall std::logic_error::~logic_error(void)" (??1logic_error@std@@UAE@XZ) already defined in ActASRMediaSignalEvent.obj; second definition ignored Creating library ../../../binaries/Release/TelephonyController.lib and object ../../../binaries/Release/TelephonyController.exp ../../../binaries/Release/TelephonyController.dll : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe. TelephonyController.dll - 2 error(s), 1 warning(s) Serge blazhiev@yahoo.com

Serhiy Blazhiyevskyy wrote:
Hi,
I have linking error while trying to build app with regex. Anybody cam help?
I've no real idea, but since you're building a dll you should double check that you're linking against one of the dll runtimes. You could also try linking against the regex dll by define BOOST_ALL_DYN_LINK when building your dll. John.
participants (2)
-
John Maddock
-
Serhiy Blazhiyevskyy