Skip to content

Full Rebuild (Sync) of May 2026: bump ros2-distro-mutex to 0.15.0 and build_number to 19#212

Open
ayushgnv wants to merge 36 commits into
RoboStack:mainfrom
ayushgnv:ayushg/full_rebuild_v18
Open

Full Rebuild (Sync) of May 2026: bump ros2-distro-mutex to 0.15.0 and build_number to 19#212
ayushgnv wants to merge 36 commits into
RoboStack:mainfrom
ayushgnv:ayushg/full_rebuild_v18

Conversation

@ayushgnv
Copy link
Copy Markdown

@ayushgnv ayushgnv commented May 8, 2026

Addressing Issue 211: #211

@ayushgnv
Copy link
Copy Markdown
Author

ayushgnv commented May 8, 2026

@Tobias-Fischer @Traver could you take a look to see if it makes sense?

ayushgnv added 5 commits May 8, 2026 16:15
  asio 1.36 removed the asio::io_service typedef and asio::io_service::work,
  which broke ros-jazzy-io-context 1.2.0. Migrate to asio::io_context,
  asio::executor_work_guard, and the free-function asio::post().
@traversaro
Copy link
Copy Markdown
Member

@Tobias-Fischer @Traver could you take a look to see if it makes sense?

Thanks, sorry I missed the comment due to a typo in the reference. Let me check!

Comment thread pkg_additional_info.yaml
Comment on lines -168 to -172
apriltag:
generate_dummy_package_with_run_deps:
build_number: 17
dep_name: apriltag
max_pin: 'x.x.x'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you keep the apriltag generate_dummy_package_with_run_deps, just removing the build_number override?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks for the pointer. Added this back in

Comment thread vinca.yaml Outdated
Comment thread vinca.yaml Outdated
- gazebo 11.*
- libprotobuf 6.31.1.*
- libprotobuf 6.33.*
- vtk 9.5.2.*
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess we need to raise this to vtk 9.6.1 or similar.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done. Thanks!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was wrong, this results in the error:

4
  │ │  │  ├─ eigen *, which can be installed with any of the following
  │ options:
  │ │  │  │  ├─ eigen 5.0.1
  │ │  │  │  └─ eigen 3.2.8 | 3.2.8 | 3.2.8 | 3.3.1 | 3.3.3 | 3.3.5 | 3.3.5 |
  │ 3.3.5 | 3.3.5 | 3.3.6 | 3.3.6 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.8 | 3.3.8 |
  │ 3.3.9 | 3.3.9 | 3.4.0 | 3.4.0 | 3.4.0 | 3.4.0 | 3.4.0
  │ │  │  └─ eigen-abi >=3.4.0.100,<3.4.0.101.0a0, which cannot be installed
  │ because there are no viable options:
  │ │  │     └─ eigen-abi 3.4.0.100 | 3.4.0.100 would constrain
  │ │  │        └─ eigen >=3.4.0,<3.4.1.0a0, which conflicts with any
  │ installable versions previously reported
  │ │  └─ ros-jazzy-pcl-conversions 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 |
  │ 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 is excluded because due to strict channel
  │ priority not using this option from: 'https://conda.anaconda.org/
  │ robostack-jazzy/'
  │ └─ ros2-distro-mutex 0.15.* jazzy_* cannot be installed because there are
  │ no viable options:
  │    └─ ros2-distro-mutex 0.15.0 would constrain
  │       ├─ vtk 9.6.1.*, which conflicts with any installable versions
  │ previously reported
  │       ├─ pcl 1.15.1.*, which conflicts with any installable versions
  │ previously reported
  │       └─ libboost 1.88.*, which conflicts with any installable versions
  │ previously reported

The problem is that we are bound to eigen 3.4.0 until conda-forge/pinocchio-feedstock#163 is fixed, that constraints us to an old build of pcl, that requires vtk 9.6.0, so I guess for now we need to pin vtk to 9.6.0, not 9.6.1 .

@traversaro
Copy link
Copy Markdown
Member

Can you please change the title of the PR to "Full Rebuild (Sync) of May 2026: bump ros2-distro-mutex to 0.15.0 and build_number to 19" for clarity? Thanks!

@traversaro
Copy link
Copy Markdown
Member

Builds fails with:

2026-05-11T09:33:44.0475409Z  │ │ [13/89] Building CXX object ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/types.cpp.o
2026-05-11T09:33:44.0504910Z  │ │ FAILED: [code=1] ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/types.cpp.o 
2026-05-11T09:33:44.0523487Z  │ │ $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DEIGEN_MPL2_ONLY -I$SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include -I$SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/../thirdparty/spdlog -I$SRC_DIR/build/ouster-sdk/generated -I$SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/thirdparty/nmea/include -isystem $PREFIX/include/eigen3 -isystem $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/optional-lite -isystem $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/../thirdparty -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-jazzy-ouster-ros-0.14.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D__STDC_FORMAT_MACROS=1 -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra -MD -MT ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/types.cpp.o -MF ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/types.cpp.o.d -o ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/types.cpp.o -c $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/src/types.cpp
2026-05-11T09:33:44.0534818Z  │ │ In file included from $BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/include/sys/types.h:222,
2026-05-11T09:33:44.0557088Z  │ │                  from $BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:314,
2026-05-11T09:33:44.0564764Z  │ │                  from $BUILD_PREFIX/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/bits/std_abs.h:38,
2026-05-11T09:33:44.0589426Z  │ │                  from $BUILD_PREFIX/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/cmath:49,
2026-05-11T09:33:44.0590908Z  │ │                  from $PREFIX/include/eigen3/Eigen/src/Core/util/Macros.h:679,
2026-05-11T09:33:44.0609654Z  │ │                  from $PREFIX/include/eigen3/Eigen/Core:19,
2026-05-11T09:33:44.0611003Z  │ │                  from $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/types.h:11,
2026-05-11T09:33:44.0612726Z  │ │                  from $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/src/types.cpp:6:
2026-05-11T09:33:44.0615552Z  │ │ $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/version.h: In constructor 'ouster::sdk::core::Version::Version(uint16_t, uint16_t, uint16_t)':
2026-05-11T09:33:44.0618497Z  │ │ $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/version.h:47:11: error: class 'ouster::sdk::core::Version' does not have any field named 'gnu_dev_major'
2026-05-11T09:33:44.0620133Z  │ │    47 |         : major(maj), minor(min), patch(pat) {}
2026-05-11T09:33:44.0620959Z  │ │       |           ^~~~~
2026-05-11T09:33:44.0622824Z  │ │ $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/version.h:47:23: error: class 'ouster::sdk::core::Version' does not have any field named 'gnu_dev_minor'
2026-05-11T09:33:44.0625076Z  │ │    47 |         : major(maj), minor(min), patch(pat) {}
2026-05-11T09:33:44.0625868Z  │ │       |                       ^~~~~
2026-05-11T09:33:44.2241638Z  │ │ [14/89] Building CXX object ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/image_processing.cpp.o
2026-05-11T09:33:44.2247562Z  │ │ FAILED: [code=1] ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/image_processing.cpp.o 
2026-05-11T09:33:44.2282948Z  │ │ $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DEIGEN_MPL2_ONLY -I$SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include -I$SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/../thirdparty/spdlog -I$SRC_DIR/build/ouster-sdk/generated -I$SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/thirdparty/nmea/include -isystem $PREFIX/include/eigen3 -isystem $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/optional-lite -isystem $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/../thirdparty -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-jazzy-ouster-ros-0.14.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D__STDC_FORMAT_MACROS=1 -O3 -DNDEBUG -std=gnu++17 -fPIC -Wall -Wextra -MD -MT ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/image_processing.cpp.o -MF ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/image_processing.cpp.o.d -o ouster-sdk/ouster_client/CMakeFiles/ouster_client.dir/src/image_processing.cpp.o -c $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/src/image_processing.cpp
2026-05-11T09:33:44.2292391Z  │ │ In file included from $BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/include/sys/types.h:222,
2026-05-11T09:33:44.2294410Z  │ │                  from $BUILD_PREFIX/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:314,
2026-05-11T09:33:44.2299042Z  │ │                  from $BUILD_PREFIX/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/bits/std_abs.h:38,
2026-05-11T09:33:44.2311230Z  │ │                  from $BUILD_PREFIX/lib/gcc/x86_64-conda-linux-gnu/14.3.0/include/c++/cmath:49,
2026-05-11T09:33:44.2312608Z  │ │                  from $PREFIX/include/eigen3/Eigen/src/Core/util/Macros.h:679,
2026-05-11T09:33:44.2313905Z  │ │                  from $PREFIX/include/eigen3/Eigen/Core:19,
2026-05-11T09:33:44.2315560Z  │ │                  from $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/image_processing.h:11,
2026-05-11T09:33:44.2320718Z  │ │                  from $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/src/image_processing.cpp:6:
2026-05-11T09:33:44.2328141Z  │ │ $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/version.h: In constructor 'ouster::sdk::core::Version::Version(uint16_t, uint16_t, uint16_t)':
2026-05-11T09:33:44.2331117Z  │ │ $SRC_DIR/ros-jazzy-ouster-ros/src/work/ouster-sdk/ouster_client/include/ouster/version.h:47:11: error: class 'ouster::sdk::core::Version' does not have any field named 'gnu_dev_major'
2026-05-11T09:33:44.2333198Z  │ │    47 |         : major(maj), minor(min), patch(pat) {}

I guess we may use a patch like https://github.com/esteve/ros-humble/blob/humble-full-rebuild-20260511/patch/ros-humble-ouster-ros.patch .

ayushgnv and others added 2 commits May 11, 2026 19:18
Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
@ayushgnv ayushgnv changed the title Full rebuild (to update stale simulation interface packages) Build 18 Full Rebuild (Sync) of May 2026: bump ros2-distro-mutex to 0.15.0 and build_number to 19 May 12, 2026
@traversaro
Copy link
Copy Markdown
Member

For the robot state publisher problem, I guess we can forwardport the change https://github.com/RoboStack/ros-humble/pull/407/changes .

@Tobias-Fischer
Copy link
Copy Markdown
Contributor

For the robot state publisher problem, I guess we can forwardport the change https://github.com/RoboStack/ros-humble/pull/407/changes .

In general I think we have to get better in syncing the different distributions somehow .. I had one attempt with GitHub Agents

Removed outdated cache deletion for specific packages.
@traversaro
Copy link
Copy Markdown
Member

