JOGL make fails on Windows 7 / cygwin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL make fails on Windows 7 / cygwin

mperdikeas
Hi,

I am trying to build JOGL on a Windows 7 machine from cygwin and am following the build steps as described in:

http://jogamp.org/jogl/doc/HowToBuild.html

The first build (the one at gluegen/make) fails with the following message:
BUILD FAILED
C:\EclipseWorkspaces\JOGL\gluegen\make\build.xml:409: The following error occurred while executing this line:
C:\EclipseWorkspaces\JOGL\gluegen\make\build.xml:444: Could not launch gcc: java.io.IOException: Cannot run program "gcc" (in directory "C:\EclipseWorkspaces\JOGL\gluegen\build\obj"): CreateProcess error=5, Access is denied

The second build (the one at jogl/make) fails with what also seems to be a similar message:
C:\EclipseWorkspaces\JOGL\jogl\make\build.xml:73: The following error occurred while executing this line:
C:\EclipseWorkspaces\JOGL\jogl\make\build-common.xml:513: The following error occurred while executing this line:
C:\EclipseWorkspaces\JOGL\gluegen\make\build.xml:409: The following error occurred while executing this line:
C:\EclipseWorkspaces\JOGL\gluegen\make\build.xml:444: Could not launch gcc: java.io.IOException: Cannot run program "gcc" (in directory "C:\EclipseWorkspaces\JOGL\gluegen\build\obj"): CreateProcess error=5, Access is denied

gcc however is available in cygwin. Moreover I found a similar posting at:
http://forum.jogamp.org/Fail-to-compile-gluegen-v2-0-rc2-td2910008.html
But unlike the suggestion at the end of the thread (that it's somehow related to the use of Cygwin's symbolic link), the problem persists even when I replaced the link with the actual gcc executable (copying it from /usr/bin/gcc-3.exe and renaming it to /usr/bin/gcc).
Reply | Threaded
Open this post in threaded view
|

Re: JOGL make fails on Windows 7 / cygwin

Sven Gothel
Administrator
On Thursday, December 01, 2011 12:37:48 PM mperdikeas [via jogamp] wrote:
>
> Hi,
>
> I am trying to build JOGL on a Windows 7 machine from cygwin and am
> following the build steps as described in:
>
> http://jogamp.org/jogl/doc/HowToBuild.html

MINGW MINGW MINGW ...

Then you may use the scripts (patch them for your needs):
  scripts/make.jogl.all.win32.bat
  scripts/make.jogl.all.win64.bat

I use cygwin only as my command shell .. but we don't build w/ it.

~Sven