Go to Post If anybody ever uses a terabyte in the next few years the world would probably come to an end - spadercool [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2017, 17:08
nlh101 nlh101 is offline
Registered User
FRC #1701 (RoboCubs)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Detroit
Posts: 1
nlh101 is an unknown quantity at this point
NVIDIA Jetson TX1 Vision Coprocessing Software: Am I doing something wrong?

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.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2017, 17:38
marshall's Avatar
marshall marshall is online now
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,337
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
  #3   Spotlight this post!  
Unread 27-01-2017, 17:41
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,107
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: NVIDIA Jetson TX1 Vision Coprocessing Software: Am I doing something wrong?

It looks like you are using the build system linked here http://wpilib.screenstepslive.com/s/...essing-in-java. I hadn't actually ran it on the TX1, but I know that the builds are for 32 bit arm. So either try finding a 32 bit version of Java, or you will need to find a 32 bit OS for the TX1. I'm not familiar enough with it to know where to find either of those.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi