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

后端 未结 2 1287
说谎
说谎 2021-01-12 06:21

I\'m on Windows 7 64-bit, and I\'m compiling with g++ from MinGW-W64.

I\'m trying to compile an application that I wrote on a Unix computer. I\'m running into proble

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 06:54

    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.

提交回复
热议问题