Cannot build px4 firmware #153
Unanswered
MartinSegaert
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Which version of GCC are you using? If you build again from a clean state it should earlier in the cmake configure output. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We recently realised that we have to update our px4 firmware to the newest one (v1.13.2). (#149 (reply in thread)). I managed to build the firmware (make px4_fmu-v5_default) on one of my NUCs but not on the other one. I keep getting the same error:
"/home/nuc2/git/simulation/px4_firmware/srx/lib/rc/sbus.cpp:61:10 fatal error: asm-generic/termbits.h: No such file or directory"
The NUC on which the build works has CMake version 3.20.2. The NUC on which the build does not work has CMake version 3.25.0. Could the version of CMake be the reason why it fails? If that's the case, is CMake version 3.20.2 alright for the good working of the CTU packages?
Since I have successfully built the firmware on one NUC, I could take that file to update the pixhawk that goes with the NUC where it doesn't work. Would that work? Or would it give problems in simulation on the NUC were the build doesn't work ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions