PX4 Firmware Build Error

7 ビュー (過去 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