New failure:

ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-jazzy-bonxai-ros-0.6.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.15 -fPIC -Wall -Wextra -Wpedantic -fno-omit-frame-pointer -fopenmp=libomp -MD -MT bonxai_map/CMakeFiles/bonxai_map.dir/src/probabilistic_map.cpp.o -MF bonxai_map/CMakeFiles/bonxai_map.dir/src/probabilistic_map.cpp.o.d -o bonxai_map/CMakeFiles/bonxai_map.dir/src/probabilistic_map.cpp.o -c $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/src/probabilistic_map.cpp
2026-05-24T06:52:21.9255490Z  │ │ dyld[47456]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9260880Z  │ │ dyld[47456]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9266010Z  │ │ dyld[47456]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9271020Z  │ │ dyld[47456]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9276460Z  │ │ dyld[47456]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9280680Z  │ │ dyld[47456]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9285700Z  │ │ dyld[47456]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9290030Z  │ │ dyld[47456]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9294260Z  │ │ dyld[47456]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:21.9298330Z  │ │ In file included from $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/src/probabilistic_map.cpp:1:
2026-05-24T06:52:21.9301480Z  │ │ In file included from $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/include/bonxai_map/probabilistic_map.hpp:6:
2026-05-24T06:52:21.9306720Z  │ │ $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include/bonxai/bonxai.hpp:353:9: error: object of type 'Bonxai::Mask' cannot be assigned because its copy assignment operator is implicitly deleted
2026-05-24T06:52:21.9311090Z  │ │   353 |   mask_ = std::move(other.mask_);
2026-05-24T06:52:21.9313220Z  │ │       |         ^
2026-05-24T06:52:21.9316690Z  │ │ $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include/bonxai/mask.hpp:32:3: note: copy assignment operator is implicitly deleted because 'Mask' has a user-declared move constructor
2026-05-24T06:52:21.9320610Z  │ │    32 |   Mask(Mask&& other);
2026-05-24T06:52:21.9322690Z  │ │       |   ^
2026-05-24T06:52:21.9324350Z  │ │ 1 error generated.
2026-05-24T06:52:28.9435400Z  │ │ [4/12] Building CXX object bonxai_map/CMakeFiles/bonxai_map.dir/src/pcl_utils.cpp.o
2026-05-24T06:52:28.9439280Z  │ │ FAILED: [code=1] bonxai_map/CMakeFiles/bonxai_map.dir/src/pcl_utils.cpp.o 
2026-05-24T06:52:28.9468860Z  │ │ $BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang++ -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DFMT_SHARED -DGLAD_API_CALL_EXPORT -DGL_SILENCE_DEPRECATION -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DSCN_DISABLE_FAST_FLOAT=0 -DSCN_DISABLE_REGEX=0 -DSCN_REGEX_BACKEND=0 -Dbonxai_map_EXPORTS -Dkiss_fft_scalar=double -I$SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/include -I$SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include -isystem $PREFIX/include/eigen3 -isystem $PREFIX/include/pcl-1.15 -isystem $PREFIX/include/vtk-9.6 -isystem $PREFIX/include/vtk-9.6/vtkscn/include -isystem $PREFIX/include/vtk-9.6/vtkscn -isystem $PREFIX/include/vtk-9.6/token -isystem $PREFIX/include/vtk-9.6/vtkkissfft -isystem $PREFIX/include/freetype2 -isystem $PREFIX/include/vtk-9.6/vtkglad -isystem $PREFIX/include/qt6/QtOpenGL -isystem $PREFIX/include/qt6 -isystem $PREFIX/include/qt6/QtCore -isystem $PREFIX/lib/qt6/mkspecs/macx-clang -isystem $PREFIX/include/qt6/QtGui -isystem $PREFIX/include/qt6/QtWidgets -isystem $PREFIX/include/qt6/QtOpenGLWidgets -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-jazzy-bonxai-ros-0.6.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.15 -fPIC -Wall -Wextra -Wpedantic -fno-omit-frame-pointer -fopenmp=libomp -MD -MT bonxai_map/CMakeFiles/bonxai_map.dir/src/pcl_utils.cpp.o -MF bonxai_map/CMakeFiles/bonxai_map.dir/src/pcl_utils.cpp.o.d -o bonxai_map/CMakeFiles/bonxai_map.dir/src/pcl_utils.cpp.o -c $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/src/pcl_utils.cpp
2026-05-24T06:52:28.9495180Z  │ │ dyld[47455]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9499340Z  │ │ dyld[47455]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9502670Z  │ │ dyld[47455]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9505600Z  │ │ dyld[47455]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9508970Z  │ │ dyld[47455]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9513650Z  │ │ dyld[47455]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9517430Z  │ │ dyld[47455]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9520880Z  │ │ dyld[47455]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9524470Z  │ │ dyld[47455]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:28.9527230Z  │ │ In file included from $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/src/pcl_utils.cpp:1:
2026-05-24T06:52:28.9529430Z  │ │ In file included from $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/include/bonxai_map/pcl_utils.hpp:5:
2026-05-24T06:52:28.9545320Z  │ │ $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include/bonxai/bonxai.hpp:353:9: error: object of type 'Bonxai::Mask' cannot be assigned because its copy assignment operator is implicitly deleted
2026-05-24T06:52:28.9548290Z  │ │   353 |   mask_ = std::move(other.mask_);
2026-05-24T06:52:28.9549140Z  │ │       |         ^
2026-05-24T06:52:28.9551380Z  │ │ $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include/bonxai/mask.hpp:32:3: note: copy assignment operator is implicitly deleted because 'Mask' has a user-declared move constructor
2026-05-24T06:52:28.9554340Z  │ │    32 |   Mask(Mask&& other);
2026-05-24T06:52:28.9555060Z  │ │       |   ^
2026-05-24T06:52:28.9555640Z  │ │ 1 error generated.
2026-05-24T06:52:30.2250690Z  │ │ [5/12] Building CXX object CMakeFiles/bonxai_server_node.dir/rclcpp_components/node_main_bonxai_server_node.cpp.o
2026-05-24T06:52:30.2282120Z  │ │ dyld[47458]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2305940Z  │ │ dyld[47458]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2317010Z  │ │ dyld[47458]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2341000Z  │ │ dyld[47458]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2349220Z  │ │ dyld[47458]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2372490Z  │ │ dyld[47458]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2381440Z  │ │ dyld[47458]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2406780Z  │ │ dyld[47458]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:30.2409260Z  │ │ dyld[47458]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7155690Z  │ │ [6/12] Building CXX object CMakeFiles/bonxai_server.dir/bonxai_ros/src/bonxai_server.cpp.o
2026-05-24T06:52:43.7160280Z  │ │ FAILED: [code=1] CMakeFiles/bonxai_server.dir/bonxai_ros/src/bonxai_server.cpp.o 
2026-05-24T06:52:43.7502100Z  │ │ $BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang++ -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DDEFAULT_RMW_IMPLEMENTATION=rmw_fastrtps_cpp -DFASTCDR_DYN_LINK -DFMT_SHARED -DGLAD_API_CALL_EXPORT -DGL_SILENCE_DEPRECATION -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DSCN_DISABLE_FAST_FLOAT=0 -DSCN_DISABLE_REGEX=0 -DSCN_REGEX_BACKEND=0 -Dbonxai_server_EXPORTS -Dkiss_fft_scalar=double -I$SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_ros/include -I$SRC_DIR/ros-jazzy-bonxai-ros/src/work/3rdparty -I$SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_map/include -I$SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include -isystem $PREFIX/include/eigen3 -isystem $PREFIX/include/rclcpp -isystem $PREFIX/include/rclcpp_components -isystem $PREFIX/include/std_srvs -isystem $PREFIX/include/python3.12 -isystem $PREFIX/lib/python3.12/site-packages/numpy/_core/include -isystem $PREFIX/include/sensor_msgs -isystem $PREFIX/include/tf2 -isystem $PREFIX/include/tf2_eigen -isystem $PREFIX/include/tf2_geometry_msgs -isystem $PREFIX/include/tf2_ros -isystem $PREFIX/include/visualization_msgs -isystem $PREFIX/include/message_filters -isystem $PREFIX/include/pcl_conversions -isystem $PREFIX/include/pcl_msgs -isystem $PREFIX/include/std_msgs -isystem $PREFIX/include/pcl-1.15 -isystem $PREFIX/include/builtin_interfaces -isystem $PREFIX/include/rosidl_runtime_c -isystem $PREFIX/include/rcutils -isystem $PREFIX/include/rosidl_typesupport_interface -isystem $PREFIX/include/rosidl_runtime_cpp -isystem $PREFIX/include/rosidl_typesupport_fastrtps_cpp -isystem $PREFIX/include/rmw -isystem $PREFIX/include/rosidl_dynamic_typesupport -isystem $PREFIX/include/rosidl_typesupport_fastrtps_c -isystem $PREFIX/include/rosidl_typesupport_introspection_c -isystem $PREFIX/include/rosidl_typesupport_introspection_cpp -isystem $PREFIX/include/libstatistics_collector -isystem $PREFIX/include/rcl -isystem $PREFIX/include/rcl_interfaces -isystem $PREFIX/include/service_msgs -isystem $PREFIX/include/rcl_logging_interface -isystem $PREFIX/include/rcl_yaml_param_parser -isystem $PREFIX/include/type_description_interfaces -isystem $PREFIX/include/rcpputils -isystem $PREFIX/include/statistics_msgs -isystem $PREFIX/include/rosgraph_msgs -isystem $PREFIX/include/rosidl_typesupport_cpp -isystem $PREFIX/include/rosidl_typesupport_c -isystem $PREFIX/include/tracetools -isystem $PREFIX/include/class_loader -isystem $PREFIX/include/composition_interfaces -isystem $PREFIX/include/geometry_msgs -isystem $PREFIX/include/rclcpp_action -isystem $PREFIX/include/action_msgs -isystem $PREFIX/include/unique_identifier_msgs -isystem $PREFIX/include/rcl_action -isystem $PREFIX/include/tf2_msgs -isystem $PREFIX/include/vtk-9.6 -isystem $PREFIX/include/vtk-9.6/vtkscn/include -isystem $PREFIX/include/vtk-9.6/vtkscn -isystem $PREFIX/include/vtk-9.6/token -isystem $PREFIX/include/vtk-9.6/vtkkissfft -isystem $PREFIX/include/freetype2 -isystem $PREFIX/include/vtk-9.6/vtkglad -isystem $PREFIX/include/qt6/QtOpenGL -isystem $PREFIX/include/qt6 -isystem $PREFIX/include/qt6/QtCore -isystem $PREFIX/lib/qt6/mkspecs/macx-clang -isystem $PREFIX/include/qt6/QtGui -isystem $PREFIX/include/qt6/QtWidgets -isystem $PREFIX/include/qt6/QtOpenGLWidgets -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-jazzy-bonxai-ros-0.6.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -O3 -DNDEBUG -std=gnu++17 -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.15 -fPIC -Wall -Wextra -Wpedantic -fno-omit-frame-pointer -fopenmp=libomp -MD -MT CMakeFiles/bonxai_server.dir/bonxai_ros/src/bonxai_server.cpp.o -MF CMakeFiles/bonxai_server.dir/bonxai_ros/src/bonxai_server.cpp.o.d -o CMakeFiles/bonxai_server.dir/bonxai_ros/src/bonxai_server.cpp.o -c $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_ros/src/bonxai_server.cpp
2026-05-24T06:52:43.7551840Z  │ │ dyld[47457]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7555590Z  │ │ dyld[47457]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7559190Z  │ │ dyld[47457]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7563440Z  │ │ dyld[47457]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7567140Z  │ │ dyld[47457]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7570760Z  │ │ dyld[47457]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7574480Z  │ │ dyld[47457]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7579000Z  │ │ dyld[47457]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7582550Z  │ │ dyld[47457]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
2026-05-24T06:52:43.7585970Z  │ │ In file included from $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_ros/src/bonxai_server.cpp:1:
2026-05-24T06:52:43.7588340Z  │ │ In file included from $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_ros/include/bonxai_server.hpp:15:
2026-05-24T06:52:43.7592220Z  │ │ $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include/bonxai/bonxai.hpp:353:9: error: object of type 'Bonxai::Mask' cannot be assigned because its copy assignment operator is implicitly deleted
2026-05-24T06:52:43.7594940Z  │ │   353 |   mask_ = std::move(other.mask_);
2026-05-24T06:52:43.7595750Z  │ │       |         ^
2026-05-24T06:52:43.7598180Z  │ │ $SRC_DIR/ros-jazzy-bonxai-ros/src/work/bonxai_core/include/bonxai/mask.hpp:32:3: note: copy assignment operator is implicitly deleted because 'Mask' has a user-declared move constructor
2026-05-24T06:52:43.7600860Z  │ │    32 |   Mask(Mask&& other);
2026-05-24T06:52:43.7601620Z  │ │       |   ^
2026-05-24T06:52:43.7602230Z  │ │ 1 error generated.
2026-05-24T06:52:43.7603010Z  │ │ ninja: build stopped: subcommand failed.
2026-05-24T06:52:43.7603980Z  │ │ × error Script failed with status 1
2026-05-24T06:52:43.7605500Z  │ │ × error 
2026-05-24T06:52:43.7606150Z  │ │ × error Script execution failed.
2026-05-24T06:52:43.7606920Z  │ │ × error 
2026-05-24T06:52:43.7608580Z  │ │ × error   Work directory: /Users/runner/work/ros-jazzy/ros-jazzy/output/bld/rattler-build_ros-jazzy-bonxai-ros_1779605344/work
2026-05-24T06:52:43.7613310Z  │ │ × error   Prefix: /Users/runner/work/ros-jazzy/ros-jazzy/output/bld/rattler-build_ros-jazzy-bonxai-ros_1779605344/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
2026-05-24T06:52:43.7618000Z  │ │ × error   Build prefix: /Users/runner/work/ros-jazzy/ros-jazzy/output/bld/rattler-build_ros-jazzy-bonxai-ros_1779605344/build_env
2026-05-24T06:52:43.7619790Z  │ │ × error 
2026-05-24T06:52:43.7620660Z  │ │ × error To run the script manually, use the following command:
2026-05-24T06:52:43.7622320Z  │ │ × error 
2026-05-24T06:52:43.7624230Z  │ │ × error   cd "/Users/runner/work/ros-jazzy/ros-jazzy/output/bld/rattler-build_ros-jazzy-bonxai-ros_1779605344/work" && ./conda_build.sh
2026-05-24T06:52:43.7626060Z  │ │ × error 
2026-05-24T06:52:43.7626970Z  │ │ × error To run commands interactively in the build environment:
2026-05-24T06:52:43.7627970Z  │ │ × error 
2026-05-24T06:52:43.7629720Z  │ │ × error   cd "/Users/runner/work/ros-jazzy/ros-jazzy/output/bld/rattler-build_ros-jazzy-bonxai-ros_1779605344/work" && source build_env.sh
2026-05-24T06:52:43.7631610Z  │ │
2026-05-24T06:52:43.7632240Z  │ ╰─────────────────── (took 2 minutes)
2026-05-24T06:52:43.7633020Z  │

