Hey,
I've been using 2005 to compile my plugin for a while now and only recently had to move machines and I only have 2003 installed on this new machine. At first I didn't remember having to use the lib-vc7 libs before but this time I was getting a bunch of link errors and realised I would need to so that I did.
Now after changing my lib folder to the vc7 folder I'm getting the link errors below which I've been able to compile with anyway by using /FORCE:MULTIPLE in my command line but I really don't like it! I got the switch from an article written by a guy who was compiling the SDK using Express 2005 so I was just trying it out when to my surprise it worked.
The reason for my worry even though it compiles fine is a new error which previously wasn't there before. When calling KeyValues::deleteThis I'm getting an access violation in free and it's mentioned below so my sights are set. This seems to be only problem I'm getting right now since down grading so if I can nail this I'm laughing.
Any help or suggestions would be greatfully appreciated!
Quote:
Originally Posted by Linker
zombie_mm warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
zombie_mm warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
zombie_mm error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj)
zombie_mm error LNK2005: __nh_malloc already defined in LIBCMT.lib(malloc.obj)
zombie_mm error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
zombie_mm error LNK2005: _calloc already defined in LIBCMT.lib(calloc.obj)
zombie_mm error LNK2005: _realloc already defined in LIBCMT.lib(realloc.obj)
zombie_mm error LNK2005: _free already defined in LIBCMT.lib(free.obj)
zombie_mm error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
Found __heap_alloc_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(malloc.obj)
Found __pfnAllocHook
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(dbghook.obj)
Found __CrtDbgReport
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(dbgrpt.obj)
Found __expand_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(expand.obj)
Found __realloc_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(realloc.obj)
Found __free_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Referenced in LIBCMTD.lib(realloc.obj)
Loaded LIBCMTD.lib(free.obj)
Found ___sbh_verify_block
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(sbheap.obj)
zombie_mm error LNK2005: __get_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: __set_sbh_threshold already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_heap_init already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_find_block already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_free_block already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_alloc_block already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_alloc_new_region already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_alloc_new_group already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_resize_block already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_heapmin already defined in LIBCMT.lib(sbheap.obj)
zombie_mm error LNK2005: ___sbh_heap_check already defined in LIBCMT.lib(sbheap.obj)
Found _sprintf
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(sprintf.obj)
Found __chvalidator_mt
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(isctype.obj)
zombie_mm error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
zombie_mm error LNK2005: ___isctype_mt already defined in LIBCMT.lib(isctype.obj)
Searching G:\C\hl2sdk\cstrike\lib-vc7\public\tier0.lib:
Searching G:\C\hl2sdk\cstrike\lib-vc7\public\tier1.lib:
Searching G:\C\hl2sdk\cstrike\lib-vc7\public\vstdlib.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\kernel32.lib:
Found _RtlUnwind@16
Referenced in LIBCMT.lib(trnsctrl.obj)
Referenced in LIBCMT.lib(exsup.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__ExitProcess@4
Referenced in LIBCMT.lib(secchk.obj)
Referenced in LIBCMT.lib(crt0dat.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__HeapAlloc@12
Referenced in LIBCMT.lib(pdblkup.obj)
Referenced in LIBCMTD.lib(malloc.obj)
Referenced in LIBCMTD.lib(realloc.obj)
Referenced in LIBCMTD.lib(sbheap.obj)
Referenced in LIBCMT.lib(malloc.obj)
Referenced in LIBCMT.lib(calloc.obj)
Referenced in LIBCMT.lib(realloc.obj)
Referenced in LIBCMT.lib(sbheap.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__HeapFree@12
Referenced in LIBCMTD.lib(free.obj)
Referenced in LIBCMTD.lib(sbheap.obj)
Referenced in LIBCMT.lib(free.obj)
Referenced in LIBCMT.lib(heapinit.obj)
Referenced in LIBCMT.lib(sbheap.obj)
Referenced in LIBCMT.lib(pdblkup.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetSystemTimeAsFileTime@4
Referenced in LIBCMT.lib(time.obj)
Referenced in LIBCMT.lib(seccinit.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetCurrentThreadId@0
Referenced in LIBCMT.lib(dllcrt0.obj)
Referenced in LIBCMT.lib(tidtable.obj)
Referenced in LIBCMT.lib(seccinit.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetCommandLineA@0
Referenced in LIBCMT.lib(dllcrt0.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetVersionExA@4
Refe
zombie_mm warning LNK4006: _malloc already defined in LIBCMT.lib(malloc.obj); second definition ignored
zombie_mm warning LNK4006: __nh_malloc already defined in LIBCMT.lib(malloc.obj); second definition ignored
zombie_mm warning LNK4006: __heap_alloc already defined in LIBCMT.lib(malloc.obj); second definition ignored
zombie_mm warning LNK4006: _calloc already defined in LIBCMT.lib(calloc.obj); second definition ignored
zombie_mm warning LNK4006: _realloc already defined in LIBCMT.lib(realloc.obj); second definition ignored
zombie_mm warning LNK4006: _free already defined in LIBCMT.lib(free.obj); second definition ignored
zombie_mm warning LNK4006: __msize already defined in LIBCMT.lib(msize.obj); second definition ignored
Found __heap_alloc_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(malloc.obj)
Found __pfnAllocHook
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(dbghook.obj)
Found __CrtDbgReport
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(dbgrpt.obj)
Found __expand_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(expand.obj)
Found __realloc_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(realloc.obj)
Found __free_base
Referenced in LIBCMTD.lib(dbgheap.obj)
Referenced in LIBCMTD.lib(realloc.obj)
zombie_mm warning LNK4006: __get_sbh_threshold already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: __set_sbh_threshold already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_heap_init already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_find_block already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_free_block already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_alloc_block already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_alloc_new_region already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_alloc_new_group already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_resize_block already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_heapmin already defined in LIBCMT.lib(sbheap.obj); second definition ignored
zombie_mm warning LNK4006: ___sbh_heap_check already defined in LIBCMT.lib(sbheap.obj); second definition ignored
Found _sprintf
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(sprintf.obj)
Found __chvalidator_mt
Referenced in LIBCMTD.lib(dbgheap.obj)
Loaded LIBCMTD.lib(isctype.obj)
zombie_mm warning LNK4006: __isctype already defined in LIBCMT.lib(isctype.obj); second definition ignored
zombie_mm warning LNK4006: ___isctype_mt already defined in LIBCMT.lib(isctype.obj); second definition ignored
Searching G:\C\hl2sdk\cstrike\lib-vc7\public\tier0.lib:
Searching G:\C\hl2sdk\cstrike\lib-vc7\public\tier1.lib:
Searching G:\C\hl2sdk\cstrike\lib-vc7\public\vstdlib.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\kernel32.lib:
Found __imp__GetCurrentThreadId@0
Referenced in LIBCMT.lib(dllcrt0.obj)
Referenced in LIBCMT.lib(tidtable.obj)
Referenced in LIBCMT.lib(seccinit.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetCommandLineA@0
Referenced in LIBCMT.lib(dllcrt0.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetVersionExA@4
Referenced in LIBCMT.lib(dllcrt0.obj)
Referenced in LIBCMT.lib(error.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found _RtlUnwind@16
Referenced in LIBCMT.lib(trnsctrl.obj)
Referenced in LIBCMT.lib(exsup.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__ExitProcess@4
Referenced in LIBCMT.lib(secchk.obj)
Referenced in LIBCMT.lib(crt0dat.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__HeapAlloc@12
Referenced in LIBCMT.lib(pdblkup.obj)
Referenced in LIBCMTD.lib(malloc.obj)
Referenced in LIBCMTD.lib(realloc.obj)
Referenced in LIBCMTD.lib(sbheap.obj)
Referenced in LIBCMT.lib(malloc.obj)
Referenced in LIBCMT.lib(calloc.obj)
Referenced in LIBCMT.lib(realloc.obj)
Referenced in LIBCMT.lib(sbheap.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__HeapFree@12
Referenced in LIBCMTD.lib(free.obj)
Referenced in LIBCMTD.lib(sbheap.obj)
Referenced in LIBCMT.lib(free.obj)
Referenced in LIBCMT.lib(heapinit.obj)
Referenced in LIBCMT.lib(sbheap.obj)
Referenced in LIBCMT.lib(pdblkup.obj)
Loaded kernel32.lib(KERNEL32.dll)
Found __imp__GetSystem
|
__________________