MSVC从SysWOW64为我的86x应用程序加载DLL

时间:2015-03-10 15:26:13

标签: c++ dll

您好!

我是C ++的佼佼者,我一直在努力编译一个开源应用程序86x。好吧,面对很多错误和问题。我终于生成了.exe,但是当我尝试打开时,它崩溃了。 所以,我注意到MSVC正在为64系统加载DLL,纠正我如果我错了,并且它没有加载来自SDL.dll和gmp.dll的符号,我也是认为它没有在xxxx.exe中添加符号(已发布)。 然后,它以错误(0x1)退出,这意味着出现了问题。

请帮帮我! :)

继承编译器重新发送信息:

 'xxxx.exe' (Win32): Loaded 'C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Release\xxxx.exe'. Module was built without symbols.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Release\SDL.dll'. Module was built without symbols.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ddraw.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dciman32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Release\SDL_gfx.dll'. Symbols loaded.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Release\gmp.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcr90.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcp90.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\apphelp.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\apphelp.dll'
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Loading disabled by Include/Exclude setting.
    'xxxx.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ole32.dll'
    The program '[4468] xxxx.exe' has exited with code 1 (0x1).

债券信息:

error LNK1120: 4 unresolved externals   C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Debug\xxxx.exe 
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ)    C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(fonts.obj)
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ)    C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(list.obj)
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ)   C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(fonts.obj)
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ)   C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(list.obj)c
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)  C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(fonts.obj)
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)  C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(messagebox.obj)
error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)  C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(fonts.obj)
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<class glictContainer *> >::_Container_base_aux_alloc_empty<class std::allocator<class glictContainer *> >(class std::allocator<class glictContainer *>)" (??0?$_Container_base_aux_alloc_empty@V?$allocator@PAVglictContainer@@@std@@@std@@IAE@V?$allocator@PAVglictContainer@@@1@@Z)  C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(container.obj)
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<class glictContainer *> >::~_Container_base_aux_alloc_empty<class std::allocator<class glictContainer *> >(void)" (??1?$_Container_base_aux_alloc_empty@V?$allocator@PAVglictContainer@@@std@@@std@@IAE@XZ)   C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(container.obj)
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z) referenced in function "public: __thiscall glictContainer::glictContainer(void)" (??0glictContainer@@QAE@XZ) C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(container.obj)
error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ) referenced in function "protected: void __thiscall std::vector<class glictContainer *,class std::allocator<class glictContainer *> >::_Tidy(void)" (?_Tidy@?$vector@PAVglictContainer@@V?$allocator@PAVglictContainer@@@std@@@std@@IAEXXZ)   C:\Users\Xabirau\Documents\Visual Studio 2013\Projects\Win32Project1\Win32Project1\GLICT_mtd.lib(container.obj)

1 个答案:

答案 0 :(得分:0)

SysWow64是64位Windows操作系统上的32位Windows子系统。这部分是预期的。

因此,错误可能是程序中某处的普通错误。在调试器中运行它 - 是的,发布版本也可以在调试器中运行。