I am having trouble building PX4 Hardware

13 views (last 30 days)
Altug
Altug on 4 Oct 2024
Answered: Altug on 6 Oct 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.

Answers (2)

Venkat Siddarth Reddy
Venkat Siddarth Reddy on 5 Oct 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 on 6 Oct 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.

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!