Skip to content
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

[Bug] Errors compiling v1.15 and main on Ubuntu 20.04 #24104

Open
gsoga opened this issue Dec 13, 2024 · 0 comments
Open

[Bug] Errors compiling v1.15 and main on Ubuntu 20.04 #24104

gsoga opened this issue Dec 13, 2024 · 0 comments

Comments

@gsoga
Copy link

gsoga commented Dec 13, 2024

Describe the bug

Ubuntu 20.04
PX4 versions tested: 1.14, 1.15, main
Platform: px4_fmu-v6x

Results:

  • v1.14 with make px4_fmu-v6x_default: compiles ok

  • v1.15 and main with make px4_fmu-v6x_default: error related with septentrio

    PX4-Autopilot/src/drivers/gnss/septentrio/sbf/messages.h:101:10: error: 'septentrio::sbf::Header::id_number' is too small to hold all values of 'enum class septentrio::sbf::BlockID' [-Werror]
    101 | BlockID id_number: 13;

  • I am interested in trying the new rover implementation and I have tested make px4_fmu-v6x_rover with v1.15 and with main and I got an additional error:

    PX4-Autopilot/src/modules/ekf2/EKF/ekf.h:56:10: fatal error: ekf_derivation/generated/state.h: No such file or directory
    56 | #include <ekf_derivation/generated/state.h>

    I checked the directory and it was generated. Again I tried make px4_fmu-v6x_rover and got the first error:

    PX4-Autopilot/src/drivers/gnss/septentrio/sbf/messages.h:101:10: error: 'septentrio::sbf::Header::id_number' is too small to hold all values of 'enum class septentrio::sbf::BlockID' [-Werror]
    101 | BlockID id_number: 13;

I see that the error related with septentrio has been mentioned in:
https://discuss.px4.io/t/error-septentrio-id-number-is-too-small-to-hold-all-values-of-enum-class-septentrio-blockid-werror-101-blockid-id-number-13/42652
https://discuss.px4.io/t/error-septentrio-id-number-is-too-small-to-hold-all-values-of-enum-class-septentrio-blockid-werror/42255

To Reproduce

No response

Expected behavior

No response

Screenshot / Media

No response

Flight Log

No response

Software Version

No response

Flight controller

No response

Vehicle type

None

How are the different components wired up (including port information)

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant