Login  Register

Re: Jogl won't build on OS X 10.6.4

Posted by Cork on Nov 26, 2010; 12:01pm
URL: https://forum.jogamp.org/Jogl-won-t-build-on-OS-X-10-6-4-tp1825078p1972384.html

command line: yes it was strange, 'mvn package' just didn't work until I tried 'ant' ;)

But may I suggest updating the following page:

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

from:
Optional Copy and edit gluegen.properties:
to :
Copy gluegen.properties (and optionally edit):


And inside the properties file:
This file shall be copied into your home directory
to:
This file must be copied into your home directory

It wasn't clear from the console log that this might be the problem... instead of the false loading messsage, maybe a check if the file exists:

http://stackoverflow.com/questions/520546/ant-task-to-check-if-a-file-exists

Well at least I'm down to the next errors now :)

    [javac] /Users/peter/jogamp/jogl/build/nativewindow/gensrc/classes/com/jogamp/nativewindow/impl/windows/BITMAPINFOHEADER.java:9: package com.jogamp.common.os does not exist
    [javac] import com.jogamp.common.os.*;
    [javac] ^
    [javac] 100 errors