Skip to content

Conversation

@traversaro
Copy link
Member

As requested in RoboStack/ros-humble#325 .

@traversaro
Copy link
Member Author

Small problem on Windows, usual symbols not exported:

  │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\T03_mcap_writer.vcxproj]
 │ │   T02_custom_types.cpp
 │ │   dt_tests.cpp
 │ │   custom_types_tests.cpp
 │ │   parser_tests.cpp
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\T02_custom_types.vcxproj]
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\mcap_reader.vcxproj]
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\ros2_publisher.vcxproj]
 │ │   Generating Code...
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\tests\datatamer_test.vcxproj]
 │ │ %SRC_DIR%\build>if errorlevel 1 exit 1 
 │ │ × error Script failed with status 1
 │ │ × error 
 │ │ × error Script execution failed.
 │ │ × error 
 │ │ × error   Work directory: C:\bld\bld\rattler-build_ros-kilted-data-tamer-cpp_1752736993\work
 │ │ × error   Prefix: C:\bld\bld\rattler-build_ros-kilted-data-tamer-cpp_1752736993\h_env
 │ │ × error   Build prefix: C:\bld\bld\rattler-build_ros-kilted-data-tamer-cpp_1752736993\build_env
 │ │ × error 
 │ │ × error To run the script manually, use the following command:
 │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-kilted-data-tamer-cpp_1752736993\\work" && ./conda_build.bat
 │ │ × error 
 │ │ × error To run commands interactively in the build environment:
 │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-kilted-data-tamer-cpp_1752736993\\work" && call build_env.bat
 │ │
 │ ╰─────────────────── (took 41 seconds)

@traversaro
Copy link
Member Author

Small problem on Windows, usual symbols not exported:

  │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\T03_mcap_writer.vcxproj]
 │ │   T02_custom_types.cpp
 │ │   dt_tests.cpp
 │ │   custom_types_tests.cpp
 │ │   parser_tests.cpp
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\T02_custom_types.vcxproj]
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\mcap_reader.vcxproj]
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\examples\ros2_publisher.vcxproj]
 │ │   Generating Code...
 │ │ LINK : fatal error LNK1181: cannot open input file '..\Release\data_tamer.lib' [%SRC_DIR%\build\tests\datatamer_test.vcxproj]
 │ │ %SRC_DIR%\build>if errorlevel 1 exit 1 
 │ │ × error Script failed with status 1
 │ │ × error 
 │ │ × error Script execution failed.
 │ │ × error 
 │ │ × error   Work directory: C:\bld\bld\rattler-build_ros-kilted-data-tamer-cpp_1752736993\work
 │ │ × error   Prefix: C:\bld\bld\rattler-build_ros-kilted-data-tamer-cpp_1752736993\h_env
 │ │ × error   Build prefix: C:\bld\bld\rattler-build_ros-kilted-data-tamer-cpp_1752736993\build_env
 │ │ × error 
 │ │ × error To run the script manually, use the following command:
 │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-kilted-data-tamer-cpp_1752736993\\work" && ./conda_build.bat
 │ │ × error 
 │ │ × error To run commands interactively in the build environment:
 │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-kilted-data-tamer-cpp_1752736993\\work" && call build_env.bat
 │ │
 │ ╰─────────────────── (took 41 seconds)

Fixed by 303aa36, contributed upstream in PickNikRobotics/data_tamer#58 .

@traversaro traversaro merged commit 3c2254a into RoboStack:main Jul 17, 2025
5 checks passed
@traversaro traversaro deleted the adddatatamercpp branch July 17, 2025 12:19
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