I am encountering this issue while building firmware in px4 autopilot.
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
<command-line>:0:0: note: this is the location of the previous definition
In file included from ../../src/modules/px4_simulink_app/nuttxinitialize.cpp:11:0:
../../src/modules/px4_simulink_app/nuttxinitialize.h:8:10: fatal error: nuttx/config.h: No such file or directory
#include <nuttx/config.h>
^~~~~~~~~~~~~~~~
compilation terminated.
[206/633] Building CXX object src/modules/commander/CMakeFiles/modules__commander.dir/Commander.cpp.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:233: px4_sitl] Error 1has context menu
0 comentarios
Respuestas (1)
Ayush
el 4 de En. de 2024
Hi @Parvez
I understand that you are facing the issue while building firmware in px4 autopilot. The cause of the build failed error is most likely a permission issue. Launch MATLAB with "Run in Administrator" and try building the hardware setup.
Thanks,
Ayush
4 comentarios
ramzan
el 8 de En. de 2024
Thanks for your reply, as per your suggestion i have tried the commands in run_console.bat. it asking me to install packging by command 'pip3 install --user packaging'. I have tried this command but getting some error, i am attaching screenshots for your reference.
Ayush
el 9 de En. de 2024
Hi @ramzan
As the command 3 did not work through Cygwin console, it indicates issue is with the PX4 Firmware on your machine. It seems like installation of PX4 Firmware of the Cygwin toolchain is corrupted. The best way to resolve this issue is to uninstall Cygwin Toolchain and clone PX4 Firmware again. Below are the steps:
- Uninstall PX4 Cygwin Toolchain from Programs & Features in Windows
- Clone and install Cygwin Toolchain again and clone PX4 firmware as mentioned here
- Try building Firmware as mentioned above
Thanks,
Ayush
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!