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

Errors building foxglove-bridge 0.7.7-1 with Yocto (kirkstone) and ros2 humble #330

Closed
grahas opened this issue Dec 11, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@grahas
Copy link
Contributor

grahas commented Dec 11, 2024

Description
When building with yocto the following error is seen

/home/axcend/OSTL-k/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/foxglove-bridge/0.7.7-1-r0/git/ros2_foxglove_bridge/src/ros2_foxglove_bridge.cpp:482:50: error: no matching function for call to 'max(long unsigned int, size_t)' 482 | const size_t publisherHistoryDepth = std::max(1ul, qos.depth());

  • Version: 0.7.7-1
  • Platform: target is arm-oe-linux-gnueabi

Steps To Reproduce

bitbake foxglove-bridge

Expected Behavior
no build error

@grahas grahas added the bug Something isn't working label Dec 11, 2024
Copy link

linear bot commented Dec 11, 2024

grahas added a commit to grahas/ros-foxglove-bridge that referenced this issue Dec 11, 2024
@jtbandes
Copy link
Member

Thanks – I believe you reported the same issue in Discord as well. If you verify the fix works for you then please submit a PR and we can review+merge.

@grahas grahas mentioned this issue Dec 11, 2024
jtbandes pushed a commit that referenced this issue Dec 12, 2024
### Changelog
None
### Docs
None
### Description

#330 Fixes for Yocto issue

Fix for compilation error on yocto Kirkstone.

> error: no matching function for call to 'max(long unsigned int, size_t)
@defunctzombie
Copy link
Contributor

Fixed in #331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants