Compile Problems

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
tester

Compile Problems

Post by tester »

Been working with Irrlicht 0.5 on a map viewer and all was fine till I switched to 0.6. I recompiled the Irrlicht DLL and then recompiled my viewer application. However when it links I get the following problem:

Linking...
LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
Debug/viewer.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.

Had not seen this in irrlicht 0.5 and I was wondering if I am now missing a library somewhere or why i'm getting these conflicts now.

Tester
Tester

Fixed

Post by Tester »

Not an issue anymore, was a silly STL library conflict
Post Reply