dji-sdk / Guidance-SDK

The official Guidance SDK package for Windows, Ubuntu and XU3.
134 stars 98 forks source link

Compiling usb example on Jetson TX1 with latest L4T Image #32

Open ghost opened 7 years ago

ghost commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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.

markneville commented 7 years ago

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

ghost commented 7 years ago

@tangketan

saurabh984 commented 7 years ago

@tangketan Could you please update the lib for TX2?

ghost commented 7 years ago

@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.

mukhe027 commented 6 years ago

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

ghost commented 6 years ago

bump

mukhe027 commented 6 years ago

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

Thanks. Pratik

GodefroyClair commented 6 years ago

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