PX4 Firmware Build Error

24 次查看(过去 30 天)
Amir Vahedi
Amir Vahedi 2020-4-22
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