Login  Register

Re: Incorrect context on GLCanvas drawable

Posted by Martin on Nov 09, 2021; 11:50am
URL: https://forum.jogamp.org/Incorrect-context-on-GLCanvas-drawable-tp4041391p4041473.html

Hi Julien,

I built for MacOS 10, 11 and Ubuntu 20 successfully, so I just started building for Win10/64bit.

I got stucked on a link error while building Gluegen, maybe you already encountered this and have a suggestion?

gluegen.build.c.impl:
     [echo] clearing gluegen.build.shasum.done (2) - was ${gluegen.build.shasum.done}
     [echo] Output lib name = gluegen_rt -> gluegen_rt.dll [shared]
     [echo] Compiling src/native/windows/*.c src/native/common/*.c
     [echo] user.dir=C:\Users\Martin\Dev\jzy3d\external\jogamp\gluegen\make
       [cc] Starting dependency analysis for 7 files.
       [cc] 7 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.
       [cc] Starting link
       [cc] C:/Mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/bin/ld.exe: unrecognised emulation mode: i386pep
       [cc] Supported emulations: i386pe
       [cc] collect2.exe: error: ld returned 1 exit status

The full build output is here.

By the way, where should we add the C code you mention?

Cheers