action-ros-ci icon indicating copy to clipboard operation
action-ros-ci copied to clipboard

Windows source build failing, "Could not find ASIO"

Open Arnatious opened this issue 4 years ago • 3 comments

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)

Arnatious avatar Feb 11 '20 04:02 Arnatious

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.

thomas-moulard avatar Feb 11 '20 16:02 thomas-moulard

@seanyen do you have any insight on this issue?

emersonknapp avatar Mar 06 '20 21:03 emersonknapp

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.

dabonnie avatar Apr 09 '20 21:04 dabonnie