Login  Register

Re: Processing P3D, Raspberry Pi, OpenGL doesn't work

Posted by Xerxes Rånby on Jul 17, 2015; 7:05pm
URL: https://forum.jogamp.org/Processing-P3D-Raspberry-Pi-OpenGL-doesn-t-work-tp4034928p4034933.html

For each project you want to build its crucial to familiarize yourself with the projects build instructions, it is likely that your system is configured slightly different compared to how the projects developers have organized their build machines and each difference in the setup may break the build.

In processing's case you shall read the
https://github.com/processing/processing/wiki/Build-Instructions

To build processing 3 you fist need to checkout the processing 3 source code and switch to my branch
git clone https://github.com/xranby/processing
cd processing
git checkout arm-3.0-rebased

the processing build instructions for linux can be summarized by using a linux machine and running:
cd processing/build
ant

the generated processing image is found in
processing/build/linux/work
we are especially interested in the jars that are found inside
processing/build/linux/work/core/library/
here you will find all the jogamp jar's and the processing core.jar
only the core.jar got built during the above mentioned build process.

if you have downloaded processing 3 then you can simply replace the core.jar to test the new functionality.

if you for some reason need to change any of the jogamp jars then you need to build jogamp jogl from source using jogamp's build process,
http://jogamp.org/jogl/doc/HowToBuild.html
...or wait for jogamp's build bots to build and publish the next release and then copy the new jars into you processing/core/library folder