ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Error downloading curl while building a ROS2 code for windows

asked 2018-06-15 05:36:25 -0600

aks gravatar image

updated 2018-06-15 10:48:36 -0600

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=''

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 '' 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 ?


error while building the \dev\ros2 folder tree

EDIT 2 :

opening the link inside VM

edit retag flag offensive close merge delete



Can you please format your question a bit better? It's a bit of a wall-of-text right now.

gvdhoorn gravatar image gvdhoorn  ( 2018-06-15 05:44:17 -0600 )edit

@gvdhoorn : edited

aks gravatar image aks  ( 2018-06-15 06:21:16 -0600 )edit

Maybe the URL was temporarily down? It works when I copy/paste it into my browser.

sloretz gravatar image sloretz  ( 2018-06-15 09:24:22 -0600 )edit

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.

aks gravatar image aks  ( 2018-06-15 10:35:21 -0600 )edit

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 gravatar image sloretz  ( 2018-06-15 10:43:01 -0600 )edit

@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.

aks gravatar image aks  ( 2018-06-15 10:47:38 -0600 )edit

@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.

jayess gravatar image jayess  ( 2018-06-15 12:22:57 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-15 16:32:46 -0600

tfoote gravatar image

If your VM has an invalid date SSL connections may fail. Though from your error it appears that you have a name resolution issue which is also different.

edit flag offensive delete link more


@tfoote : what could be a possible solution which i can discuss with my network administrator.

aks gravatar image aks  ( 2018-06-15 16:35:08 -0600 )edit

You need to diagnose the underlying problem before you can get help solving it. Once you can manually download it in the VM then you can try the automated techniques. If it works on your desktop it's likely an issue with your VM not with the network.

tfoote gravatar image tfoote  ( 2018-06-15 16:41:53 -0600 )edit

Question Tools

1 follower


Asked: 2018-06-15 05:36:25 -0600

Seen: 706 times

Last updated: Jun 15 '18