Skip to content

Can't build zstd_point_cloud_transport on windows #112

@ruben-arts

Description

@ruben-arts

We get the following error when we try to support windows for this package:

  │ │     PYTHON_INSTALL_DIR
 │ │     Python_EXECUTABLE
 │ │     SETUPTOOLS_DEB_LAYOUT
 │ │ %SRC_DIR%\build>if errorlevel 1 exit 1 
 │ │ %SRC_DIR%\build>cmake --build . --config Release --parallel 4 --target install 
 │ │ MSBuild version 17.14.23+b0019275e 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-zstd-point-cloud-transport/src/work/CMakeLists.txt
 │ │   Ignoring COMPILE_WARNING_AS_ERROR target property and CMAKE_COMPILE_WARNING_AS_ERROR variable.
 │ │   zstd_publisher.cpp
 │ │   zstd_subscriber.cpp
 │ │   manifest.cpp
 │ │   Generating Code...
 │ │ LINK : fatal error LNK1181: cannot open input file 'zstd.lib' [%SRC_DIR%\build\zstd_point_cloud_transport.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-jazzy-zstd-point-cloud-transport_1760701379\work
 │ │ × error   Prefix: C:\bld\bld\rattler-build_ros-jazzy-zstd-point-cloud-transport_1760701379\h_env
 │ │ × error   Build prefix: C:\bld\bld\rattler-build_ros-jazzy-zstd-point-cloud-transport_1760701379\build_env
 │ │ × error 
 │ │ × error To run the script manually, use the following command:
 │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-jazzy-zstd-point-cloud-transport_1760701379\\work" && ./conda_build.bat
 │ │ × error 
 │ │ × error To run commands interactively in the build environment:
 │ │ × error   cd "C:\\bld\\bld\\rattler-build_ros-jazzy-zstd-point-cloud-transport_1760701379\\work" && call build_env.bat
 │ │

Related PR: #111
Related build output: https://github.com/RoboStack/ros-jazzy/actions/runs/18591638592/job/53007712614?pr=111

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions