ros2-cross-compilation
ros2-cross-compilation copied to clipboard
Missing compiler?
I've followed the instructions, but when I run the cc_workspace.sh script, I get:
--- stderr: custom_interfaces
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
arm-linux-gnueabihf-gcc-6
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
arm-linux-gnueabihf-g++-6
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.