Error downloading curl while building a ROS2 code for windows
While building a ROS2 code on windows, there is a step called Process package 'libcurl_vendor' with context:
,
it tries to download curl
from this url :
Using src='https://github.com/curl/curl/releases/download/curl-7_57_0/curl-7.57.0.tar.gz'
but there is no such url. you can check it by directly entering the url in a web browser. So while building it tries to connect to this address but since there is no such address, it throws an error :
CUSTOMBUILD : error : downloading 'https://github.com/curl/curl/releases/download/curl-7_57_0/curl-7.57.0.tar.gz' failed [C:\dev\ros2\build\libcurl_vendor\curl-7.57.0.vcxproj]
followed by
Command 'C:\dev\ros2\build\libcurl_vendor\cmake__build.bat C:\Program Files (x86)\MSBuild\14.0\bin\amd64\msbuild.EXE /m:4 /p:Configuration=Release C:\dev\ros2\build\libcurl_vendor\libcurl_vendor.sln' failed in 'C:\dev\ros2\build\libcurl_vendor' with exit code '1'
What is the alternative to this ? How can I direct the builder to look at the correct url ?
EDIT 1:
EDIT 2 :
Can you please format your question a bit better? It's a bit of a wall-of-text right now.
@gvdhoorn : edited
Maybe the URL was temporarily down? It works when I copy/paste it into my browser.
Yes, now i see that the link works manually but not while building. I am trying to build it on a Virtual Machine. Could this be a problem as it says again and again port 443 time out which is basically a https connection. I have attached a screenshot.
When you say the link works manually, was that inside the VM or outside the VM? Does the link work manually in a browser inside the VM?
@sloretz...good question. I checked the link on my host machine and it worked. Opening it manually inside the VM opens up a document structure as attached.
@aakash_sehgal Please don't use an image to display text. Images are not searchable and people cannot copy and paste the text from the image. Please update your question with a copy and paste of the error instead.