ros-tooling / action-ros-ci

Github Action to build and test ROS 2 packages using colcon
Apache License 2.0
141 stars 52 forks source link

Windows source build failing, "Could not find ASIO" #79

Open Arnatious opened 4 years ago

Arnatious commented 4 years ago

Per https://github.com/ubuntu-robotics/nodl/pull/4/checks?check_run_id=437779651

  --- stderr: fastrtps
  CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
    Could NOT find Asio (missing: ASIO_INCLUDE_DIR)
  Call Stack (most recent call first):
    C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
    cmake/modules/FindAsio.cmake:16 (find_package_handle_standard_args)
    cmake/common/eprosima_libraries.cmake:96 (find_package)
    CMakeLists.txt:219 (eprosima_find_thirdparty)
thomas-moulard commented 4 years ago

Thanks for the bug report! The Windows support is still quite preliminary, so it is possible that we are missing something here. Feel free to contribute a change (it may be related to setup-ros2), otherwise, we'll try to get to this issue.

emersonknapp commented 4 years ago

@seanyen do you have any insight on this issue?

dabonnie commented 4 years ago

I ran into this issue as well here: https://github.com/ros-tooling/system_metrics_collector/pull/132

It appears that there is a possible workaround, but think it needs to happen in https://github.com/ros-tooling/setup-ros.