Coder Social home page Coder Social logo

Add aarch64/arm64 shared libs about guidance-sdk HOT 20 OPEN

dji-sdk avatar dji-sdk commented on September 25, 2024 4
Add aarch64/arm64 shared libs

from guidance-sdk.

Comments (20)

Mara2020 avatar Mara2020 commented on September 25, 2024 2

Can a shared library be built for 64b ARM platforms, specifically the NVidia TX1 with Ubuntu 16.04? I tried the TX1, arm, and xu3 ones available but it did not work. Thanks!

from guidance-sdk.

dhirajdhule avatar dhirajdhule commented on September 25, 2024 2

The so library file under so/tx1/ is not working on nvidia tx1, ubuntu 64.

from guidance-sdk.

TheRobotStudio avatar TheRobotStudio commented on September 25, 2024 2

@tangketan Hello,
I'm also interested to run the SDK on a 64bits Jetson TX2.
Would it be possible to build and add the so library for aarch64 TX2 ?
That would be great !

from guidance-sdk.

mukhe027 avatar mukhe027 commented on September 25, 2024 1

any updates of the libdji_guidance.so library file for Jetson Tx2 arm architecture. please let me know,

Thanks

from guidance-sdk.

saurabh984 avatar saurabh984 commented on September 25, 2024 1

@lanyusea Can you please recompile and upload the new libdji_guidance.so?

from guidance-sdk.

longlong2010 avatar longlong2010 commented on September 25, 2024

You may try to use so/XU3/ibDJI_guidance.so. It works for Raspberry PI 3 Model B.

from guidance-sdk.

JJJJJJJack avatar JJJJJJJack commented on September 25, 2024

I think XU3 is Armv7 and boards come after that, like the C2, is Armv8 and the library provided is not compatible.

from guidance-sdk.

tangketan avatar tangketan commented on September 25, 2024

@pquimby Would you please provide the exact compiler? We can try building the library with specified compiler.

from guidance-sdk.

JJJJJJJack avatar JJJJJJJack commented on September 25, 2024

Hi Tangketan,

Thanks for the reply. The compiler I'm using on the Odroid C2 is as follow:

odroid@odroid64:$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
5.4.0-6ubuntu1
16.04.1'
--with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-5 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64
--with-arch-directory=aarch64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch
--enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release
--build=aarch64-linux-gnu --host=aarch64-linux-gnu
--target=aarch64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1)

Which I think is aarch64-linux-gnu-gcc. Please email me back if you need
more information.

Regrads,
Jack

On Mon, Aug 8, 2016 at 11:09 PM, tangketan [email protected] wrote:

@pquimby https://github.com/pquimby Would you please provide the exact
compiler? We can try building the library with specified compiler.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEo481xNPBHAIFXoUPmL9bkdh8IeMg9kks5qd-9UgaJpZM4IED5E
.

Xiang He, Ph.D. Student
Department of Mechanical Engineering
University of Utah
1495 E. 100 S.
Salt Lake City, Utah 84112
Design, Automation, Robotics & Control (DARC) Lab:
www.kam.k.leang.com/academics
University of Utah Robotics Center (UURC): http://robotics.coe.utah.edu

from guidance-sdk.

tangketan avatar tangketan commented on September 25, 2024

I just update a so file compiled on 64-bit TX1. Yet the Ubuntu is 14.04. See if you can use that so file.

from guidance-sdk.

top1944 avatar top1944 commented on September 25, 2024

64-bit TX1 not work on snapgrogen410c

from guidance-sdk.

top1944 avatar top1944 commented on September 25, 2024

Running command: "cmake /home/linaro/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/linaro/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/linaro/catkin_ws/install -G Unix Makefiles" in "/home/linaro/catkin_ws/build"

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /home/linaro/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/linaro/catkin_ws/build/test_results
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.4
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - guidance
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'guidance'
-- ==> add_subdirectory(Guidance-SDK-ROS)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/linaro/catkin_ws/build

Running command: "make -j4 -l4" in "/home/linaro/catkin_ws/build"

Scanning dependencies of target guidanceNodeCalibration
Scanning dependencies of target guidanceNode
Scanning dependencies of target guidanceNodeTest
[ 20%] [ 40%] [ 60%] [ 80%] Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/src/GuidanceNodeCalibration.cpp.o
Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/src/GuidanceNode.cpp.o
Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/src/DJI_utility.cpp.o
Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/src/GuidanceNodeTest.cpp.o
[100%] Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/src/DJI_utility.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions.
Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/build.make:54: recipe for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/src/GuidanceNodeTest.cpp.o' failed
make[2]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/src/GuidanceNodeTest.cpp.o] Error 4
CMakeFiles/Makefile2:562: recipe for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/all' failed
make[1]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable /home/linaro/catkin_ws/devel/lib/guidance/guidanceNode
/usr/bin/ld: skipping incompatible /home/linaro/catkin_ws/src/Guidance-SDK-ROS/lib/TK1/libDJI_guidance.so when searching for -lDJI_guidance
//usr/local/lib/libDJI_guidance.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/build.make:172: recipe for target '/home/linaro/catkin_ws/devel/lib/guidance/guidanceNode' failed
make[2]: *** [/home/linaro/catkin_ws/devel/lib/guidance/guidanceNode] Error 1
CMakeFiles/Makefile2:492: recipe for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/all' failed
make[1]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/all] Error 2
Linking CXX executable /home/linaro/catkin_ws/devel/lib/guidance/guidanceNodeCalibration
/usr/bin/ld: skipping incompatible /home/linaro/catkin_ws/src/Guidance-SDK-ROS/lib/TK1/libDJI_guidance.so when searching for -lDJI_guidance
//usr/local/lib/libDJI_guidance.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/build.make:172: recipe for target '/home/linaro/catkin_ws/devel/lib/guidance/guidanceNodeCalibration' failed
make[2]: *** [/home/linaro/catkin_ws/devel/lib/guidance/guidanceNodeCalibration] Error 1
CMakeFiles/Makefile2:527: recipe for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/all' failed
make[1]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

