[c++]包管理工具vcpkg安装使用

/ 11,003评论 / 49923阅读 / 8点赞

包管理工具

当我们需要使用别人开发的库时,可能会需要去下载其源码然后编译再引入我们的项目,这样做的话一来引用的库多了比较麻烦,而且需要自己管理这些包,二来一旦迁移到其他机子上就得复制过去或是再下载编译一次,尤其对跨平台项目来说简直苦不堪言,因此会有包管理工具的出现。

vcpkg

它是由微软开发的,可以像安装普通软件一样地安装库,而且和visual studio/cmake很契合,在win和linux都可用。

安装

$ git clone https://github.com/microsoft/vcpkg

常用命令

搜索库

安装库

卸载库

列出已安装库

集成到开发环境


问题

如果使用vcpkg安装库,更新等过程中报错,请一定一定要耐心看它的错误信息,往往它会告诉你解决办法,比如因缺少依赖软件需要安装;因网络问题文件下载失败,需要重试等等。

安装库之后导入使用依然报错

如何重装/卸载vcpkg

ubuntu下安装ICU一直在最后出错

  1. WilliamRen说道:

    http://cytotec.club/# buy cytotec in usa

  2. RandallGuesE说道:

    tamoxifen and bone density: tamoxifen and uterine thickening – buy nolvadex online

  3. Davidfrify说道:

    cost of propecia without dr prescription buy cheap propecia order cheap propecia without insurance

  4. WilliamRen说道:

    http://cytotec.club/# purchase cytotec

  5. RonaldSwobe说道:

    https://lisinopril.network/# order lisinopril online

  6. RandallGuesE说道:

    Misoprostol 200 mg buy online: cytotec pills buy online – purchase cytotec

  7. Davidfrify说道:

    cost of generic propecia pills cost of propecia without prescription cost of propecia without insurance

  8. WilliamRen说道:

    http://cytotec.club/# п»їcytotec pills online

  9. RandallGuesE说道:

    cipro online no prescription in the usa: buy cipro – cipro

  10. Davidfrify说道:

    does tamoxifen cause bone loss tamoxifen menopause tamoxifen joint pain

  11. WilliamRen说道:

    http://nolvadex.life/# does tamoxifen cause weight loss

  12. RandallGuesE说道:

    tamoxifen hormone therapy: tamoxifen menopause – what is tamoxifen used for

  13. Davidfrify说道:

    п»їdcis tamoxifen femara vs tamoxifen tamoxifen generic

  14. RonaldSwobe说道:

    https://lisinopril.network/# prinivil brand name

  15. WilliamRen说道:

    https://lisinopril.network/# lisinopril 5 mg canada

  16. RandallGuesE说道:

    tamoxifen pill: low dose tamoxifen – tamoxifen and bone density

  17. Davidfrify说道:

    2 prinivil can i order lisinopril over the counter lisinopril 60 mg daily

  18. WilliamRen说道:

    http://nolvadex.life/# tamoxifen reviews

  19. Davidfrify说道:

    cytotec pills buy online п»їcytotec pills online cytotec pills buy online

  20. RandallGuesE说道:

    buy cipro cheap: buy cipro online – buy cipro

  21. RonaldSwobe说道:

    http://lisinopril.network/# lisinopril 10 mg pill

  22. criminal说道:

    I urge you steer clear of this site. The experience I had with it has been purely disappointment as well as doubts about scamming practices. Exercise extreme caution, or alternatively, find a more reputable site to meet your needs.I strongly recommend stay away from this site. My personal experience with it has been only dismay and suspicion of deceptive behavior. Exercise extreme caution, or even better, seek out an honest platform to fulfill your requirements.

  23. Davidfrify说道:

    buy generic ciprofloxacin cipro ciprofloxacin cipro pharmacy

  24. WilliamRen说道:

    https://finasteride.store/# get propecia without insurance

  25. RandallGuesE说道:

    cipro 500mg best prices: cipro – buy cipro online without prescription

  26. lose money说道:

    I urge you to avoid this site. My personal experience with it has been purely dismay as well as doubts about deceptive behavior. Be extremely cautious, or better yet, find an honest platform for your needs.I strongly recommend steer clear of this platform. My personal experience with it was only disappointment and concerns regarding scamming practices. Proceed with extreme caution, or better yet, find a more reputable service for your needs.

  27. Davidfrify说道:

    generic propecia buying propecia without prescription cost of cheap propecia price

  28. RandallGuesE说道:

    prinzide zestoretic: zestril 40 – lisinopril 20mg buy

  29. Davidfrify说道:

    tamoxifen postmenopausal nolvadex steroids tamoxifen depression

  30. RonaldSwobe说道:

    http://finasteride.store/# order generic propecia pills

  31. WilliamRen说道:

    https://finasteride.store/# order cheap propecia without a prescription

  32. RandallGuesE说道:

    lisinopril cost: zestril price in india – 90 lisinopril

  33. Davidfrify说道:

    lisinopril price 10 mg zestril 5mg price in india 2 prinivil

  34. WilliamRen说道:

    http://ciprofloxacin.tech/# buy cipro online canada

  35. Davidfrify说道:

    buy cipro online canada buy generic ciprofloxacin buy cipro cheap

  36. RandallGuesE说道:

    tamoxifen medication: tamoxifen chemo – what happens when you stop taking tamoxifen

  37. RonaldSwobe说道:

    https://finasteride.store/# cost generic propecia for sale

  38. Davidfrify说道:

    lisinopril 3.5 mg medication lisinopril 20 mg lisinopril 5 mg for sale

  39. WilliamRen说道:

    https://lisinopril.network/# zestril discount

  40. RandallGuesE说道:

    lisinopril 25: zestril online – buy lisinopril without a prescription

  41. Pedropaite说道:

    mexico pharmacy: mexican pharmacy – mexico drug stores pharmacies

  42. JustinTut说道:

    best online pharmacy india https://indiaph24.store/# top 10 pharmacies in india
    top online pharmacy india

  43. Marcelcrolf说道:

    https://indiaph24.store/# top 10 pharmacies in india

  44. Experience Excellence with Bwer Pipes: Elevate your farming operations with Bwer Pipes’ industry-leading irrigation solutions. Our cutting-edge sprinkler technology and durable pipes are engineered for superior performance, enabling Iraqi farmers to achieve optimal water management, crop health, and productivity. Explore Bwer Pipes

  45. w-495.ru说道:

    куда можно обратиться за
    психологической помощью w-495.ru

  46. JustinTut说道:

    Online medicine order https://indiaph24.store/# п»їlegitimate online pharmacies india
    world pharmacy india

  47. criminal说道:

    I highly advise steer clear of this site. My own encounter with it was nothing but frustration and doubts about fraudulent activities. Exercise extreme caution, or better yet, seek out a more reputable service to meet your needs.

  48. lose money说道:

    I urge you to avoid this site. The experience I had with it was nothing but frustration along with suspicion of fraudulent activities. Be extremely cautious, or even better, seek out a trustworthy site for your needs.

  49. criminal说道:

    I strongly recommend to avoid this site. My personal experience with it has been only disappointment along with suspicion of deceptive behavior. Exercise extreme caution, or alternatively, look for a trustworthy platform for your needs.

  50. lose money说道:

    I strongly recommend stay away from this platform. My own encounter with it has been only dismay and concerns regarding fraudulent activities. Proceed with extreme caution, or even better, find a trustworthy service to fulfill your requirements.

回复 lose money 取消回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注