Subject | Re: [firebird-support] Microsoft Build With IBPP - LNK2005 "already defined in ibpp.lib" |
---|---|
Author | Val Samko |
Post date | 2004-03-21T05:33:12Z |
barfingdog2004,
In VC++, in your project settings, set compile options
to MT (multithreaded). Then subscribe to the IBPP mailing
list, since you are much more likely to find IBPP related
answers there.
Val Samko
Saturday, March 20, 2004, 9:40:17 PM, you wrote:
b> The build of IBPP went fine and produced
b> both a production and release version of the
b> IBPP library.
b> When running a compile for a project to
b> build IBPP's test1.cpp example with the
b> visual C++ IDE, I'm getting 15 errors like
b> this:
b> LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free already defined in
b> MSVCRTD.lib(MSVCRTD.dll)
b> and two warnings like this:
b> LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
b> other libs; use /NODEFAULTLIB:library
b> This is a new project and the options
b> are close to their default values.
b> The conflict persisted after adding
b> LIBCMTD.lib to the project setting's
b> "Ignore libraries". I've tried to ignore
b> additional libraries but I'm a little
b> uncomfortable guessing which library to
b> ignore.
In VC++, in your project settings, set compile options
to MT (multithreaded). Then subscribe to the IBPP mailing
list, since you are much more likely to find IBPP related
answers there.
Val Samko
Saturday, March 20, 2004, 9:40:17 PM, you wrote:
b> The build of IBPP went fine and produced
b> both a production and release version of the
b> IBPP library.
b> When running a compile for a project to
b> build IBPP's test1.cpp example with the
b> visual C++ IDE, I'm getting 15 errors like
b> this:
b> LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free already defined in
b> MSVCRTD.lib(MSVCRTD.dll)
b> and two warnings like this:
b> LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of
b> other libs; use /NODEFAULTLIB:library
b> This is a new project and the options
b> are close to their default values.
b> The conflict persisted after adding
b> LIBCMTD.lib to the project setting's
b> "Ignore libraries". I've tried to ignore
b> additional libraries but I'm a little
b> uncomfortable guessing which library to
b> ignore.