from guidance-sdk.

lanyusea avatar lanyusea commented on September 25, 2024

c++: internal compiler error: Killed (program cc1plus)

it seems there is no enough memory left.
Could you try make -j1 ?

On Thu, Oct 20, 2016 at 4:45 PM, top1944 [email protected] wrote:

Running command: "cmake /home/linaro/catkin_ws/src
-DCATKIN_DEVEL_PREFIX=/home/linaro/catkin_ws/devel
-DCMAKE_INSTALL_PREFIX=/home/linaro/catkin_ws/install -G Unix Makefiles"
in "/home/linaro/catkin_ws/build"

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /home/linaro/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/linaro/catkin_ws/build/
test_results
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE

-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.4
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - guidance
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'guidance'
-- ==> add_subdirectory(Guidance-SDK-ROS)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/linaro/catkin_ws/build

Running command: "make -j4 -l4" in "/home/linaro/catkin_ws/build"

Scanning dependencies of target guidanceNodeCalibration
Scanning dependencies of target guidanceNode
Scanning dependencies of target guidanceNodeTest
[ 20%] [ 40%] [ 60%] [ 80%] Building CXX object
Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/
src/GuidanceNodeCalibration.cpp.o
Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/src/
GuidanceNode.cpp.o
Building CXX object Guidance-SDK-ROS/CMakeFiles/
guidanceNodeCalibration.dir/src/DJI_utility.cpp.o
Building CXX object Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/src/
GuidanceNodeTest.cpp.o
[100%] Building CXX object Guidance-SDK-ROS/CMakeFiles/
guidanceNode.dir/src/DJI_utility.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions.
Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/build.make:54: recipe
for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/src/GuidanceNodeTest.cpp.o'
failed
make[2]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/src/GuidanceNodeTest.cpp.o]
Error 4
CMakeFiles/Makefile2:562: recipe for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/all'
failed
make[1]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNodeTest.dir/all] Error
2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable /home/linaro/catkin_ws/devel/
lib/guidance/guidanceNode
/usr/bin/ld: skipping incompatible /home/linaro/catkin_ws/src/
Guidance-SDK-ROS/lib/TK1/libDJI_guidance.so when searching for
-lDJI_guidance
//usr/local/lib/libDJI_guidance.so: file not recognized: File format not
recognized
collect2: error: ld returned 1 exit status
Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/build.make:172: recipe for
target '/home/linaro/catkin_ws/devel/lib/guidance/guidanceNode' failed
make[2]: *** [/home/linaro/catkin_ws/devel/lib/guidance/guidanceNode]
Error 1
CMakeFiles/Makefile2:492: recipe for target 'Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/all'
failed
make[1]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNode.dir/all] Error 2
Linking CXX executable /home/linaro/catkin_ws/devel/lib/guidance/
guidanceNodeCalibration
/usr/bin/ld: skipping incompatible /home/linaro/catkin_ws/src/
Guidance-SDK-ROS/lib/TK1/libDJI_guidance.so when searching for
-lDJI_guidance
//usr/local/lib/libDJI_guidance.so: file not recognized: File format not
recognized
collect2: error: ld returned 1 exit status
Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/build.make:172:
recipe for target '/home/linaro/catkin_ws/devel/lib/guidance/guidanceNodeCalibration'
failed
make[2]: *** [/home/linaro/catkin_ws/devel/lib/guidance/guidanceNodeCalibration]
Error 1
CMakeFiles/Makefile2:527: recipe for target 'Guidance-SDK-ROS/CMakeFiles/
guidanceNodeCalibration.dir/all' failed
make[1]: *** [Guidance-SDK-ROS/CMakeFiles/guidanceNodeCalibration.dir/all]
Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACo3iRdAp3vTK9bN5HO8aZDXjo3JgOeCks5q1ypEgaJpZM4IED5E
.

from guidance-sdk.

jinguanzhu avatar jinguanzhu commented on September 25, 2024

@tangketan ??

from guidance-sdk.

notsolowki avatar notsolowki commented on September 25, 2024

from guidance-sdk.

saurabh984 avatar saurabh984 commented on September 25, 2024

What's the point of Open Sourcing something which you don't really support! Could you please update the libraries?

from guidance-sdk.

lanyusea avatar lanyusea commented on September 25, 2024

from guidance-sdk.

TheRobotStudio avatar TheRobotStudio commented on September 25, 2024

Any update on this topic ?
Thanks!

from guidance-sdk.

samsdolphin avatar samsdolphin commented on September 25, 2024

Dose any of you find the compatible library for the Jetson TX2?
Thanks!

from guidance-sdk.

lshn avatar lshn commented on September 25, 2024

Dose any of you find the compatible library for the Jetson TX2?
Thanks!

from guidance-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.