How to use catkin to compile arm architecture .so file

asked 2016-12-22 19:56:06 -0500

shine gravatar image

updated 2016-12-23 23:00:07 -0500 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++
  • image description
  • sudo apt-get install libftdi-dev
  • image description

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!

edit retag flag offensive close merge delete


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 and some examples here

fred gravatar image fred  ( 2020-07-23 00:35:50 -0500 )edit