Resource_retriever package doesn't build in ROS2 Windows
Hello, I'm trying to build ROS2 Eloquent for Windows using the guide: https://index.ros.org/doc/ros2/Instal...
The problem occurs when I build the "resource_retriever" package, when the whole build fails. In order to debug slightly I ran
colcon build --merge-install --packages-select resource_retriever --event-handler console_cohesion+
Resulting in
Starting >>> resource_retriever
--- output: resource_retriever
[6.968s] -- Found ament_cmake_ros: 0.8.0 (C:/dev/ros2_eloquent/install/share/ament_cmake_ros/cmake)
[7.375s] -- Using PYTHON_EXECUTABLE: C:/Python37/python.exe
[8.640s] -- Found ament_index_cpp: 0.7.2 (C:/dev/ros2_eloquent/install/share/ament_index_cpp/cmake)
[8.703s] -- Found libcurl_vendor: 2.2.1 (C:/dev/ros2_eloquent/install/share/libcurl_vendor/cmake)
[8.796s] -- library: C:/dev/ros2_eloquent/install/opt/libcurl_vendor/bin/libcurl.dll
[9.234s] -- Configuring done
[9.828s] -- Generating done
[9.875s] -- Build files have been written to: C:/dev/ros2_eloquent/build/resource_retriever
[10.234s] Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Framework
[10.234s] Copyright (C) Microsoft Corporation. All rights reserved.
[10.234s]
[11.125s] C:\dev\ros2_eloquent\install\opt\libcurl_vendor\bin\libcurl.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x310 [C:\dev\ros2_eloquent\build\resource_retriever\resource_retriever.vcxproj]
---
Failed <<< resource_retriever [ Exited with code 1 ]
Summary: 0 packages finished [12.6s]
1 package failed: resource_retriever
No other errors come up until this point, and I have no idea how to solve it
I'm also facing the same error. Please let us know if you're able to solve this issue. Thanks