- Refresh rattler-index in the actual output dir on Windows
@traversaro
Copy link
Copy Markdown
Member

2026-05-25T09:18:59.3964698Z  │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
2026-05-25T09:18:59.5329011Z  │ │   example_position.vcxproj -> %SRC_DIR%\build\Release\example_position.exe
2026-05-25T09:18:59.5546828Z  │ │   gz_custom_system.cpp
2026-05-25T09:18:59.6157818Z  │ │   example_position.cpp
2026-05-25T09:19:00.3278418Z  │ │   example_gripper.cpp
2026-05-25T09:19:08.4419165Z  │ │   example_diff_drive.vcxproj -> %SRC_DIR%\build\Release\example_diff_drive.exe
2026-05-25T09:19:08.4424117Z  │ │   example_effort.vcxproj -> %SRC_DIR%\build\Release\example_effort.exe
2026-05-25T09:19:13.4212967Z  │ │   example_gripper.vcxproj -> %SRC_DIR%\build\Release\example_gripper.exe
2026-05-25T09:19:13.5381397Z  │ │ %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(117,42): error C2065: 'M_PI': undeclared identifier [%SRC_DIR%\build\gz_custom_hardware_plugins.vcxproj]
2026-05-25T09:19:13.5411433Z  │ │   (compiling source file '../ros-jazzy-gz-ros2-control-demos/src/work/src/gz_custom_system.cpp')
2026-05-25T09:19:13.5458283Z  │ │       %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(117,42):
2026-05-25T09:19:13.5463474Z  │ │       the template instantiation context (the oldest one first) is
2026-05-25T09:19:13.5510268Z  │ │           %SRC_DIR%\ros-jazzy-gz-ros2-control-demos\src\work\src\gz_custom_system.cpp(266,34):
2026-05-25T09:19:13.5545655Z  │ │           see reference to class template instantiation 'control_toolbox::LowPassFilter<double>' being compiled
2026-05-25T09:19:13.5590040Z  │ │           %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(114,8):
2026-05-25T09:19:13.5632646Z  │ │           while compiling class template member function 'void control_toolbox::LowPassFilter<double>::set_params(double,double,double)'
2026-05-25T09:19:13.5680590Z  │ │               %PREFIX%\Library\include\control_toolbox

