Skip to content

Make filters compile with MSVC - #88

Merged
jonbinney merged 15 commits into
ros:ros2from
christophfroehlich:ros2-boost
Jun 19, 2025
Merged

jonbinney merged 15 commits into
ros:ros2from
christophfroehlich:ros2-boost

Conversation

@christophfroehlich

Copy link
Copy Markdown
Contributor

From time to time, ros2_control framework gets user feedback (@traversaro for example ;)) for build errors on Windows. I worked on a github CI job to build our stack on rolling with pixi, but the filters package needs some changes to make it compile.

I don't use ROS on Windows apart from the CI job, maybe there are other ways to achieve this?

sys/time.h is not available on windows
   CMake Error at CMakeLists.txt:229 (add_custom_command):
    Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.
@traversaro

Copy link
Copy Markdown
Contributor

Thanks a lot for working on this, this is really useful!

@jonbinney

Copy link
Copy Markdown
Contributor

Thanks for this! I'll try to get around to reviewing it today.

Comment thread test/test_realtime_circular_buffer.cpp Resolved
Comment thread include/filters/median.hpp Resolved
Comment thread include/filters/filter_base.hpp Resolved
Comment thread CMakeLists.txt Resolved
Comment thread CMakeLists.txt Resolved
@christophfroehlich

christophfroehlich commented Jun 19, 2025 •

Copy link
Copy Markdown
Contributor Author

@jonbinney jonbinney left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Comment thread test/test_realtime_circular_buffer.cpp Resolved
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.

3 participants