使用MSYS2安装程序安装的mingw-w64版本4.9.1,我正在构建一个DLL,并使用-lws2_32选项将其链接到ws2_32.dll。但是,mingw-w64找不到这个名字的ws2_32.dll:
*** Warning: linker path does not have real file for library -lws2_32如果我进入C:\Windows\system32并将ws2_32.dll复制
我在64位的windows7机器上使用32位python 2.7。当我打包应用程序时,py2exe警告我需要打包system32目录中的几个DLL。构建的可执行文件现在无法在目标机器上运行: windows XP (32位)和windows Vista (32位),并显示消息说C:\myapp\bin\WS2_32.dll已损坏,我需要对照Windows检查: WIndows 7 64位: system32目录<em