Unable to build from source

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to build from source

timmattison
Using the instructions from here - http://jogamp.org/jocl/doc/HowToBuild.html - I came up with a build process that should build everything for me but fails with the following errors:

java.compile.javase:
    [javac] Compiling 83 source files to /Users/timmattison/Downloads/java-vision/jogamp/jogl/build/newt/classes
    [javac] /Users/timmattison/Downloads/java-vision/jogamp/jogl/src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java:31: package jogamp.common.os.android does not exist
    [javac] import jogamp.common.os.android.StaticContext;

I can see that it's trying to start building some Android code but I don't see any easy way to turn it off (all attempts at giving ant -D options has failed).  Is there an option to do this?  If not, how can I get it to see my Android SDK and build?  Ideally I would like to have the option to build both but right now I don't need Android just yet.

Here are the steps I went through that worked:

mkdir jogamp
cd jogamp
git clone git://jogamp.org/srv/scm/gluegen.git gluegen
git clone git://jogamp.org/srv/scm/jogl.git jogl
git clone git://jogamp.org/srv/scm/jocl.git jocl
unset CLASSPATH
cd gluegen/make && ant

Here's the step that failed and started printing out error messages:

cd ../../jogl/make && ant

Any help would be great.  Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build from source

Rami Santina
Administrator

You can use the scripts in the make folder..to build instead of directly calling ant... At least you can see the dependencies (edit them to ur locations)

Reply | Threaded
Open this post in threaded view
|

Re: Unable to build from source

Sven Gothel
Administrator
On 06/08/2012 10:07 PM, Rami Santina [via jogamp] wrote:
> You can use the scripts in the make folder..to build instead of directly
> calling ant... At least you can see the dependencies (edit them to ur locations)
>

Yup, thx Rami & Tim.

Nevertheless, we will fix this soon.

~Sven


signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build from source

Sven Gothel
Administrator
In reply to this post by Rami Santina
On 06/13/2012 02:24 PM, Sven Gothel wrote:
> On 06/08/2012 10:07 PM, Rami Santina [via jogamp] wrote:
>> You can use the scripts in the make folder..to build instead of directly
>> calling ant... At least you can see the dependencies (edit them to ur locations)
>>
>
> Yup, thx Rami & Tim.
>
> Nevertheless, we will fix this soon.
>

https://jogamp.org/bugzilla/show_bug.cgi?id=583

Fixed!

> ~Sven


signature.asc (910 bytes) Download Attachment