PX4 Firmware Build Error

22 visualizzazioni (ultimi 30 giorni)
Amir Vahedi
Amir Vahedi il 22 Apr 2020
Risposto: John conner il 28 Feb 2024
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 Commento
Amir Vahedi
Amir Vahedi il 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

Accedi per commentare.

Risposte (2)

lsk lian
lsk lian il 11 Giu 2020
Is your problem solved, what should I do

John conner
John conner il 28 Feb 2024
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