Login  Register

Gluegen Build error, build.xml:422, build.xml:447, cannot run program "gcc"

Posted by Caleb Wilson on Sep 13, 2014; 2:10am
URL: https://forum.jogamp.org/Gluegen-Build-error-build-xml-422-build-xml-447-cannot-run-program-gcc-tp4033141.html

Hi, I am trying to build Gluegen and JOGL for Java so I can learn how to use OpenGL. I was following the tutorial at http://jogamp.org/jogl/doc/HowToBuild.html  but when I tried to ant build Gluegen I got the following error message:

BUILD FAILED
E:\Programming\Java\opengl\gluegen\make\build.xml:422: The following error occured while executing this line:
E:\Programming\Java\opengl\gluegen\make\build.xml:477: Could not launch gcc: java.io.IOException: Cannot run program "gcc" (in directory "E:\Programming\Java\opengl\gluegen\build\obj"): CreateProcess error=2, The system cannot find the file specified

Information about my computer:
Windows 7, SP1
JOGL and Gluegen git cloned to path E:\Programming\Java\opengl\

Originally I deleted the contents of my opengl folder and git cloned the Gluegen and JOGL repositories a second time, but I got the same error message.
How can I resolve this issue?