Subject | Microsoft Build With IBPP - LNK2005 "already defined in ibpp.lib" |
---|---|
Author | barfingdog2004 |
Post date | 2004-03-20T21:40:17Z |
Hi Folks:
Development environment - Win2K, MSVC.
The build of IBPP went fine and produced
both a production and release version of the
IBPP library.
When running a compile for a project to
build IBPP's test1.cpp example with the
visual C++ IDE, I'm getting 15 errors like
this:
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free already defined in
MSVCRTD.lib(MSVCRTD.dll)
and two warnings like this:
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
other libs; use /NODEFAULTLIB:library
This is a new project and the options
are close to their default values.
The conflict persisted after adding
LIBCMTD.lib to the project setting's
"Ignore libraries". I've tried to ignore
additional libraries but I'm a little
uncomfortable guessing which library to
ignore.
Suggestions?
Thanks
Larry
Development environment - Win2K, MSVC.
The build of IBPP went fine and produced
both a production and release version of the
IBPP library.
When running a compile for a project to
build IBPP's test1.cpp example with the
visual C++ IDE, I'm getting 15 errors like
this:
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free already defined in
MSVCRTD.lib(MSVCRTD.dll)
and two warnings like this:
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
other libs; use /NODEFAULTLIB:library
This is a new project and the options
are close to their default values.
The conflict persisted after adding
LIBCMTD.lib to the project setting's
"Ignore libraries". I've tried to ignore
additional libraries but I'm a little
uncomfortable guessing which library to
ignore.
Suggestions?
Thanks
Larry