Login  Register

Re: Error building joal libraries?

Posted by Michael Bien on Jul 08, 2010; 10:54pm
URL: https://forum.jogamp.org/Error-building-joal-libraries-tp952595p953107.html

thats strange. It looks right at the first glance.
system is properly detected and the declare.foo targets are run. for some reason it declare.win32.mingw not which means isMingw is not yet set at this point....

well at least you know a workaround :)

ebiglari wrote
Buildfile: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make\build.xml

load.user.properties:
     [echo] Loaded C:\Documents and Settings\Ehren/joal.properties. (optionally)

gluegen.properties.load.user:
     [echo] Loaded C:\Documents and Settings\Ehren/gluegen.properties.
     [echo] antlr.jar=C:/javalibs/antlr/antlr-3.2.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] 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:

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:

base.init:

setup.java.home.dir.nonmacosx:

setup.java.home.dir.macosx:

setup.java.home.dir:

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}

declare.common:

clean:

clean:

load.user.properties:
     [echo] Loaded C:\Documents and Settings\Ehren/joal.properties. (optionally)

gluegen.properties.load.user:

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:

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:

base.init:

setup.java.home.dir.nonmacosx:

setup.java.home.dir.macosx:

setup.java.home.dir:

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}

declare.common:

init:

antlr.jar.validate:

java.home.dir.validate:

test.for.jogl.jar:

java.class.path.validate:

validate:
    [mkdir] Created dir: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\gensrc\classes
    [mkdir] Created dir: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\gensrc\native\joal
    [mkdir] Created dir: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\classes
    [mkdir] Created dir: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\obj
    [mkdir] Created dir: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\obj\joal

declare.win32.vc6:

declare.win32.vc7:

declare.win32.vc8:

declare.win32.vc8_x64:

declare.win32.mingw:

declare.win32:

declare.linux.x86:

declare.linux.amd64:

declare.linux.ia64:

declare.linux:

declare.solaris32:

declare.macosx.ppc:

declare.macosx.universal:

declare.macosx:

declare.freebsd:

declare:

all:

load.user.properties:
     [echo] Loaded C:\Documents and Settings\Ehren/joal.properties. (optionally)

gluegen.properties.load.user:

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:

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:

base.init:

setup.java.home.dir.nonmacosx:

setup.java.home.dir.macosx:

setup.java.home.dir:

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}

declare.common:

init:

antlr.jar.validate:

java.home.dir.validate:

test.for.jogl.jar:

java.class.path.validate:

validate:

build.gluegen:

gluegen.properties.load.user:
     [echo] Loaded C:\Documents and Settings\Ehren/gluegen.properties.
     [echo] antlr.jar=C:/javalibs/antlr/antlr-3.2.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] 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:

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:

junit.compile:

gluegen.properties.load.user:

init:

java.class.path.validate:

validate:
     [echo] test.base.dir: ../src/junit
     [echo] test.junit.dir: ../src/junit/com/jogamp
     [echo] test.junit.generation.dir: ../src/junit/com/jogamp/gluegen/test/junit/generation
     [echo] test.dir: ../build/test
     [echo] results: ../build/test/results
     [echo] build_t: ../build/test/build
     [echo] build_t.gen: ../build/test/build/gensrc
     [echo] build_t.java: ../build/test/build/classes
     [echo] build_t.obj: ../build/test/build/obj
     [echo] build_t.lib: ../build/test/build/natives

junit.compile.check:

junit.compile:

all:

java.generate.check:

java.generate:
  [gluegen] [WARNING com.sun.gluegen.CMethodBindingEmitter]: No capacity specified for java.nio.Buffer return value for function "dispatch_alcCaptureOpenDevice" assuming size of equivalent C return type (sizeof(ALCdevice *)): ALCdevice dispatch_alcCaptureOpenDevice(java.nio.ByteBuffer devicename, int frequency, int format, int buffersize)
     [echo]
     [echo] GlueGen has successfully generated files.

java.compile:
    [javac] Compiling 32 source files to C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\classes

setup-version-string-release:

setup-version-string-prerelease:

setup-version-string:

jar:
     [copy] Copying 1 file to C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make
      [jar] Building MANIFEST-only jar: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\build\joal.jar
   [delete] Deleting: C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make\tempversion

c.build.joal:

load.user.properties:
     [echo] Loaded C:\Documents and Settings\Ehren/joal.properties. (optionally)

gluegen.properties.load.user:

gluegen.cpptasks.initialize:

gluegen.cpptasks.detect.os.1:

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:

base.init:

setup.java.home.dir.nonmacosx:

setup.java.home.dir.macosx:

setup.java.home.dir:

gluegen.cpptasks.configure.compiler:

c.configure:

c.build:
C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make>ant clean all > "c:\Documents and Settings\Ehren\joal_build.log"

BUILD FAILED
C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make\build.xml:700: The following error occurred while executing this line:
C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make\build.xml:517: The following error occurred while executing this line:
C:\Documents and Settings\Ehren\My Documents\NetBeansProjects\joal\make\build.xml:462: Requires '${compiler.cfg.id}'

Total time: 4 seconds