Login  Register

Can't Build JOGL (Windows)

Posted by Matt on Nov 04, 2010; 8:44pm
URL: https://forum.jogamp.org/Can-t-Build-JOGL-Windows-tp1844552.html

I have MinGW installed and I upgraded to the latest.  I have JDK 6.0_22.  I just downloaded the latest ant.  I have the sourcecode pulled down from git as instructed.

I'm not really sure what the problem is, so here is my output,

c:\Java\jogl\jogl\make>c:\bin\apache-ant-1.8.1\bin\ant
Buildfile: c:\Java\jogl\jogl\make\build.xml

gluegen.properties.load.user:
     [echo] Loaded C:\Users\Matt/gluegen.properties.
     [echo] antlr.jar=../../gluegen/make/lib/antlr.jar
     [echo] junit.jar=../../gluegen/make/lib/junit.jar
     [echo] win32.c.compiler=mingw32

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:
     [echo] FreeBSD=${isFreeBSD}
     [echo] FreeBSDX86=${isFreeBSDX86}
     [echo] FreeBSDAMD64=${isFreeBSDAMD64}
     [echo] HPUX=${isHPUX}
     [echo] IA64=${isIA64}
     [echo] Linux=${isLinux}
     [echo] LinuxAMD64=${isLinuxAMD64}
     [echo] LinuxIA64=${isLinuxIA64}
     [echo] LinuxX86=${isLinuxX86}
     [echo] OS X=${isOSX}
     [echo] OS X PPC=${use.macosppc}
     [echo] OS X x32=true
     [echo] OS X x64=true
     [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.amd64:

gluegen.cpptasks.detect.os.freebsd.x86:

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:

nativewindow.setup-version-RI:

nativewindow.setup-version-non-RI:

jogl.setup-version-RI:

jogl.setup-version-non-RI:

newt.setup-version-RI:

newt.setup-version-non-RI:

setup-versions:

common.init:
     [echo] setup.nodesktop: ${setup.nodesktop}
     [echo] setup.noAWT: ${setup.noAWT}
     [echo] setup.noCDC: ${setup.noCDC}
     [echo] Loaded C:\Users\Matt/jogl.properties.
     [echo] Loaded C:\Users\Matt/gluegen.properties.
     [echo] antlr.jar=../../gluegen/make/lib/antlr.jar
     [echo] junit.jar=../../gluegen/make/lib/junit.jar
     [echo] javac.bootclasspath-cdc.jar: ../../gluegen/make/lib/cdc_fp.jar

init:

build.nativewindow:

gluegen.properties.load.user:

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:

gluegen.cpptasks.detect.os.freebsd.amd64:

gluegen.cpptasks.detect.os.freebsd.x86:

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:

nativewindow.setup-version-RI:

nativewindow.setup-version-non-RI:

jogl.setup-version-RI:

jogl.setup-version-non-RI:

newt.setup-version-RI:

newt.setup-version-non-RI:

setup-versions:

common.init:

base.init:
     [echo] setup.noNativeAWT: ${setup.noNativeAWT}
     [echo] java.excludes.all: ${java.excludes.awt}

declare.common:

init:

common.gluegen.build:

gluegen.properties.load.user:
     [echo] Loaded C:\Users\Matt/gluegen.properties.
     [echo] antlr.jar=../../gluegen/make/lib/antlr.jar
     [echo] junit.jar=../make/lib/junit.jar
     [echo] win32.c.compiler=mingw32

setup-excludes-1:

setup-excludes-2:

init:

java.class.path.validate:

validate:

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:
     [echo] FreeBSD=${isFreeBSD}
     [echo] FreeBSDX86=${isFreeBSDX86}
     [echo] FreeBSDAMD64=${isFreeBSDAMD64}
     [echo] HPUX=${isHPUX}
     [echo] IA64=${isIA64}
     [echo] Linux=${isLinux}
     [echo] LinuxAMD64=${isLinuxAMD64}
     [echo] LinuxIA64=${isLinuxIA64}
     [echo] LinuxX86=${isLinuxX86}
     [echo] OS X=${isOSX}
     [echo] OS X PPC=${use.macosppc}
     [echo] OS X x32=true
     [echo] OS X x64=true
     [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.amd64:

gluegen.cpptasks.detect.os.freebsd.x86:

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.build.check:

gluegen.build:

pre-build:

create-map:
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build\gensrc\java\com\jogamp\
common\util

create-map:
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build\gensrc\java\com\jogamp\
common\util

create-map:
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build\gensrc\java\com\jogamp\
common\util

create-map:
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build\gensrc\java\com\jogamp\
common\util

create-map:
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build\gensrc\java\com\jogamp\
common\util

generate.grammar:

generate.c.grammar.glib:

generate.grammar:

generate.c.grammar.glib:

generate.c.grammar.glib:

generate.grammar:
    [javac] Compiling 41 source files to c:\Java\jogl\gluegen\build\classes
    [javac] Compiling 81 source files to c:\Java\jogl\gluegen\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
      [jar] Building jar: c:\Java\jogl\gluegen\build\gluegen.jar
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build
     [copy] Copying 1 file to c:\Java\jogl\gluegen\build

gluegen.properties.load.user:

setup-excludes-1:

setup-excludes-2:

init:

java.class.path.validate:

validate:

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:

gluegen.cpptasks.detect.os.freebsd.amd64:

gluegen.cpptasks.detect.os.freebsd.x86:

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
     [echo] MingW32=true
     [echo] MingW64=${isMingW64}

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.win64.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.x86:

declare.freebsd.amd64:

declare.freebsd:

declare.hpux:

gluegen.cpptasks.configure.compiler:

c.configure:

c.build:
     [echo] Output lib name = gluegen-rt
    [mkdir] Created dir: c:\Java\jogl\gluegen\build\obj
     [echo] Compiling src/native/windows/*.c src/native/common/*.c
     [echo] user.dir=c:\Java\jogl\jogl\make
       [cc] 4 total files to be compiled.
       [cc] gcc: CreateProcess: No such file or directory

BUILD FAILED
c:\Java\jogl\jogl\make\build.xml:33: The following error occurred while executin
g this line:
c:\Java\jogl\jogl\make\build-common.xml:365: The following error occurred while
executing this line:
c:\Java\jogl\gluegen\make\build.xml:609: The following error occurred while exec
uting this line:
c:\Java\jogl\gluegen\make\build.xml:372: gcc failed with return code 1

Total time: 9 seconds