jAER Viwer on Ubuntu Mate 18.04 on Odroid

42 views
Skip to first unread message

Thorben Schoepe

unread,
Mar 13, 2019, 11:44:39 AM3/13/19
to jaer-users
Dear Jaer users,

I tried to install jaer-1.7.2 with Oracle Java8 on Ubuntu Mate on an Odroid XU4 computer.
Whenver I try to start JAER Viewer I receive the following ERROR. Do you have any idea
how I could solve this Error?

Best regards,
Thorben Schoepe

_______________________________________________
Research Assistant and PHD Student
Neuromorphic Behaving Systems
at Technical Faculty, Bielefeld University

________________________________________________

Mar 13, 2019 3:37:04 PM net.sf.jaer.util.LoggingThreadGroup uncaughtException
WARNING: Thread[AWT-EventQueue-0,6,main]
Mar 13, 2019 3:37:04 PM net.sf.jaer.util.LoggingThreadGroup uncaughtException
WARNING: java.lang.UnsatisfiedLinkError: Can't load library: /home/odroid/jAER/natives/linux-armv6hf//libgluegen-rt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:624)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:63)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:487)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:421)
at com.jogamp.common.os.Platform$1.run(Platform.java:317)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:287)
at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:147)
at net.sf.jaer.JAERViewer.<init>(JAERViewer.java:140)
at net.sf.jaer.JAERViewer.<init>(JAERViewer.java:73)
at net.sf.jaer.JAERViewer$2.run(JAERViewer.java:298)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


Loading version info from resource BUILDVERSION.txt
Version URL=jar:file:/home/odroid/jAER/dist/jAER.jar!/BUILDVERSION.txt

-- listing properties --
However,=there were unannotated tags: try --tags.
build.date=20181001 at 1924
fatal=No annotated tags can describe '3f195...

Tobi Delbruck

unread,
Mar 13, 2019, 11:58:14 AM3/13/19
to jaer-users

Interesting! You are the first to attempt this since I don't think jAER has been run on ARM architecture before.


The problem you have is that the opengl libraries are not being fetched by ivy (the maven library fetcher used in jAER) via mavencentral for the JOGL library native components. (JOGL is Java OpenGL.)


"Can't load library: /home/odroid/jAER/natives/linux-armv6hf//libgluegen-rt.so"


I don't know if this library even exists since GPUs on these platforms are so different than desktop GPUs but I'm no big expert on them.  


I see there are libraries for arm6 from https://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html


This jogamp site seems down right now so I can't check details on it. It might be these libraries exist or else the site is temporarily down.  Would take more investigation.

The relevant lines in jAER's ivy.xml (at project top level) are

    <dependencies>
         
<!--see https://jogamp.org/wiki/index.php/Maven-->
         
<!--see http://search.maven.org to find libraries -->
         
<!--following does not work, since the latest jogl doesn't have com.jogamp.opengl-->
         
<!--https://repo1.maven.org/maven2/org/jogamp/gluegen/gluegen-rt/2.3.2/-->
         
<dependency org="org.jogamp.gluegen" name="gluegen-rt" rev="2.3.2" />
         
<dependency org="org.jogamp.gluegen" name="gluegen-rt-main" rev="2.3.2" />
         
<dependency org="org.jogamp.gluegen" name="gluegen-rt" rev="2.3.2" >
             
<!--include main jar-->
             
<artifact name="gluegen-rt" type="jar" ext="jar"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-linux-amd64"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-linux-i586"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-macosx-universal"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-solaris-amd64"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-solaris-i586"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-windows-amd64"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-windows-i586"/>
             
<artifact name="gluegen-rt" type="jar" ext="jar" m:classifier="natives-windows-amd64"/>
         
</dependency>
         
<!--https://repo1.maven.org/maven2/org/jogamp/jogl/jogl-all/2.3.2/-->
         
<!--<dependency org="org.jogamp.jogl" name="jogl-all" rev="2.3.2" />-->
         
<dependency org="org.jogamp.jogl" name="jogl-all-main" rev="2.3.2" />
         
<!--<dependency org="org.jogamp.jogl" name="nativewindow" rev="2.3.2" />-->
         
<!--<dependency org="org.jogamp.jogl" name="newt" rev="2.3.2" />-->
         
<!--<dependency org="org.jogamp.jogl" name="jogl-all-main" rev="2.3.2" />-->
         
<dependency org="org.jogamp.jogl" name="jogl-all" rev="2.3.2" >
             
<!--include main jar-->
             
<artifact name="jogl-all" type="jar" ext="jar"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-linux-amd64"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-linux-i586"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-macosx-universal"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-solaris-amd64"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-solaris-i586"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-windows-amd64"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-windows-i586"/>
             
<artifact name="jogl-all" type="jar" ext="jar" m:classifier="natives-windows-amd64"/>
         
</dependency>

It might be that some modification to this manifest can fix the problem for you. I would like to find out if jAER with its basic desktop/intel development could run on ARM AP.

Tobi Delbruck

unread,
Mar 13, 2019, 12:00:13 PM3/13/19
to jaer-users
I don't know if arm6hf exists for jogl and gluegen, but I notice that when I put in the dependencies above there is nothing specified for ARM application processors. So you could try to add these with a bit of research.

Reply all
Reply to author
Forward
0 new messages