You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a NuttX target inside an official PX4 container (with no ROS 2 installed). I think this should be possible.
Run a Ubuntu 22.04 (Jammy) Docker container according to the instructions by running:
# enable access to xhost from the container
xhost +
# Run docker and open bash shell
docker run -it --privileged \
--env=LOCAL_USER_ID="$(id -u)" \
-v ~/src/PX4-Autopilot:/src/PX4-Autopilot/:rw \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-e DISPLAY=:0 \
--network host \
--name=px4-base px4io/px4-dev-base-jammy bash
Attempting to build a NuttX target e.g. make px4_fmu-v5_default gives the following error:
CMake Error at CMakeLists.txt:219 (project):
The CMAKE_CXX_COMPILER:
arm-none-eabi-g++
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.
CMake Error at CMakeLists.txt:219 (project):
The CMAKE_C_COMPILER:
arm-none-eabi-gcc
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.
-- Enabling double FP precision hardware instructions
CMake Error at CMakeLists.txt:219 (project):
The CMAKE_ASM_COMPILER:
arm-none-eabi-gcc
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 "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
How can I resolve this error?
The text was updated successfully, but these errors were encountered:
Link to forum
I am trying to build a NuttX target inside an official PX4 container (with no ROS 2 installed). I think this should be possible.
make px4_fmu-v5_default
gives the following error:How can I resolve this error?
The text was updated successfully, but these errors were encountered: