-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FMUv4 fails to build (with uavcan error) #14799
Comments
Durandal doesn't have UAVCAN. Python version is my first guess. We have simple Mac OS CI builds that are still working. http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-compile_mac/detail/master/1834/pipeline/13 Which python interpreter is found in the cmake configure? |
Looks like it finds python 3.7.7 during the build:
I did not realize Durandal isn't using uavcan. I confirmed the same problem occurs when building FMUv5. |
If I just clone the libuavcan submodule I'm able to build that library just fine. There's something about this px4 build step that breaks:
|
That's a relatively new edition where we now manually generate in tree DSDL (https://github.com/PX4/Firmware/tree/master/src/drivers/uavcan/dsdl/com/hex/equipment/flow). |
@avionicsanonymous I’m not sure what your build environment looks like, but do these slightly older px4 build targets work for you? |
I tried px4_fmu-v4_default and it builds fine for me. Running an Ubuntu 14.04 VM setup pretty much per the PX4 dev guide. |
Are you able to see if it's defaulting to python (python 2)? |
Upgrading cmake from 3.15 to 3.17 apparently fixes this problem. |
The text was updated successfully, but these errors were encountered: