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

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


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.


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.