Compilation error when building gluegen from source
Posted by Christopher on Mar 17, 2019; 6:52pm
URL: https://forum.jogamp.org/Compilation-error-when-building-gluegen-from-source-tp4039623.html
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 gluegen.properties is set to mingw32. I see a series of errors during the 'gluegen.build.c.impl' 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?