microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.63k stars 6.25k forks source link

Unable to download package wtl/9.1.0@lasote/vcpkg #1219

Closed definename closed 7 years ago

definename commented 7 years ago

Hi, all. I am going to download wtl package wtl/9.1.0@lasote/vcpkg - but have error during downloading it.

That is error:

Failed. Status: 7;"Couldn't connect to server"

ras0219-msft commented 7 years ago

Hi @definedname!

This looks like a bug in lasote's Conan scripts or hosting. You'll need to post over on one of Conan's repos to get that issue fixed.

Alternatively, why not try out vcpkg directly? I'd recommend heading to our readme page, following our quickstart, then running vcpkg install wtl.

ras0219-msft commented 7 years ago

If you have any troubles with vcpkg install wtl, please open a new issue! Thanks!

definename commented 7 years ago

Looks like there was some trouble in my network. Sorry for wasting of time.

ras0219-msft commented 7 years ago

@definename I noticed you were interested in building cpprestsdk for MT/MTd[1].

Vcpkg builds libraries with static CRT linkage inside our *-windows-static triplets:

>vcpkg install cpprestsdk:x64-windows-static

[1] https://github.com/conan-io/conan/issues/1398

definename commented 7 years ago

How to configure conan file for this? This is mine:

[requires] Boost/1.64.0@inexorgame/stable cpprestsdk/2.8.0@lasote/vcpkg

[generators] cmake

[options] Boost:shared=False

[imports] bin, .dll -> .Build/bin lib, .dylib* -> .Build/bin

ras0219-msft commented 7 years ago

Hi @definename, for help with Conan, I recommend posting to that project.

If you'd like to get cpprestsdk and boost using Vcpkg, you'll simply need to follow our Quick Start and then run:

>vcpkg install cpprestsdk:x64-windows boost:x64-windows

Then you can use us in your CMake or MSBuild project by following our first use tutorial.