Hello everyone,
I have been tryng to build JOGL for the last few days. When I reach step 8 o f the build instructions (http://download.java.net/media/jogl/doc/HowToBuild.html), here is the answer I get:
C:\Users\Alex\shaders\jogl\make>ant
Buildfile: build.xml
init:
build.nativewindow:
base.init:
[echo] setup.cdcfp: ${setup.cdcfp}
[echo] setup.noAWT: ${setup.noAWT}
[echo] javac.bootclasspath.jar: ${javac.bootclasspath.jar}
[echo] setup.noX11WindowsMacOsX: ${setup.noX11WindowsMacOsX}
[echo] setup.noX11: ${setup.noX11}
[echo] setup.noWindows: ${setup.noWindows}
[echo] setup.noMacOsX: ${setup.noMacOsX}
[echo] java.excludes.all: ${java.excludes.awt}, ${java.excludes.win}, ${jav
a.excludes.macosx}, ${java.excludes.cdcfp}
base.init.sourcelevel.1:
load.user.properties:
[echo] Loaded C:\Users\Alex/nativewindow.properties.
[echo] Loaded C:\Users\Alex/gluegen.properties.
[echo] antlr.jar=C:/Users/Alex/antlrworks-1.3.1.jar
declare.common:
init:
antlr.jar.validate:
java.class.path.validate:
validate:
build.gluegen:
load.user.properties:
[echo] Loaded C:\Users\Alex/gluegen.properties.
[echo] antlr.jar=C:/Users/Alex/antlrworks-1.3.1.jar
setup-excludes-1:
setup-excludes-2:
init.javame.cdc.fp:
init:
antlr.jar.validate:
java.class.path.validate:
validate:
setup.javase:
setup.javame.cdc.fp:
gluegen.build:
generate.grammar:
generate.c.grammar.glib:
generate.grammar:
generate.c.grammar.glib:
generate.c.grammar.glib:
generate.grammar:
gluegen.rebuild.gluegen-rt:
build.nativelibrary:
gluegen.cpptasks.detect.os.1:
[echo] FreeBSD=${isFreeBSD}
[echo] HPUX=${isHPUX}
[echo] IA64=${isIA64}
[echo] Linux=${isLinux}
[echo] LinuxAMD64=${isLinuxAMD64}
[echo] LinuxIA64=${isLinuxIA64}
[echo] LinuxX86=${isLinuxX86}
[echo] OS X=${isOSX}
[echo] Solaris=${isSolaris}
[echo] Solaris32Bit=${isSolaris32Bit}
[echo] SolarisSparc=${isSolarisSparc}
[echo] SolarisSparcv9=${isSolarisSparcv9}
[echo] SolarisAMD64=${isSolarisAMD64}
[echo] SolarisX86=${isSolarisX86}
[echo] Unix=${isUnix}
[echo] Windows=true
[echo] X11=${isX11}
gluegen.cpptasks.detect.os.freebsd:
gluegen.cpptasks.detect.os.hpux:
gluegen.cpptasks.detect.os.linux.amd64:
gluegen.cpptasks.detect.os.linux.ia64:
gluegen.cpptasks.detect.os.linux.x86:
gluegen.cpptasks.detect.os.linux:
gluegen.cpptasks.detect.os.osx:
gluegen.cpptasks.detect.os.solaris.sparc:
gluegen.cpptasks.detect.os.solaris.sparcv9:
gluegen.cpptasks.detect.os.solaris.amd64:
gluegen.cpptasks.detect.os.solaris.x86:
gluegen.cpptasks.detect.os.solaris:
gluegen.cpptasks.detect.os.unix:
gluegen.cpptasks.detect.os.windows.amd64:
gluegen.cpptasks.detect.os.windows.x86:
gluegen.cpptasks.detect.os.windows:
gluegen.cpptasks.detect.os.2:
gluegen.cpptasks.detect.os:
gluegen.cpptasks.detect.compiler:
[echo] VC6=${isVC6}
[echo] VC7=${isVC7}
[echo] VC8=${isVC8}
[echo] VC8_X64=${isVC8_X64}
[echo] VC9=${isVC9}
[echo] MingW=true
load.user.properties:
setup.java.home.dir.nonmacosx:
setup.java.home.dir.macosx:
setup.java.home.dir:
declare.win32.vc6:
declare.win32.vc7:
declare.win32.vc8:
declare.win32.vc8_x64:
declare.win32.vc9:
declare.win32.mingw:
[echo] Win32.MingW
declare.win32:
declare.linux.x86:
declare.linux.amd64:
declare.linux.ia64:
declare.linux:
declare.solaris32:
declare.solarisSparcv9:
declare.solarisAMD64:
declare.solaris:
declare.macosx:
declare.freebsd:
declare.hpux:
gluegen.cpptasks.configure.compiler:
c.configure:
c.build:
[echo] Output lib name = gluegen-rt
[echo] Compiling src/native/windows/*.c
[echo] user.dir=C:\Users\Alex\shaders\jogl\make
[cc] 1 total files to be compiled.
BUILD FAILED
C:\Users\Alex\shaders\jogl\make\build.xml:70: The following error occurred while
executing this line:
C:\Users\Alex\shaders\jogl\make\build-nativewindow.xml:326: The following error
occurred while executing this line:
C:\Users\Alex\shaders\gluegen\make\build.xml:492: The following error occurred w
hile executing this line:
C:\Users\Alex\shaders\gluegen\make\build.xml:402: The following error occurred w
hile executing this line:
C:\Users\Alex\shaders\gluegen\make\build.xml:366: Could not launch gcc: java.io.
IOException: Cannot run program “gcc” (in directory “C:\Users\Alex\shaders\glueg
en\build\obj”): CreateProcess error=2, Le fichier spÚcifiÚ est introuvable
Total time: 2 seconds
I have installed mingw (otherwise the first steps of the build wouldn’t have worked) with all the compilers and I thought it included a gcc compiler. Do I need to point it out in a PATH or some sort of environment variable?
Thank you in advance for any help.