MinGW-W64 linker skipping incompatible files when searching for third-party static libraries

ぐ巨炮叔叔 提交于 2019-12-01 04:32:33

The problem was likely that the libraries were compiled with VC++, so they apparently aren't compatible with GCC. They link fine using Microsoft's link.exe.

From the message dumped from objdump.exe, the lib you need to link with is 32-bit, and the *.o files generated from the gcc (x64) is 64-bit, so is incompatible. I think you need to install MinGW 32-bit version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!