Odd linker errors
-
Hi, I'm using this libary to convert PNG's to dibs. When i use a function in this lib, however, when i try to compile it, it gives me errors like this. error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) And it gives them for a lot of functions. I do know what they mean i just don't know what to do about it.... I can compile it when i use Debug Multitread DLL. I already contacted the auther of this project by mail but he doesn't seem to respond. Thanks in advance
-
Hi, I'm using this libary to convert PNG's to dibs. When i use a function in this lib, however, when i try to compile it, it gives me errors like this. error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) And it gives them for a lot of functions. I do know what they mean i just don't know what to do about it.... I can compile it when i use Debug Multitread DLL. I already contacted the auther of this project by mail but he doesn't seem to respond. Thanks in advance
This happens if you use one setting for which runtime to use, and the lib was built using another. If it works when you use 'Debug Multithread DLL' but not when you use 'Debug Multithread', guess which one they used ;) ? Steve S [This signature space available for rent]