PX4 Firmware Build Error

조회 수: 8 (최근 30일)
Amir Vahedi
Amir Vahedi 2020년 4월 22일
답변: John conner 2024년 2월 28일
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
Amir Vahedi
Amir Vahedi 2020년 4월 22일
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

댓글을 달려면 로그인하십시오.

답변 (2개)

lsk lian
lsk lian 2020년 6월 11일
Is your problem solved, what should I do

John conner
John conner 2024년 2월 28일
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"

태그

Community Treasure Hunt

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

Start Hunting!

Translated by