Reply – Compilation error when building gluegen from source
Your Name
or Cancel
In Reply To
Compilation error when building gluegen from source
— by Christopher Christopher
I'm getting a compiler error when attempting to build gluegen from source on Windows 10. I'm using mingw-w64 and the win32.c.compiler flag in is set to mingw32. I see a series of errors during the '' phase of the form:

[cc] C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32

The error appears numerous times, also when searching for other arguments like -lgcc, -lgcc_eh, -lmoldname, -lmingwex, -lmsvcrt ... the list goes on.

Any idea what the problem is?