Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Failure building on Windows #131

Closed
dabonnie opened this issue Apr 8, 2020 · 1 comment
Closed

Failure building on Windows #131

dabonnie opened this issue Apr 8, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@dabonnie
Copy link
Contributor

dabonnie commented Apr 8, 2020

Description

Unable to build libstatistics_collector on Windows.

Expected Behavior

Build the package on Windows.

Actual Behavior

Found via CI for ros2/rclcpp#1050

11:11:33 C:\ci\ws\src\system_metrics_collector\libstatistics_collector\test\moving_average_statistics\test_moving_average_statistics.cpp(124,3): warning C4244: 'argument': conversion from 'const uint64_t' to 'RawType', possible loss of data [C:\ci\ws\build\libstatistics_collector\test_moving_average_statistics.vcxproj]

11:11:33           with

11:11:33           [

11:11:33               RawType=double

11:11:33           ]

11:11:33 C:\ci\ws\src\system_metrics_collector\libstatistics_collector\test\moving_average_statistics\test_moving_average_statistics.cpp(147,3): warning C4244: 'argument': conversion from 'uint64_t' to 'RawType', possible loss of data [C:\ci\ws\build\libstatistics_collector\test_moving_average_statistics.vcxproj]

11:11:33           with

11:11:33           [

11:11:33               RawType=double

11:11:33           ]

11:11:33   Building Custom Rule C:/ci/ws/src/system_metrics_collector/libstatistics_collector/CMakeLists.txt

11:11:33   test_received_message_age.cpp

11:11:33 C:\ci\ws\src\system_metrics_collector\libstatistics_collector\test\topic_statistics_collector\test_received_message_age.cpp(101,30): warning C4244: '=': conversion from 'rcl_time_point_value_t' to 'builtin_interfaces::msg::Time_<std::allocator<void>>::_nanosec_type', possible loss of data [C:\ci\ws\build\libstatistics_collector\test_received_message_age.vcxproj]

11:11:33 LINK : fatal error LNK1181: cannot open input file 'Release\libstatistics_collector.lib' [C:\ci\ws\build\libstatistics_collector\test_received_message_age.vcxproj]

11:11:33   Building Custom Rule C:/ci/ws/src/system_metrics_collector/libstatistics_collector/CMakeLists.txt

11:11:33   test_received_message_period.cpp

11:11:33 LINK : fatal error LNK1181: cannot open input file 'Release\libstatistics_collector.lib' [C:\ci\ws\build\libstatistics_collector\test_received_message_period.vcxproj]

11:11:33 ---

https://ci.ros2.org/job/ci_windows/9880/console#console-section-4

To Reproduce

PROMPT: Steps to reproduce the behavior:

  1. Build the package on windows via the CI

System (please complete the following information)

  • OS: CI Windows
  • ROS2 Distro: master
@dabonnie dabonnie added the bug Something isn't working label Apr 8, 2020
@dabonnie
Copy link
Contributor Author

Resolved in #136 and #137

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant