I am having trouble building PX4 Hardware

13 visualizzazioni (ultimi 30 giorni)
Altug
Altug il 4 Ott 2024
Risposto: Altug il 6 Ott 2024
I am trying to setup UAV Toolbox Support Package for PX4 Autopilots and in the build step, I am recieving this error message:
BUILDSTARTING_04-Oct-2024_20-39-58
CMAKE Config selected : px4_fmu-v3_default
your 131072x1 screen size is bogus. expect trouble
/bin/sh: 1: cmake: Permission denied
/bin/sh: 1: cmake: Permission denied
make: *** [Makefile:227: px4_fmu-v3_default] Error 127
I have successfully completed cloning PX4-Autopilot inside home directory and also completed other steps as well. But couldn't figure it out what is the problem.

Risposte (2)

Venkat Siddarth Reddy
Venkat Siddarth Reddy il 5 Ott 2024
Hi Altug,
The log message "your 131072x1 screen size is bogus. expect trouble" indicates that the issue is with the Operating System rather than the "hardware setup" itself.
To further investigate this issue, please refer to the following community post:
Additionally, if the problem persists even after resolving the above the error message, I would suggest verifying the "cmake" permissions and if possible do a fresh installation of latest "cmake" version compatible.
I hope this helps!

Altug
Altug il 6 Ott 2024
Hi Venkat,
Thanks for the reply. I have managed to build the firmware successfully for PX4 Cube Orange by removing snap version of cmake and replacing it with apt version.
Now I am having issue building for the PX4 Pixhawk 1. It seems there are no issues in the log messages, but it still fails to build. I am gonna try to fix that. Thank you again.

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by