rpicross_notes icon indicating copy to clipboard operation
rpicross_notes copied to clipboard

Cross compile ros stopped working

Open sherwood333 opened this issue 6 years ago • 2 comments

Following your tutorial today to create a ross cross complile VM. Trying to cross compile gives me an error

./src/catkin/bin/catkin_make_isolated -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/home/cross/rpicross_notes/rpi-generic-toolchain.cmake Traceback (most recent call last): File "./src/catkin/bin/catkin_make_isolated", line 12, in from catkin.builder import build_workspace_isolated File "./src/catkin/bin/../python/catkin/builder.py", line 66, in from catkin_pkg.terminal_color import ansi, disable_ANSI_colors, fmt, sanitize ImportError: No module named terminal_color

if I edit the builder.py to say from catkin_pkg.terminal_color import ansi, disable_ANSI_colors, fmt, sanitize instead, it fails to build with `ImportError: cannot import name ansi'

Any help would be appreciated.

sherwood333 avatar Feb 28 '19 11:02 sherwood333

Hm, your issue states two things:

  • the code shows "ImportError: No module named terminal_color"
  • whereas you state "ImportError: cannot import name ansi"

Have you seen this issue ? It might provide some pointers

HesselM avatar Mar 12 '19 09:03 HesselM

Any updates on this?

HesselM avatar Aug 20 '19 13:08 HesselM