Guidance-SDK icon indicating copy to clipboard operation
Guidance-SDK copied to clipboard

Compiling usb example on Jetson TX1 with latest L4T Image

Open ghost opened this issue 8 years ago • 10 comments

I tried to compile the guidance example as described here: https://developer.dji.com/guidance-sdk/documentation/quick-start/run-examples.html, however, I receive the following linking error:

/usr/bin/ld: skipping incompatible /home/ubuntu/DJI/Guidance-SDK/so/TX1/libDJI_guidance.so when searching for -lDJI_guidance
/usr/bin/ld: cannot find -lDJI_guidance

My Jeston TX1 is flashed with the latest L4T image. The Jetson TX1 L4T image I'm using is 24.2.1.

Would it be possible to have a new library .so built for the TX1 for the latest L4T image? If not, would it be possible to download the library and compile/install it instead?

ghost avatar Mar 28 '17 00:03 ghost

Found a temp fix: down grade to Jetpack 2.1 for the TX1. Also, had to link with the library for XU3 to avoid linking issues with libusb. I believe there's an issue with the way the TX1 DJI Guidance library is compiled and linked with libusb. This library needs to be rebuilt and updated for the latest L4T images. Haven't fully tested it guidance connected, but seems to compile and run.

ghost avatar Mar 29 '17 19:03 ghost

Can we expect an update to this library for the latest L4T image? Or at least provide the source so that we can compile ourselves.

ghost avatar Apr 06 '17 16:04 ghost

Any updates on this? I have a TX2 I would like to use.

markneville avatar Apr 17 '17 01:04 markneville

@tangketan

ghost avatar May 23 '17 22:05 ghost

@tangketan Could you please update the lib for TX2?

saurabh984 avatar Jun 13 '17 18:06 saurabh984

@markneville @saurabh984, @tangketan reached out to me. he is inquiring about either an update or releasing the source so that the community can update and maintain the source. hopefully we'll have an update soon.

ghost avatar Jun 17 '17 01:06 ghost

Hi I am currently using the Jetson Tx2 and I am having difficulty running the simple guidance sdk ros package because on the L4T 16.04 with arm64 architecture whenever I try to cmake it gives me the error that can't find libdji_guidance.so file. Is there an updated library for us to work with the guidance in a linux 16 arm64 architecture environment

mukhe027 avatar Jul 23 '17 12:07 mukhe027

bump

ghost avatar Aug 09 '17 14:08 ghost

Any updates will be really helpful.......ICRA submissions are coming and I need to get 2 of my jetson TX2s working

Thanks. Pratik

mukhe027 avatar Aug 09 '17 19:08 mukhe027

Hi, @dji-dev could you please tell us if any updates is planned please. :)

GodefroyClair avatar Jan 16 '18 12:01 GodefroyClair