Hi, every one, I try Build PX4 Firmware within matlab within Hardware Setup screen,But it feedback Failed. anyone can help? how to handle it. thanks a lot.

5 visualizzazioni (ultimi 30 giorni)
I try more times, the ERROR appear at different stages of progress, but the ERROR content is the same, it is about " Makefile:105: recipe for target 'all' failed Makefile:154: recipe for target 'px4fmu-v2_default' failed" , I also want to look for analyze the log file MW_px4_log.txt to identify the errors by use command cd fullfile(matlabshared.supportpkg.getSupportPackageRoot,'toolbox','target','supportpackages','px4'), but faile again, please help, thanks a lot.
[ 95%] Building CXX object src/modules/uORB/CMakeFiles/modules__uORB.dir/uORBUtils.cpp.obj
[ 96%] Linking CXX static library libpx4iofirmware.a
[ 96%] Linking CXX static library libmodules__uORB.a
[ 96%] Built target px4iofirmware
[ 96%] Built target modules__uORB
Scanning dependencies of target nuttx_px4io-v2_default.elf
[ 98%] Building C object platforms/nuttx/CMakeFiles/nuttx_px4io-v2_default.elf.dir/__/__/src/platforms/empty.c.obj
[ 98%] Linking CXX executable ../../nuttx_px4io-v2_default.elf
[ 98%] Built target nuttx_px4io-v2_default.elf
Scanning dependencies of target px4
[ 98%] Generating ../../px4io-v2.bin
[100%] Creating /mnt/d/mypx4/src_v1.8.0/Firmware/build/nuttx_px4io-v2_default/px4io-v2_default.px4
[100%] Built target px4
[ 2%] Copying px4io-v2 to ROMFS extras
[ 2%] Built target copy_px4io_bin
Makefile:105: recipe for target 'all' failed
Makefile:154: recipe for target 'px4fmu-v2_default' failed
CMakeFiles/Makefile2:2551: recipe for target 'src/modules/px4_simulink_app/CMakeFiles/modules__px4_simulink_app.dir/all' failed
[ 63%] Building CXX object src/modules/uORB/CMakeFiles/modules__uORB.dir/uORBManager.cpp.obj
[ 63%] Building CXX object src/modules/uORB/CMakeFiles/modules__uORB.dir/uORBUtils.cpp.obj
[ 63%] Building CXX object src/drivers/differential_pressure/ets/CMakeFiles/drivers__ets_airspeed.dir/ets_airspeed.cpp.obj
[ 63%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/estimator_interface.cpp.obj
[ 63%] Linking CXX static library libmodules__uORB.a
[ 63%] Linking CXX static library libdrivers__ets_airspeed.a
[ 63%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/gps_checks.cpp.obj
[ 63%] Built target modules__uORB
[ 63%] Built target drivers__ets_airspeed
[ 63%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/mag_fusion.cpp.obj
[ 63%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/optflow_fusion.cpp.obj
[ 64%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/sideslip_fusion.cpp.obj
[ 64%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/terrain_estimator.cpp.obj
[ 64%] Building CXX object src/lib/ecl/EKF/CMakeFiles/ecl_EKF.dir/vel_pos_fusion.cpp.obj
[ 64%] Linking CXX static library libecl_EKF.a
[ 64%] Built target ecl_EKF
Makefile:105: recipe for target 'all' failed
Makefile:154: recipe for target 'px4fmu-v2_default' failed
>> cd fullfile(matlabshared.supportpkg.getSupportPackageRoot,'toolbox','target','supportpackages','px4')
错误使用 cd
无法将目录更改为 C:\Users\mtht\Documents\fullfile(matlabshared.supportpkg.getSupportPackageRoot,'toolbox','target','supportpackages','px4') (名称不存在或不
是目录)。

Risposte (0)

Categorie

Scopri di più su Build Configuration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by