How to use catkin to compile arm architecture .so file
https://github.com/yujinrobot/kobuki_core Currently only compiled x86 .so file. I want to compile .so file on the arm architecture used on Android(eg:armeabi)
sudo apt-get install g++-arm-linux-gnueabi
-
catkin_make --cmake-args -DCMAKE_CXX_COMPILER=arm-linux-gnueabi-g++
sudo apt-get install libftdi-dev
I'm not sure if it's right.I tried a lot of ways can not do.Hope to get everyone's help, thank you very much!
Asked by shine on 2016-12-22 20:53:52 UTC
Comments
I don't have an answer but look into creating a cmake toolchain file to find the armhf version of libftdi-dev and other flags. The official docs are a little complicated https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html and some examples here https://github.com/ruslo/polly
Asked by fred on 2020-07-23 00:35:50 UTC