This is easy, probably some missing _USE_MATH_DEFINES somewhere.

@Tobias-Fischer
Copy link
Copy Markdown
Contributor

Looks like there's an actual Windows error now @ayushgnv @traversaro:

 │ │ MSBuild version 17.14.40+3e7442088 for .NET Framework
 │ │   1>Checking Build System
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   Building Custom Rule %SRC_DIR%/ros-jazzy-diagnostic-remote-logging/src/work/CMakeLists.txt
 │ │   Building Custom Rule %SRC_DIR%/ros-jazzy-diagnostic-remote-logging/src/work/CMakeLists.txt
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   node_main_influx.cpp
 │ │   influxdb.cpp
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(109,3): error C2059: syntax error: '(' [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │   
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(109,3): error C2143: syntax error: missing ',' before '?' [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │   
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(109,3): error C2059: syntax error: '?' [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │   
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(159,3): error C2535: 'rclcpp::Duration::Duration(void)': member function already defined or declared [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │       %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(107,3):
 │ │       see declaration of 'rclcpp::Duration::Duration'

@traversaro
Copy link
Copy Markdown
Member

Looks like there's an actual Windows error now @ayushgnv @traversaro:

 │ │ MSBuild version 17.14.40+3e7442088 for .NET Framework
 │ │   1>Checking Build System
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   Building Custom Rule %SRC_DIR%/ros-jazzy-diagnostic-remote-logging/src/work/CMakeLists.txt
 │ │   Building Custom Rule %SRC_DIR%/ros-jazzy-diagnostic-remote-logging/src/work/CMakeLists.txt
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   node_main_influx.cpp
 │ │   influxdb.cpp
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(109,3): error C2059: syntax error: '(' [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │   
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(109,3): error C2143: syntax error: missing ',' before '?' [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │   
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(109,3): error C2059: syntax error: '?' [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │   
 │ │ %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(159,3): error C2535: 'rclcpp::Duration::Duration(void)': member function already defined or declared [%SRC_DIR%\build\influx_component.vcxproj]
 │ │   (compiling source file '../ros-jazzy-diagnostic-remote-logging/src/work/src/influxdb.cpp')
 │ │       %PREFIX%\Library\include\rclcpp\rclcpp\duration.hpp(107,3):
 │ │       see declaration of 'rclcpp::Duration::Duration'

Given the line https://github.com/ros2/rclcpp/blob/2ec0a081178f2319be7a23ef42d38270050b8fc9/rclcpp/include/rclcpp/duration.hpp#L109, I think the problem is a leak of inclusion of windows.h in some header included before, this can tipically be fixed by avoiding that, or defining NOMINMAX.

@traversaro
Copy link
Copy Markdown
Member

Interetsingly, ros-jazzy-diagnostic-remote-logging was never built for Windows before: https://prefix.dev/channels/robostack-jazzy/packages/ros-jazzy-diagnostic-remote-logging . I wonder what trigger the build of that package for Windows, perhaps some package that is enable on Windows started depending on it ?

@traversaro
Copy link
Copy Markdown
Member

The problem was already fixed upstream in ros/diagnostics#527 , I guess it was not released or something different is happening?

@Tobias-Fischer
Copy link
Copy Markdown
Contributor

Thanks @traversaro - they released a new version yesterday, pulled that in

@Tobias-Fischer
Copy link
Copy Markdown
Contributor

New error:

 │ │ %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(117,42): error C2065: 'M_PI': undeclared identifier [%SRC_DIR%\build\gz_custom_hardware_plugins.vcxproj]
 │ │   (compiling source file '../ros-jazzy-gz-ros2-control-demos/src/work/src/gz_custom_system.cpp')
 │ │       %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(117,42):
 │ │       the template instantiation context (the oldest one first) is
 │ │           %SRC_DIR%\ros-jazzy-gz-ros2-control-demos\src\work\src\gz_custom_system.cpp(266,34):
 │ │           see reference to class template instantiation 'control_toolbox::LowPassFilter<double>' being compiled
 │ │           %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(114,8):
 │ │           while compiling class template member function 'void control_toolbox::LowPassFilter<double>::set_params(double,double,double)'
 │ │               %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(85,15):
 │ │               see the first reference to 'control_toolbox::LowPassFilter<double>::set_params' in 'control_toolbox::LowPassFilter<double>::LowPassFilter'
 │ │               C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,5):
 │ │               see the first reference to 'control_toolbox::LowPassFilter<double>::LowPassFilter' in 'std::make_unique'
 │ │   
 │ │ %SRC_DIR%\build>if errorlevel 1 exit 1

@traversaro
Copy link
Copy Markdown
Member

New error:

 │ │ %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(117,42): error C2065: 'M_PI': undeclared identifier [%SRC_DIR%\build\gz_custom_hardware_plugins.vcxproj]
 │ │   (compiling source file '../ros-jazzy-gz-ros2-control-demos/src/work/src/gz_custom_system.cpp')
 │ │       %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(117,42):
 │ │       the template instantiation context (the oldest one first) is
 │ │           %SRC_DIR%\ros-jazzy-gz-ros2-control-demos\src\work\src\gz_custom_system.cpp(266,34):
 │ │           see reference to class template instantiation 'control_toolbox::LowPassFilter<double>' being compiled
 │ │           %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(114,8):
 │ │           while compiling class template member function 'void control_toolbox::LowPassFilter<double>::set_params(double,double,double)'
 │ │               %PREFIX%\Library\include\control_toolbox\control_toolbox\low_pass_filter.hpp(85,15):
 │ │               see the first reference to 'control_toolbox::LowPassFilter<double>::set_params' in 'control_toolbox::LowPassFilter<double>::LowPassFilter'
 │ │               C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,5):
 │ │               see the first reference to 'control_toolbox::LowPassFilter<double>::LowPassFilter' in 'std::make_unique'
 │ │   
 │ │ %SRC_DIR%\build>if errorlevel 1 exit 1

ros-controls/control_toolbox#616

@traversaro
Copy link
Copy Markdown
Member

ouster-ros Windows failure:

2026-05-29T11:22:03.5768990Z  │ │ [vcvarsall.bat] Environment initialized for: 'x64'
2026-05-29T11:22:03.6127766Z  │ │ %SRC_DIR%>D:\a\ros-jazzy\ros-jazzy\recipes\ros-jazzy-ouster-ros\bld_ament_cmake.bat
2026-05-29T11:22:03.6149188Z  │ │ %SRC_DIR%>setlocal EnableDelayedExpansion 
2026-05-29T11:22:03.6154262Z  │ │ The system cannot find the file specified.
2026-05-29T11:22:03.6173624Z  │ │ %SRC_DIR%>set "PYTHONPATH=%PREFIX%\Library\lib\site-packages;%PREFIX%\Lib\site-packages" 
2026-05-29T11:22:03.6212556Z  │ │ %SRC_DIR%>set CC=cl.exe 
2026-05-29T11:22:03.6254438Z  │ │ %SRC_DIR%>set CXX=cl.exe 
2026-05-29T11:22:03.6296542Z  │ │ %SRC_DIR%>rd /s /q build 
2026-05-29T11:22:03.6332428Z  │ │ %SRC_DIR%>mkdir build 
2026-05-29T11:22:03.6360776Z  │ │ %SRC_DIR%>pushd build 
2026-05-29T11:22:03.6367982Z  │ │ %SRC_DIR%\build>set "CMAKE_GENERATOR=Visual Studio 17 2022" 
2026-05-29T11:22:03.6371418Z  │ │ %SRC_DIR%\build>FOR /F "tokens=* USEBACKQ" %i IN (`python -c "import os;print(os.path.relpath(os.environ['SP_DIR'],os.environ['LIBRARY_PREFIX']).replace('\\','/'))"`) DO SET PYTHON_INSTALL_DIR=%i 
2026-05-29T11:22:03.6824803Z  │ │ %SRC_DIR%\build>SET PYTHON_INSTALL_DIR=../Lib/site-packages 
2026-05-29T11:22:03.6939163Z  │ │ %SRC_DIR%\build>cmake     -G "Visual Studio 17 2022"     -DCMAKE_INSTALL_PREFIX=%PREFIX%\Library     -DCMAKE_BUILD_TYPE=Release     -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True     -DPYTHON_EXECUTABLE=%PREFIX%\python.exe     -DPython_EXECUTABLE=%PREFIX%\python.exe     -DPython3_EXECUTABLE=%PREFIX%\python.exe     -DSETUPTOOLS_DEB_LAYOUT=OFF     -DBUILD_SHARED_LIBS=ON     -DBUILD_TESTING=OFF     -DCMAKE_OBJECT_PATH_MAX=255     --compile-no-warning-as-error     -DPYTHON_INSTALL_DIR=../Lib/site-packages          %SRC_DIR%\ros-jazzy-ouster-ros\src\work\ 
2026-05-29T11:22:03.9228153Z  │ │ Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
2026-05-29T11:22:04.4512732Z  │ │ -- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.20348.
2026-05-29T11:22:05.4716071Z  │ │ -- The C compiler identification is MSVC 19.44.35227.0
2026-05-29T11:22:06.2230101Z  │ │ -- The CXX compiler identification is MSVC 19.44.35227.0
2026-05-29T11:22:06.2410224Z  │ │ -- Detecting C compiler ABI info
2026-05-29T11:22:06.9373602Z  │ │ -- Detecting C compiler ABI info - done
2026-05-29T11:22:06.9551976Z  │ │ -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
2026-05-29T11:22:06.9563625Z  │ │ -- Detecting C compile features
2026-05-29T11:22:06.9579147Z  │ │ -- Detecting C compile features - done
2026-05-29T11:22:06.9646821Z  │ │ -- Detecting CXX compiler ABI info
2026-05-29T11:22:07.7502980Z  │ │ -- Detecting CXX compiler ABI info - done
2026-05-29T11:22:07.7675745Z  │ │ -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
2026-05-29T11:22:07.7689261Z  │ │ -- Detecting CXX compile features
2026-05-29T11:22:07.7705176Z  │ │ -- Detecting CXX compile features - done
2026-05-29T11:22:07.7789578Z  │ │ -- Found ament_cmake: 2.5.6 (%PREFIX%/Library/share/ament_cmake/cmake)
2026-05-29T11:22:08.0009435Z  │ │ -- Found Python3: %PREFIX%\python.exe (found version "3.12.13") found components: Interpreter
2026-05-29T11:22:08.2184227Z  │ │ -- Found rclcpp: 28.1.18 (%PREFIX%/Library/share/rclcpp/cmake)
2026-05-29T11:22:08.3019824Z  │ │ -- Found rosidl_generator_c: 4.6.7 (%PREFIX%/Library/share/rosidl_generator_c/cmake)
2026-05-29T11:22:08.3358447Z  │ │ -- Found rosidl_generator_cpp: 4.6.7 (%PREFIX%/Library/share/rosidl_generator_cpp/cmake)
2026-05-29T11:22:08.3717073Z  │ │ -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
2026-05-29T11:22:08.4113262Z  │ │ -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
2026-05-29T11:22:08.5808636Z  │ │ -- Found rmw_implementation_cmake: 7.3.3 (%PREFIX%/Library/share/rmw_implementation_cmake/cmake)
2026-05-29T11:22:08.5900386Z  │ │ -- Found rmw_fastrtps_cpp: 8.4.3 (%PREFIX%/Library/share/rmw_fastrtps_cpp/cmake)
2026-05-29T11:22:08.6641224Z  │ │ -- Found OpenSSL: %PREFIX%/Library/lib/libcrypto.lib (found version "3.6.2")
2026-05-29T11:22:08.7010534Z  │ │ -- Found FastRTPS: %PREFIX%/Library/include (Required is at least version "2.13")
2026-05-29T11:22:08.7271157Z  │ │ -- Using RMW implementation 'rmw_fastrtps_cpp' as default
2026-05-29T11:22:08.8659551Z  │ │ -- Found rclcpp_components: 28.1.18 (%PREFIX%/Library/share/rclcpp_components/cmake)
2026-05-29T11:22:08.9290898Z  │ │ -- Found rclcpp_lifecycle: 28.1.18 (%PREFIX%/Library/share/rclcpp_lifecycle/cmake)
2026-05-29T11:22:08.9887350Z  │ │ -- Found std_msgs: 5.3.7 (%PREFIX%/Library/share/std_msgs/cmake)
2026-05-29T11:22:09.0181699Z  │ │ -- Found sensor_msgs: 5.3.7 (%PREFIX%/Library/share/sensor_msgs/cmake)
2026-05-29T11:22:09.0964952Z  │ │ -- Found ouster_sensor_msgs: 0.14.1 (%PREFIX%/Library/share/ouster_sensor_msgs/cmake)
2026-05-29T11:22:09.1323802Z  │ │ -- Found std_srvs: 5.3.7 (%PREFIX%/Library/share/std_srvs/cmake)
2026-05-29T11:22:09.1664295Z  │ │ -- Found rosidl_default_generators: 1.6.0 (%PREFIX%/Library/share/rosidl_default_generators/cmake)
2026-05-29T11:22:09.2094037Z  │ │ -- Found rosidl_adapter: 4.6.7 (%PREFIX%/Library/share/rosidl_adapter/cmake)
2026-05-29T11:22:09.2217269Z  │ │ -- Found Eigen3: %PREFIX%/Library/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.0")
2026-05-29T11:22:09.2712549Z  │ │ -- looking for PCL_COMMON
2026-05-29T11:22:09.2749815Z  │ │ -- Found PCL_COMMON: %PREFIX%/Library/lib/pcl_common.lib
2026-05-29T11:22:09.2782346Z  │ │ -- Found PCL: pcl_common;Boost::system;Boost::iostreams;Boost::filesystem;Boost::serialization
2026-05-29T11:22:09.2823455Z  │ │ -- Found pcl_conversions: 2.6.4 (%PREFIX%/Library/share/pcl_conversions/cmake)
2026-05-29T11:22:09.3492621Z  │ │ -- Found tf2_eigen: 0.36.20 (%PREFIX%/Library/share/tf2_eigen/cmake)
2026-05-29T11:22:09.5138760Z  │ │ -- OpenCV ARCH: x64
2026-05-29T11:22:09.5151688Z  │ │ -- OpenCV RUNTIME: vc17
2026-05-29T11:22:09.5161674Z  │ │ -- OpenCV STATIC: OFF
2026-05-29T11:22:09.5352556Z  │ │ -- Found OpenCV: %PREFIX%/Library (found version "4.13.0")
2026-05-29T11:22:09.5391534Z  │ │ -- Found OpenCV 4.13.0 in %PREFIX%/Library/cmake/x64/vc17/lib
2026-05-29T11:22:09.5442306Z  │ │ -- You might need to add %PREFIX%\Library\cmake\x64\vc17\bin to your PATH to be able to run your applications.
2026-05-29T11:22:09.5481638Z  │ │ -- Using CMAKE_TOOLCHAIN_FILE from env VCPKG_ROOT: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\vcpkg
2026-05-29T11:22:09.5501114Z  │ │ -- Using OusterSDK version from VERSION file: 0.16.1
2026-05-29T11:22:09.5517090Z  │ │ -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
2026-05-29T11:22:10.0408306Z  │ │ -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
2026-05-29T11:22:10.0427005Z  │ │ -- Looking for pthread_create in pthreads
2026-05-29T11:22:10.6343089Z  │ │ -- Looking for pthread_create in pthreads - not found
2026-05-29T11:22:10.6361710Z  │ │ -- Looking for pthread_create in pthread
2026-05-29T11:22:11.2186546Z  │ │ -- Looking for pthread_create in pthread - not found
2026-05-29T11:22:11.2199798Z  │ │ -- Found Threads: TRUE
2026-05-29T11:22:11.5284219Z  │ │ -- Configuring incomplete, errors occurred!
2026-05-29T11:22:11.5320705Z  │ │ CMake Error at %BUILD_PREFIX%/Library/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
2026-05-29T11:22:11.5336378Z  │ │   Could NOT find libzip (missing: libzip_LIBRARIES) (found version "1.11.2")
2026-05-29T11:22:11.5350824Z  │ │ Call Stack (most recent call first):
2026-05-29T11:22:11.5400216Z  │ │   %BUILD_PREFIX%/Library/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
2026-05-29T11:22:11.5425329Z  │ │   ouster-sdk/cmake/Findlibzip.cmake:48 (find_package_handle_standard_args)
2026-05-29T11:22:11.5445547Z  │ │   ouster-sdk/ouster_client/CMakeLists.txt:5 (find_package)
2026-05-29T11:22:11.5522692Z  │ │ %SRC_DIR%\build>if errorlevel 1 exit 1 
2026-05-29T11:22:11.5527328Z  │ │ × error Script failed with status 1
2026-05-29T11:22:11.5533282Z  │ │ × error 
2026-05-29T11:22:11.5533880Z  │ │ × error Script execution failed.
2026-05-29T11:22:11.5534358Z  │ │ × error 
2026-05-29T11:22:11.5534828Z  │ │ × error   Work directory: C:\bld\bld\rattler-build_ros-jazzy-ouster-ros_1780042076\work
2026-05-29T11:22:11.5535470Z  │ │ × error   Prefix: C:\bld\bld\rattler-build_ros-jazzy-ouster-ros_1780042076\h_env
2026-05-29T11:22:11.5536109Z  │ │ × error   Build prefix: C:\bld\bld\rattler-build_ros-jazzy-ouster-ros_1780042076\build_env
2026-05-29T11:22:11.5536556Z  │ │ × error 
2026-05-29T11:22:11.5537032Z  │ │ × error To run the script manually, use the following command:
2026-05-29T11:22:11.5537852Z  │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-jazzy-ouster-ros_1780042076\\work" && ./conda_build.bat
2026-05-29T11:22:11.5538345Z  │ │ × error 
2026-05-29T11:22:11.5538824Z  │ │ × error To run commands interactively in the build environment:
2026-05-29T11:22:11.5539476Z  │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-jazzy-ouster-ros_1780042076\\work" && call build_env.bat
2026-05-29T11:22:11.5539944Z  │ │
2026-05-29T11:22:11.5540253Z  │ ╰─────────────────── (took 10 seconds)
2026-05-29T11:22:11.5557853Z  │
2026-05-29T11:22:11.5558185Z  ╰─────────────────── (took 2 minutes)
2026-05-29T11:22:11.8479993Z Error:   × Script failed to execute

@traversaro
Copy link
Copy Markdown
Member

2026-05-29T11:22:09.5442306Z  │ │ -- You might need to add %PREFIX%\Library\cmake\x64\vc17\bin to your PATH to be able to run your applications.
2026-05-29T11:22:09.5481638Z  │ │ -- Using CMAKE_TOOLCHAIN_FILE from env VCPKG_ROOT: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\vcpkg
2026-05-29T11:22:09.5501114Z  │ │ -- Using OusterSDK version from VERSION file: 0.16.1

ups, this part seems completly wrong.

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