Randy
Member
|
How to compile with 'Use MFC in a Static Library' ?
How to compile EE based application with 'Use MFC in a Static Library' ?
VS linker returns 430 errors )
Code:
Error 1 error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(mbctype.obj) client
Error 2 error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(localref.obj) client
Error 3 error LNK2019: unresolved external symbol __imp__InterlockedIncrement@4 referenced in function ___lc_lctostr D:\gamedev\MagiCraft\client\client\libcmt.lib(setlocal.obj) client
Error 4 error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4 D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(Memory.obj) client
Error 5 error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4 D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(WE.obj) client
Error 6 error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4 D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(WE Build.obj) client
Error 7 error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(tidtable.obj) client
Error 8 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(initctyp.obj) client
Error 9 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(setlocal.obj) client
Error 10 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(inittime.obj) client
Error 11 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(initnum.obj) client
Error 12 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(initmon.obj) client
Error 13 error LNK2019: unresolved external symbol __imp__InterlockedDecrement@4 referenced in function "void __cdecl EE::ThreadedDec(int &)" (?ThreadedDec@EE@@YAXAAH@Z) D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(Memory.obj) client
Error 14 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(tidtable.obj) client
Error 15 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(mbctype.obj) client
Error 16 error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4 D:\gamedev\MagiCraft\client\client\libcmt.lib(localref.obj) client
Error 17 error LNK2019: unresolved external symbol __imp__GlobalMemoryStatusEx@4 referenced in function "public: bool __thiscall EE::MemStats::get(void)" (?get@MemStats@EE@@QAE_NXZ) D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(Memory.obj) client
Error 18 error LNK2019: unresolved external symbol __imp__ChangeDisplaySettingsW@8 referenced in function "bool __cdecl EE::SetDisplayMode(bool)" (?SetDisplayMode@EE@@YA_N_N@Z) D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(Display.obj) client
Error 19 error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "public: void __thiscall EE::Display::getGamma(void)" (?getGamma@Display@EE@@QAEXXZ) D:\gamedev\MagiCraft\client\client\EsenthelEngine.lib(Display.obj) client
With 'Use Standard Windows Libraries' option selected program compiles ok and works fine, but on other computers (with no VS 2010 installed), wants a MSVCR100D.dll library.
|
|
09-19-2011 08:58 PM |
|