Skip to content

Conversation

@Rayman
Copy link

@Rayman Rayman commented Dec 4, 2025

I'm trying to remove the libboost-all-dev from my robot image. I notices there is an exec_depend from ros2_canopen to libboost-all-dev. This is not needed for running the application, only for compiling. So I've tried to look at all the boost dependencies and categorized them properly.

canopen_402_driver:

  • uses the headers of boost container and numeric which are part of libboost-all-dev

canopen_base_driver:

  • doesn't depend on boost

canopen_core:

  • boost thread requires linking to libboost-thread and the headers from libboost-all-dev
  • it uses the headers of boost lockfree and optional which are part of libboost-dev

@Rayman
Copy link
Author

Rayman commented Dec 9, 2025

Hi, can somebody review this PR?

I'm trying to remove the libboost-all-dev from my robot image. I notices
there is an exec_depend from `ros2_canopen` to libboost-all-dev. This is
not needed for running the application, only for compiling. So I've
tried to look at all the boost dependencies and categorized them
properly.

canopen_402_driver:
 - uses the headers of boost container and numeric which are part of libboost-all-dev
canopen_base_driver:
 - doesn't depend on boost
canopen_core:
 - boost thread requires linking to libboost-thread and the headers from libboost-all-dev
 - it uses the headers of boost lockfree and optional which are part of libboost-dev
@Rayman Rayman force-pushed the refactor/boost-dependencies branch from be213a4 to 97a2359 Compare December 15, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant