action-ros-ci
action-ros-ci copied to clipboard
Windows source build failing, "Could not find ASIO"
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)
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.
@seanyen do you have any insight on this issue?
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.