Boost logo

Boost Users :

From: satya_vajja (satya_vajja_at_[hidden])
Date: 2002-10-13 09:46:52


Hello,
 I have followed what you have told me and got the following errors
Could you please help me out.
.
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: virtual
__thiscall std::runtime_error::~runtime_error(void)" (??
1runtime_error_at_std@@UAE_at_XZ) already defined in exceptions.obj
msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall
std::runtime_error::runtime_error(class runtime_error::runtime_error
const &)" (??0runtime_error_at_std@@QAE_at_ABV01@@Z) already defined in
exceptions.obj
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __assert already defined in
LIBCMTD.lib(assert.obj)
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: virtual
__thiscall std::runtime_error::~runtime_error(void)" (??
1runtime_error_at_std@@UAE_at_XZ) already defined in exceptions.obj; second
definition ignored
msvcprtd.lib(MSVCP60D.dll) : warning LNK4006: "public: __thiscall
std::runtime_error::runtime_error(class runtime_error::runtime_error
const &)" (??0runtime_error_at_std@@QAE_at_ABV01@@Z) already defined in
exceptions.obj; second definition ignored
MSVCRTD.lib(MSVCRTD.dll) : warning LNK4006: __assert already defined
in LIBCMTD.lib(assert.obj); second definition ignored
   Creating library Debug/thread1.lib and object Debug/thread1.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
other libs; use /NODEFAULTLIB:library
LINK : warning LNK4049: locally defined symbol "_on_thread_exit"
imported
Debug/thread1.dll : fatal error LNK1169: one or more multiply defined
symbols found
Error executing link.exe.

thread1.dll - 4 error(s), 5 warning(s)

Thanks
satya

--- In Boost-Users_at_y..., "John Maddock" <john_maddock_at_c...> wrote:
> > I am getting the following error while i compile boost thread
library
> > under VC++ 6.0. Could any of you please help me out.
> >
> > d:\boost\boost_1_29_0\libs\thread\src\thread.cpp(107) : error
> > C2065: '_beginthreadex' : undeclared identifier
> >
> > When i define _MT compile flag the compiling error goes off but i
get
> > lot of linker errors.
>
> Well pretty obviously you have to turn on multithreading support in
your
> compiler before building the library: check out the code generation
options
> in the IDE.
>
> John Maddock
> http://ourworld.compuserve.com/homepages/john_maddock/index.htm


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net