Login  Register

Cannot build jogl-2.1.1

Posted by Gerco Ballintijn on Oct 27, 2013; 9:34am
URL: https://forum.jogamp.org/Cannot-build-jogl-2-1-1-tp4030392.html

Hi,

I'm trying to locally build JOGL 2.1.1 on Windows 7 using MinGW, but the build fails unfortunately. Gluegen builds fine. In particular, the JOGL build fails while compiling libav.
The output is:

>
> c.build.jogl.prepare:
>      [echo] Output lib name = jogl_ffmpegv08
>      [echo] Compiling jogl_ffmpegv08
>        [cc] Starting dependency analysis for 3 files.
>        [cc] 3 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 1 total files to be compiled.
>        [cc] cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
>        [cc] C:\Users\gerco\Workspaces\JOGL\workspace-jogl-2.1.1\jogl\src\jogl\native\libav\ffmpeg_dshow.c:39:21: fatal error: strsafe.h: No such file or directory
>        [cc] compilation terminated.
>
> BUILD FAILED
> C:\Users\gerco\Workspaces\JOGL\workspace-jogl-2.1.1\jogl\make\build.xml:75: The following error occurred while executing this line:
> C:\Users\gerco\Workspaces\JOGL\workspace-jogl-2.1.1\jogl\make\build-jogl.xml:1661: The following error occurred while executing this line:
> C:\Users\gerco\Workspaces\JOGL\workspace-jogl-2.1.1\jogl\make\build-jogl.xml:1468: gcc failed with return code 1
>
> Total time: 8 seconds
>

I'm using the MinGW downloaded via the link from the JOGL build page. Am I missing some dependency?

Cheers,
Gerco.