Ask Your Question
0

Error downloading curl while building a ROS2 code for windows

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

aks gravatar image

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

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:

error while building the \dev\ros2 folder tree

EDIT 2 :

opening the link inside VM

edit retag flag offensive close merge delete

Comments

1

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

gvdhoorn gravatar imagegvdhoorn ( 2018-06-15 05:44:17 -0500 )edit

@gvdhoorn : edited

aks gravatar imageaks ( 2018-06-15 06:21:16 -0500 )edit

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

sloretz gravatar imagesloretz ( 2018-06-15 09:24:22 -0500 )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 imageaks ( 2018-06-15 10:35:21 -0500 )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 imagesloretz ( 2018-06-15 10:43:01 -0500 )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 imageaks ( 2018-06-15 10:47:38 -0500 )edit
2

@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 imagejayess ( 2018-06-15 12:22:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Comments

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

aks gravatar imageaks ( 2018-06-15 16:35:08 -0500 )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 imagetfoote ( 2018-06-15 16:41:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 113 times

Last updated: Jun 15 '18