|
-
March 15th, 2002, 09:27 PM
#1
linking with static mfc library
Hi
my application runs fine when i run using mfc in shared dll. But when i switch to use mfc in static linking it give some linking problems.Im using some external libraries also.
The linking errors look some thing like this..
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __free_dbg
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __malloc_dbg
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtSetAllocHook
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtSetDbgFlag
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __CrtSetDbgFlag
nafxcwd.lib(dumpinit.obj) : error LNK2001: unresolved external symbol __CrtSetDbgFlag
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtSetBreakAlloc
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtCheckMemory
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtIsMemoryBlock
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtMemDifference
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtMemDumpStatistics
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtMemCheckpoint
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtMemDumpAllObjectsSince
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtDoForAllClientObjects
nafxcwd.lib(afxmem.obj) : error LNK2001: unresolved external symbol __CrtDumpMemoryLeaks
nafxcwd.lib(dumpinit.obj) : error LNK2001: unresolved external symbol __CrtDumpMemoryLeaks
nafxcwd.lib(olesvr2.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oleipfrm.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olelink.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olecli2.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oledoctg.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oledocvw.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olesvr1.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oledlgs1.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olestrm.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oledoc1.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olecli1.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oledisp2.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oletyplb.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olemisc.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olefact.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(occcont.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(occsite.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(oledisp1.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(olevar.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(doccore.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(filecore.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(afxasert.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(dumpcont.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
nafxcwd.lib(dumpinit.obj) : error LNK2001: unresolved external symbol __CrtSetReportMode
nafxcwd.lib(dumpinit.obj) : error LNK2001: unresolved external symbol __CrtSetReportHook
nafxcwd.lib(dumpinit.obj) : error LNK2001: unresolved external symbol __CrtSetDumpClient
Any help is greately appreciated,
Thanks
shashi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|