yujinrobot / kobuki_core

Core (non-ros) kobuki packages.
68 stars 71 forks source link

How to use catkin to compile arm architecture .so file #27

Closed Shineee closed 7 years ago

Shineee commented 7 years ago

Currently only compiled x86 .so file. I want to compile .so file on the arm architecture used on Android(eg:armeabi) I tried a lot of ways can not do.Hope to get your help, thank you very much!

stonier commented 7 years ago

Do you have a CMake toolchain module for your compiler?

Shineee commented 7 years ago

I'm not sure if it's right. 1.sudo apt-get install g++-arm-linux-gnueabi 2.catkin_make --cmake-args -DCMAKE_CXX_COMPILER=arm-linux-gnueabi-g++ 3. screenshot from 2016-12-23 10-56-37 4.sudo apt-get install libftdi-dev 5. screenshot from 2016-12-23 11-10-03

stonier commented 7 years ago

Ah, sorry missed your reply. If you don't have libftdi and libusb in your toolchain root, then just CATKIN_IGNORE kobuki_ftdi. It is only necessary for building programs that flash to the robot. You don't need to do that from an arm core.

Been thinking about removing that package to a separate repository.