Posted by
Xerxes Rånby on
Jan 24, 2015; 3:35pm
URL: https://forum.jogamp.org/env-TARGET-PLATFORM-ROOT-usr-lib-does-not-exist-tp4033904p4033911.html
The HowToBuild.html unfortunately only cover GNU Linux x86, 32- and
64-bit, this document needs to be updated to also cover ARM 32bit builds.
ARM builds can be performed using cross compilation and native compilation.
in both cases the system environment variable TARGET_PLATFORM_ROOT has to
be set and point to the root location of your arm system before running ant
if you compile directly on your iMX6 board TARGET_PLATFORM_ROOT shall be
set to / this is done by running the following command.
export TARGET_PLATFORM_ROOT=/
The jogamp team uses the build scripts
gluegen/make/scripts/make.gluegen.all.linux-armv6hf.sh
jogl/make/scripts/make.jogl.all.linux-armv6hf.sh
found inside the make directory to perform native builds
the following two scripts
gluegen/make/scripts/make.gluegen.all.linux-armv6hf-cross.sh
jogl/make/scripts/make.jogl.all.linux-armv6hf-cross.sh
to perform cross compile builds.
Run the scripts from inside the gluegen make directory
cd gluegen/make
sh scripts/make.gluegen.all.linux-armv6hf.sh
and similar from inside the jogl make directory
cd jogl/make
sh scripts/make.jogl.all.linux-armv6hf.sh
TARGET_PLATFORM_ROOT will be set correctly by the script and your build will succeed.
good luck!
The prebuilt armv6hf natives provided by jogamp shall work on your armv7hf system
Cheers
Xerxes
2015-01-23 18:48 GMT+01:00 schnabelvieh [via jogamp] <
ml-node+s762907n4033904h87@n3.nabble.com>:
> Hello again,
>
> my second post. I've been busy with compiling jogl on an armv7hf (iMX6,
> udoo board).
> Unfortunately I'm not that succesfull:
>
> I've followed the instructions on
>
http://jogamp.org/jogl/doc/HowToBuild.html>
> but ant finished with:
>
> -----------------------------------
> jogamp/jogl/make/${env.TARGET_PLATFORM_ROOT}/usr/lib does not exist.
> -----------------------------------
>
> I've found a bugfix,
https://jogamp.org/bugzilla/show_bug.cgi?id=650 and
> applied it.
>
> Unfortunately this didn't work ether. The bugfix is from 2013, so I assume
> it is was somehow included into the source tree. Thus applying it, wouldn't
> make that much sense and I guess that is the reason why the bugfix doesn't
> work anymore.
>
> Mmmm, well to be honest, I don't know what to do else.
>
> Can somebody give me a hint?
>
> Thanks in advance,
> schnabelvieh
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
>
http://forum.jogamp.org/env-TARGET-PLATFORM-ROOT-usr-lib-does-not-exist-tp4033904.html> To start a new topic under jogl, email
> ml-node+s762907n782158h61@n3.nabble.com
> To unsubscribe from jogamp, click here
> <
http://forum.jogamp.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=762907&code=eGVyeGVzQGd1ZGlubmEuY29tfDc2MjkwN3wtNTE5NjUwMzEw>
> .
> NAML
> <
http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>