View Single Post
  #2   Spotlight this post!  
Unread 27-01-2017, 17:38
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,338
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: NVIDIA Jetson TX1 Vision Coprocessing Software: Am I doing something wrong?

Quote:
Originally Posted by nlh101 View Post
Hello!

I have been unsuccessfully trying to install and run the Vision Coprocessing Software on our Jetson TX1 for about 2 1/2 hours now. Every time, I run
Code:
./gradlew build
it compiles successfully, but they always result in the following stack trace:

Code:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/ubuntu/Downloads/Java/output/libopencv_java310.so: /home/ubuntu/Downloads/Java/output/libopencv_java310.so: wrong ELF class: ELFCLASS32
at java.lang.ClassLoader$NativeLibrary.load (Native Library)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at Main.main(Main.java:12)
We are running on a AArch64 NVIDIA Jetson TX1 Development Kit. I have (Oracle) Java 8b121 arm64 installed (it refuses to run any Java executable that is arm32) and Gradle 3.3 with Groovy 2.4.7 and Ant 1.9.6 on Linux 3.10.96-tegra aarch64.
Java on the Jetson is beyond my scope but that error indicates your java is compiling for 32 bit and the Jetson is definitely 64 bit.

Not sure it JetPack installs Java but it might. I know it installs some java related stuff.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote