kdebase compile problem

Ralf Habacker ralf.habacker at freenet.de
Thu Dec 6 09:33:23 CET 2007


While compiling recent kdebase I got a compile error with msvc, which 
indicates that one ore more libraries requries the static msvc runtime 
LIBCMT  (it uses the /MT compile option) instead of using /MD

Linking CXX executable ..\..\bin\knetattach.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall 
type_info::type_info(class type_info const &)" 
(??0type_info@@AAE at ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & 
__thiscall type_info::operator=(class type_info const &)" (??4type_info 
@@AAEAAV0 at ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
   Creating library ..\..\bin\knetattach.lib and object 
..\..\bin\knetattach.exp
LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' 
conflicts with use of other libs; use /NODEFAULTLIB:library
..\..\bin\knetattach.exe : fatal error LNK1169: one or more multiply 
defined symbols found

The question is: Does anyone know a way to find out which library is 
compile with /MT ?

Ralf




More information about the Kde-windows mailing list