Skip to content

Conversation

@traversaro
Copy link
Member

The main goal here is to align noetic with the rest of the repos, switching to a unified vinca.yaml and similar. To be honest, I do not have any interested in Noetic packages it self at the moment, so if anyone more interested in Noetic wants to help here it would be great.

fyi @mmoerdijk @TedVanderfeen @ruben-arts @baszalmstra @vmehta-humanoid @nmarticorena @daenny (just tagging the author of recent PRs to the Noetic repo)

@traversaro
Copy link
Member Author

At the moment the rosbash patch modified in #536 is not applying. @daenny can you look into that? Thanks!

@baszalmstra
Copy link
Contributor

Id like to help! :)

@traversaro
Copy link
Member Author

Id like to help! :)

I gave you access to the fork, feel free to push directly there in the rebuildnov2025 branch.

@baszalmstra
Copy link
Contributor

Thanks! I pushed a number of (mostly windows) related fixes. Will continue later.

The upstream source at release/noetic/rosbag/1.17.4-1 now uses
conditional compilation (#if BOOST_VERSION < 107200) for boost headers.
@baszalmstra
Copy link
Contributor

baszalmstra commented Nov 1, 2025

I just tried to fix rosbash but it looks like the zsh implementation has changed quite a bit. I let my AI assistant cobble something together but I dont really trust it enough.

@baszalmstra
Copy link
Contributor

Should we try to use conda-forge fcl for ros-noetic-fcl instead?

baszalmstra and others added 8 commits November 2, 2025 00:15
The upstream source already removed add_compile_options(-std=c++11).
Regenerated patch to only add OpenCV find_package and linking.
The upstream source at release/noetic/rosgraph/1.17.4-1 already has
Python 3.11+ compatibility handling with conditional logic.
The upstream source at release/noetic/rospack/2.6.4-1 already handles
APPLE-specific library exclusion using a package_libraries variable.
The upstream source already has the boost filesystem API updates
(fs::extension). Regenerated patch without those already-applied changes.
The upstream source at release/noetic/topic_tools/1.17.4-1 already
includes the <thread> header that this patch was adding.
The upstream source at release/noetic/tf2_py/0.7.10-1 already includes
the APPLE-specific Python linking and -undefined dynamic_lookup flags.
The upstream source at release/noetic/tf/1.13.4-1 already removed the
C++11 checking logic. Regenerated patch with only NO_ERROR and sys/time.h changes.
@traversaro
Copy link
Member Author

Should we try to use conda-forge fcl for ros-noetic-fcl instead?

Done in traversaro@596aa7a .

@daenny
Copy link
Contributor

daenny commented Nov 1, 2025

I can have a look at the zsh patch on Monday, but I am also fine with just removing it.

Refactor run_rattler_build to run recipes individually and report results. Better for debugging.
@daenny
Copy link
Contributor

daenny commented Nov 3, 2025

I can have a look at the zsh patch on Monday, but I am also fine with just removing it.

I had a look, and it indeed changed quite a bit. I cannot get it to work on my workspace. It's only completing files in the current folder.
As it's EOL, I would propose to just remove the patch for zsh.

@traversaro
Copy link
Member Author

traversaro commented Nov 3, 2025

I can have a look at the zsh patch on Monday, but I am also fine with just removing it.

I had a look, and it indeed changed quite a bit. I cannot get it to work on my workspace. It's only completing files in the current folder. As it's EOL, I would propose to just remove the patch for zsh.

Ok for me, do you have any different opinion on this @baszalmstra @ruben-arts ? For reference, the patches were added in #536 and #542 .

@traversaro
Copy link
Member Author

In the meanwhile I remove it to actually start the build, we can always re-add back the patch if somebody is interested in that.

@baszalmstra
Copy link
Contributor

I have no problems with that, lets get this build going!

@traversaro
Copy link
Member Author

traversaro commented Nov 3, 2025

First failure:

2025-11-03T09:46:12.5252935Z  │ │ INFO: activate-gxx_linux-aarch64.sh made the following environmental changes:
2025-11-03T09:46:12.5269865Z  │ │ +CXX=$BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++
2025-11-03T09:46:12.5275437Z  │ │ +CXXFLAGS=-fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-noetic-eigen-conversions-1.13.4 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
2025-11-03T09:46:12.5276883Z  │ │ +CXX_FOR_BUILD=$BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++
2025-11-03T09:46:12.5282268Z  │ │ +DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-noetic-eigen-conversions-1.13.4 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
2025-11-03T09:46:12.5283907Z  │ │ +GXX=$BUILD_PREFIX/bin/aarch64-conda-linux-gnu-g++
2025-11-03T09:46:12.5316336Z  │ │ USING PYTHON_EXECUTABLE=$PREFIX/bin/python
2025-11-03T09:46:12.5318147Z  │ │ USING PKG_CONFIG_EXECUTABLE=$PREFIX/bin/pkg-config
2025-11-03T09:46:12.5426001Z  │ │ Using Python 3.11
2025-11-03T09:46:12.5451436Z  │ │ Using site-package dir $PREFIX/lib/python3.11/site-packages
2025-11-03T09:46:12.5513945Z  │ │ Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
2025-11-03T09:46:12.5514948Z  │ │ CMake Error at CMakeLists.txt:34:
2025-11-03T09:46:12.5515554Z  │ │ -- Configuring incomplete, errors occurred!
2025-11-03T09:46:12.5516349Z  │ │   Parse error.  Expected "(", got identifier with text "DESTINATION".
2025-11-03T09:46:12.5528769Z  │ │ × error Script failed with status 1
2025-11-03T09:46:12.5529853Z  │ │ × error 
2025-11-03T09:46:12.5530150Z  │ │ × error Script execution failed.
2025-11-03T09:46:12.5530403Z  │ │ × error 
2025-11-03T09:46:12.5531019Z  │ │ × error   Work directory: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-eigen-conversions_1762162486/work
2025-11-03T09:46:12.5532650Z  │ │ × error   Prefix: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-eigen-conversions_1762162486/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p
2025-11-03T09:46:12.5534411Z  │ │ × error   Build prefix: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-eigen-conversions_1762162486/build_env
2025-11-03T09:46:12.5534958Z  │ │ × error 
2025-11-03T09:46:12.5535242Z  │ │ × error To run the script manually, use the following command:
2025-11-03T09:46:12.5535542Z  │ │ × error 
2025-11-03T09:46:12.5536137Z  │ │ × error   cd "/home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-eigen-conversions_1762162486/work" && ./conda_build.sh
2025-11-03T09:46:12.5536701Z  │ │ × error 
2025-11-03T09:46:12.5536996Z  │ │ × error To run commands interactively in the build environment:
2025-11-03T09:46:12.5537305Z  │ │ × error 
2025-11-03T09:46:12.5537913Z  │ │ × error   cd "/home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-eigen-conversions_1762162486/work" && source build_env.sh
2025-11-03T09:46:12.5538659Z  │ │
2025-11-03T09:46:12.5538882Z  │ ╰─────────────────── (took 0 seconds)
2025-11-03T09:46:12.5539118Z  │
2025-11-03T09:46:12.5539331Z  ╰─────────────────── (took 4 seconds)

as our patch was merged in ros/geometry#214 and released in https://github.com/ros/geometry/releases/tag/1.13.4, we can just drop it.

@traversaro
Copy link
Member Author

New failure:

2025-11-03T10:13:11.5302275Z  ╰─────────────────── (took 1 second)
2025-11-03T10:13:11.6120877Z Error:   × Failed to resolve dependencies: Cannot solve the request because of: ros-
2025-11-03T10:13:11.6121470Z   │ noetic-fcl * cannot be installed because there are no viable options:
2025-11-03T10:13:11.6121853Z   │ └─ ros-noetic-fcl 7.0.0 would require
2025-11-03T10:13:11.6122200Z   │    └─ fcl >=7.0.0,<7.1.0a0, for which no candidates were found.
2025-11-03T10:13:11.6122531Z   │ The following packages are incompatible
2025-11-03T10:13:11.6122905Z   │ └─ ros-noetic-fcl * cannot be installed because there are no viable
2025-11-03T10:13:11.6123213Z   │ options:
2025-11-03T10:13:11.6123500Z   │    └─ ros-noetic-fcl 0.6.1 | 0.6.1 | 0.6.1 is excluded because due to
2025-11-03T10:13:11.6123914Z   │ strict channel priority not using this option from: 'https://
2025-11-03T10:13:11.6124691Z   │ conda.anaconda.org/robostack-staging/'
2025-11-03T10:13:11.6125120Z   │ 
2025-11-03T10:13:11.6125429Z   ╰─▶ Cannot solve the request because of: ros-noetic-fcl * cannot be
2025-11-03T10:13:11.6125757Z       installed because there are no viable options:
2025-11-03T10:13:11.6126195Z       └─ ros-noetic-fcl 7.0.0 would require
2025-11-03T10:13:11.6126589Z          └─ fcl >=7.0.0,<7.1.0a0, for which no candidates were found.
2025-11-03T10:13:11.6126880Z       The following packages are incompatible
2025-11-03T10:13:11.6127256Z       └─ ros-noetic-fcl * cannot be installed because there are no viable
2025-11-03T10:13:11.6127550Z       options:
2025-11-03T10:13:11.6127841Z          └─ ros-noetic-fcl 0.6.1 | 0.6.1 | 0.6.1 is excluded because due to
2025-11-03T10:13:11.6128197Z       strict channel priority not using this option from: 'https://
2025-11-03T10:13:11.6128507Z       conda.anaconda.org/robostack-staging/'
2025-11-03T10:13:11.6128731Z       
2025-11-03T10:13:11.6128811Z 

this is something related to dummy packages.

@traversaro
Copy link
Member Author

New failure:

2025-11-03T10:13:11.5302275Z  ╰─────────────────── (took 1 second)
2025-11-03T10:13:11.6120877Z Error:   × Failed to resolve dependencies: Cannot solve the request because of: ros-
2025-11-03T10:13:11.6121470Z   │ noetic-fcl * cannot be installed because there are no viable options:
2025-11-03T10:13:11.6121853Z   │ └─ ros-noetic-fcl 7.0.0 would require
2025-11-03T10:13:11.6122200Z   │    └─ fcl >=7.0.0,<7.1.0a0, for which no candidates were found.
2025-11-03T10:13:11.6122531Z   │ The following packages are incompatible
2025-11-03T10:13:11.6122905Z   │ └─ ros-noetic-fcl * cannot be installed because there are no viable
2025-11-03T10:13:11.6123213Z   │ options:
2025-11-03T10:13:11.6123500Z   │    └─ ros-noetic-fcl 0.6.1 | 0.6.1 | 0.6.1 is excluded because due to
2025-11-03T10:13:11.6123914Z   │ strict channel priority not using this option from: 'https://
2025-11-03T10:13:11.6124691Z   │ conda.anaconda.org/robostack-staging/'
2025-11-03T10:13:11.6125120Z   │ 
2025-11-03T10:13:11.6125429Z   ╰─▶ Cannot solve the request because of: ros-noetic-fcl * cannot be
2025-11-03T10:13:11.6125757Z       installed because there are no viable options:
2025-11-03T10:13:11.6126195Z       └─ ros-noetic-fcl 7.0.0 would require
2025-11-03T10:13:11.6126589Z          └─ fcl >=7.0.0,<7.1.0a0, for which no candidates were found.
2025-11-03T10:13:11.6126880Z       The following packages are incompatible
2025-11-03T10:13:11.6127256Z       └─ ros-noetic-fcl * cannot be installed because there are no viable
2025-11-03T10:13:11.6127550Z       options:
2025-11-03T10:13:11.6127841Z          └─ ros-noetic-fcl 0.6.1 | 0.6.1 | 0.6.1 is excluded because due to
2025-11-03T10:13:11.6128197Z       strict channel priority not using this option from: 'https://
2025-11-03T10:13:11.6128507Z       conda.anaconda.org/robostack-staging/'
2025-11-03T10:13:11.6128731Z       
2025-11-03T10:13:11.6128811Z 

this is something related to dummy packages.

There was a stupid typo: 4b34637 .

@traversaro
Copy link
Member Author

traversaro commented Nov 3, 2025

Next error on linux-64:

2025-11-03T10:45:12.2135887Z  │ │   --help-policy CMP0167" for policy details.  Use the cmake_policy command to
2025-11-03T10:45:12.2137620Z  │ │   set the policy and suppress this warning.
2025-11-03T10:45:12.2141897Z  │ │ This warning is for project developers.  Use -Wno-dev to suppress it.
2025-11-03T10:45:12.2331672Z  │ │ -- Found Boost: $PREFIX/lib/cmake/Boost-1.86.0/BoostConfig.cmake (found version "1.86.0") found components: thread filesystem system program_options date_time
2025-11-03T10:45:12.2346901Z  │ │ CMake Warning (dev) at CMakeLists.txt:129 (find_package):
2025-11-03T10:45:12.2349212Z  │ │   Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
2025-11-03T10:45:12.2351689Z  │ │   --help-policy CMP0167" for policy details.  Use the cmake_policy command to
2025-11-03T10:45:12.2353575Z  │ │   set the policy and suppress this warning.
2025-11-03T10:45:12.2357317Z  │ │ This warning is for project developers.  Use -Wno-dev to suppress it.
2025-11-03T10:45:12.2432215Z  │ │ -- Found Boost: $PREFIX/lib/cmake/Boost-1.86.0/BoostConfig.cmake (found version "1.86.0") found components: thread filesystem system program_options date_time chrono
2025-11-03T10:45:12.2530122Z  │ │ -- libnabo found, version 1.0.7 (include= libs=)
2025-11-03T10:45:12.2532631Z  │ │ -- using built-in yaml-cpp, version 0.3.0
2025-11-03T10:45:12.2534503Z  │ │    -- text-based configuration enabled
2025-11-03T10:45:12.2536449Z  │ │ -- Looking for _POSIX_TIMERS
2025-11-03T10:45:12.3051815Z  │ │ -- Looking for _POSIX_TIMERS - found
2025-11-03T10:45:12.3070382Z  │ │ -- API Documentation (doxygen): disabled
2025-11-03T10:45:12.3103364Z  │ │ -- Configuring done (0.6s)
2025-11-03T10:45:12.3473137Z  │ │ CMake Error:
2025-11-03T10:45:12.3475003Z  │ │   Running
2025-11-03T10:45:12.3480490Z  │ │    '$BUILD_PREFIX/bin/ninja' '-C' '$SRC_DIR/build' '-t' 'recompact'
2025-11-03T10:45:12.3482967Z  │ │   failed with:
2025-11-03T10:45:12.3486274Z  │ │    ninja: error: build.ninja:1246: bad $-escape (literal $ must be written as $$)
2025-11-03T10:45:12.3488288Z  │ │   
2025-11-03T10:45:12.3499236Z  │ │ -- Generating done (0.0s)
2025-11-03T10:45:12.3500478Z  │ │ CMake Warning:
2025-11-03T10:45:12.3502903Z  │ │   Manually-specified variables were not used by the project:
2025-11-03T10:45:12.3505350Z  │ │     CATKIN_BUILD_BINARY_PACKAGE
2025-11-03T10:45:12.3507010Z  │ │     CATKIN_SKIP_TESTING
2025-11-03T10:45:12.3508780Z  │ │     CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
2025-11-03T10:45:12.3510445Z  │ │     PKG_CONFIG_EXECUTABLE
2025-11-03T10:45:12.3512506Z  │ │     PYTHON_EXECUTABLE
2025-11-03T10:45:12.3514158Z  │ │     PYTHON_INSTALL_DIR
2025-11-03T10:45:12.3515826Z  │ │     Python3_EXECUTABLE
2025-11-03T10:45:12.3517519Z  │ │     Python3_FIND_STRATEGY
2025-11-03T10:45:12.3519164Z  │ │     Python_EXECUTABLE
2025-11-03T10:45:12.3521030Z  │ │     SETUPTOOLS_DEB_LAYOUT
2025-11-03T10:45:12.3525060Z  │ │ CMake Generate step failed.  Build files cannot be regenerated correctly.
2025-11-03T10:45:12.3560511Z  │ │ × error Script failed with status 1
2025-11-03T10:45:12.3561632Z  │ │ × error 
2025-11-03T10:45:12.3562021Z  │ │ × error Script execution failed.
2025-11-03T10:45:12.3562450Z  │ │ × error 
2025-11-03T10:45:12.3563231Z  │ │ × error   Work directory: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-libpointmatcher_1762165279/work
2025-11-03T10:45:12.3565169Z  │ │ × error   Prefix: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-libpointmatcher_1762165279/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla
2025-11-03T10:45:12.3567215Z  │ │ × error   Build prefix: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-libpointmatcher_1762165279/build_env
2025-11-03T10:45:12.3567804Z  │ │ × error 
2025-11-03T10:45:12.3568108Z  │ │ × error To run the script manually, use the following command:
2025-11-03T10:45:12.3568420Z  │ │ × error 
2025-11-03T10:45:12.3569046Z  │ │ × error   cd "/home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-libpointmatcher_1762165279/work" && ./conda_build.sh
2025-11-03T10:45:12.3569644Z  │ │ × error 
2025-11-03T10:45:12.3570061Z  │ │ × error To run commands interactively in the build environment:

the error is familiar, but I do not remember a lot about that.

@Jack-Punter

This comment was marked as outdated.

@traversaro
Copy link
Member Author

building locally on linux-64 i'm running into some A CUDAToolkit CMake error trying to build ros-neotic-slam-toolbox

I am note sure about that, but it seems that the Ceres CMake config is getting confused as it is finding something (CUDA?) in your system instead of your rattler-build prefix, and that result in a failure. That is probably a bug in Ceres or CMake, especially around the part in the CeresConfig.cmake file that calls:

find_dependency(CUDAToolkit)

that should quietly fail. Anyhow, for the purpouse of the build, just avoiding this system interference is enough. To do so, you can either run the build process in a Docker environment, or also pass the CMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit:BOOL=ON to the slam-toolbox build, by adding in pkg_additional_info.yaml the line:

# Workaround for https://github.com/RoboStack/ros-noetic/pull/557#issuecomment-3480296640
slam_toolbox:
  additional_cmake_args: "-DCMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit:BOOL=ON"

@Jack-Punter
Copy link

or also pass the CMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit:BOOL=ON to the slam-toolbox build, by adding in pkg_additional_info.yaml the line:

Interestingly this did not resolve the issue (unless I have to clear some kind of cache for this to work)
I did have some issues with some of my nvidia packages so ended up having to purge them all and reinstall the driver, but i haven't installed CUDA so its not on my system as far as i can tell, so not sure whats going on with this I'll put together a docker environment to see if that works as expected.

@traversaro
Copy link
Member Author

or also pass the CMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit:BOOL=ON to the slam-toolbox build, by adding in pkg_additional_info.yaml the line:

Interestingly this did not resolve the issue (unless I have to clear some kind of cache for this to work) I did have some issues with some of my nvidia packages so ended up having to purge them all and reinstall the driver, but i haven't installed CUDA so its not on my system as far as i can tell, so not sure whats going on with this I'll put together a docker environment to see if that works as expected.

Interesting, I think there are a few ways to debug this:

  • Check in recipes/ros-noetic-slam-toolbox/build.sh to check if the CMake option is actually passed to CMake in the build script
  • After the build has failed, you can check in the work location described by the error log, and if you check the CMakeCache.txt and look for CUDAToolkit you may find the installation of CUDA that CMake is finding

@Jack-Punter
Copy link

Ok. its definitely something to do with my system, running in docker gets the to the same ninja error you shared to above

Check in recipes/ros-noetic-slam-toolbox/build.sh to check if the CMake option is actually passed to CMake in the build script

It does appear to be put in there

cmake ${CMAKE_ARGS} --compile-no-warning-as-error \
         # ... 
         -DCMAKE_OSX_DEPLOYMENT_TARGET=$OSX_DEPLOYMENT_TARGET \
         $EXTRA_CMAKE_ARGS \
         -DCMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit:BOOL=ON \
         -G "$GENERATOR" \
         $SRC_DIR/$PKG_NAME/src/work/

After the build has failed, you can check in the work location described by the error log, and if you check the CMakeCache.txt and look for CUDAToolkit you may find the installation of CUDA that CMake is finding

Interestingly the CMakeCache.txt also these this lines as the only mention of CUDA in the file:

//No help, variable specified on the command line.
CMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit:BOOL=ON

Given it's working in the pipeline and in docker on my system I'm going to chalk this up to some super funky package state on my system.

@Tobias-Fischer
Copy link
Collaborator

Linux error:

 │ │ CMake Error:
 │ │   Running
 │ │    '$BUILD_PREFIX/bin/ninja' '-C' '$SRC_DIR/build' '-t' 'recompact'
 │ │   failed with:
 │ │    ninja: error: build.ninja:1246: bad $-escape (literal $ must be written as $$)
 │ │   
 │ │ -- Generating done (0.0s)
 │ │ CMake Warning:
 │ │   Manually-specified variables were not used by the project:
 │ │     CATKIN_BUILD_BINARY_PACKAGE
 │ │     CATKIN_SKIP_TESTING
 │ │     CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
 │ │     PKG_CONFIG_EXECUTABLE
 │ │     PYTHON_EXECUTABLE
 │ │     PYTHON_INSTALL_DIR
 │ │     Python3_EXECUTABLE
 │ │     Python3_FIND_STRATEGY
 │ │     Python_EXECUTABLE
 │ │     SETUPTOOLS_DEB_LAYOUT
 │ │ CMake Generate step failed.  Build files cannot be regenerated correctly.
 │ │ × error Script failed with status 1
 │ │ × error 
 │ │ × error Script execution failed.
 │ │ × error 
 │ │ × error   Work directory: /home/runner/work/ros-noetic/ros-noetic/output/bld/rattler-build_ros-noetic-libpointmatcher_1762165279/work

@Tobias-Fischer
Copy link
Collaborator

Windows error:

 │ │ cmake --build . --config Release --target all --parallel 1  
 │ │  if errorlevel 1 exit 1 
 │ │ )  else (
 │ │ cmake --build . --config Release --target all  
 │ │  if errorlevel 1 exit 1 
 │ │ ) 
 │ │ [1/56] Building CXX object CMakeFiles\rosbag.dir\src\time_translator.cpp.obj
 │ │ [2/56] Building CXX object CMakeFiles\rosbag_rosbag_exec_devel.dir\catkin_generated\add_python_executable\rosbag_rosbag_exec_devel\rosbag.cpp.obj
 │ │ [3/56] Building CXX object CMakeFiles\rosbag_rosbag_exec_install.dir\catkin_generated\add_python_executable\rosbag_rosbag_exec_install\rosbag.cpp.obj
 │ │ [4/56] Building CXX object CMakeFiles\rosbag.dir\src\recorder.cpp.obj
 │ │ FAILED: [code=2] CMakeFiles/rosbag.dir/src/recorder.cpp.obj 
 │ │ C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNOMINMAX -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"rosbag\" -DWIN32_LEAN_AND_MEAN -D_FILE_OFFSET_BITS=64 -D_USE_MATH_DEFINES -Drosbag_EXPORTS -I%SRC_DIR%\ros-noetic-rosbag\src\work\include -I%PREFIX%\Library\share\xmlrpcpp\cmake\..\..\..\include\xmlrpcpp -external:I%PREFIX%\Library\include -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG   /D _VARIADIC_MAX=10 /Zc:__cplusplus /showIncludes /FoCMakeFiles\rosbag.dir\src\recorder.cpp.obj /FdCMakeFiles\rosbag.dir\ /FS -c %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(352): error C2065: 'not': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(352): error C2146: syntax error: missing ')' before identifier 'result'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(352): error C2059: syntax error: ')'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(354): error C2059: syntax error: ';'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(376): error C2059: syntax error: 'if'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(380): error C2059: syntax error: 'if'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(380): error C2143: syntax error: missing ';' before '{'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(380): error C2447: '{': missing function header (old-style formal list?)
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(393): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(396): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(406): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(407): error C3861: 'timeToStr': identifier not found
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(408): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(409): error C2065: 'split_count_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(413): error C3861: 'BagException': identifier not found
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(416): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(418): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(420): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(421): error C2065: 'write_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(421): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(425): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(429): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(432): error C2065: 'queue_mutex_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(433): error C2065: 'queue_queue_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(433): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(433): error C2065: 'queue_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(433): error C3861: 'OutgoingQueue': identifier not found
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(434): error C2065: 'queue_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(434): error C2065: 'OutgoingMessage': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(434): error C2923: 'std::queue': 'OutgoingMessage' is not a valid template type argument for parameter '_Ty'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(434): note: see declaration of 'OutgoingMessage'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(434): error C2976: 'std::queue': too few template arguments
 │ │ C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\queue(34): note: see declaration of 'std::queue'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(434): error C2512: 'std::queue': no appropriate default constructor available
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(435): error C2065: 'queue_size_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(438): error C2065: 'queue_condition_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(441): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(442): error C2065: 'bag_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(442): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(443): error C2065: 'bag_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(443): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(447): error C2065: 'bag_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(447): error C2065: 'write_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(447): error C2653: 'bagmode': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(447): error C2065: 'Write': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(451): error C2065: 'exit_code_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(454): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(456): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(460): error C2065: 'latched_msgs_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(460): error C2530: 'out': references must be initialized
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(460): error C3531: 'out': a symbol whose type contains 'auto' must have an initializer
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(460): error C2143: syntax error: missing ';' before ':'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(460): error C2143: syntax error: missing ';' before ')'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(464): error C2065: 'bag_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(468): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(471): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(472): error C2065: 'pub_begin_write': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(476): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(477): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(478): error C2065: 'bag_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(479): error C2065: 'write_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(479): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(479): error C2660: 'rename': function does not take 1 arguments
 │ │ C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stdio.h(374): note: see declaration of 'rename'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(479): note: while trying to match the argument list '()'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(482): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(484): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(486): error C2065: 'current_files_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(486): error C2065: 'target_filename_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(487): error C2065: 'current_files_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(487): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(489): error C2065: 'current_files_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(492): error C2065: 'current_files_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(494): error C2065: 'current_files_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(499): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(501): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(503): error C2065: 'bag_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(503): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(505): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(508): error C2065: 'split_count_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(520): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(522): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(524): error C2065: 'start_time_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(524): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(526): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(528): error C2065: 'start_time_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(528): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(531): error C2065: 'split_count_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(533): error C2065: 'start_time_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(533): error C2065: 'options_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(547): error C2653: 'Recorder': is not a class or namespace name
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(552): error C2065: 'warn_next_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(556): error C3861: 'checkDisk': identifier not found
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(561): error C2065: 'exit_code_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(566): error C2065: 'check_disk_next_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(572): error C2065: 'queue_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(573): error C2065: 'queue_mutex_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(576): error C2065: 'queue_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(585): error C2065: 'queue_condition_': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(595): error C2065: 'OutgoingMessage': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(595): error C2146: syntax error: missing ';' before identifier 'out'
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(595): error C2065: 'out': undeclared identifier
 │ │ %SRC_DIR%\ros-noetic-rosbag\src\work\src\recorder.cpp(595): fatal error C1003: error count exceeds 100; stopping compilation

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.

5 participants