PX4 Firmware Build Error

13 views (last 30 days)
Amir Vahedi
Amir Vahedi on 22 Apr 2020
Answered: John conner on 28 Feb 2024 at 13:42
I have checked the "MW_px4_log.txt"
and I got this error
CMAKE Config selected : px4fmu-v5_default
/bin/sh: 1: cmake: not found
make[1]: *** /mnt/c/mypx4/Firmware/build/nuttx_px4fmu-v5_default: No such file or directory. Stop.
make: *** [px4fmu-v5_default] Error 2
Can anyone help me to solve it?
I have followed the instructions step by steps.
I have Matlab2018b and windows10.
  1 Comment
Amir Vahedi
Amir Vahedi on 22 Apr 2020
new erros using ninja
BUILDSTARTING_23-Apr-2020_02-57-09
CMAKE Config selected : px4fmu-v3_default
CMake Error at cmake/toolchains/Toolchain-arm-none-eabi.cmake:62 (message):
could not find genromfs
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:98 (include)
CMakeLists.txt:176 (project)
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
ninja: fatal: chdir to '/mnt/c/mypx4/Firmware/build/nuttx_px4fmu-v3_default' - No such file or directory
make: *** [px4fmu-v3_default] Error 1
BUILDCOMPLETE_23-Apr-2020_02-57-09

Sign in to comment.

Answers (2)

lsk lian
lsk lian on 11 Jun 2020
Is your problem solved, what should I do

John conner
John conner on 28 Feb 2024 at 13:42
as you have something like "c/mypx4/Firmware/build/nuttx_px4fmu-v5_default" in your log
make sure that your Firmware folder is on "home" not "home\mypx4"

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!