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

/ 13,254评论 / 69870阅读 / 9点赞

包管理工具

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

vcpkg

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

安装

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

常用命令

搜索库

安装库

卸载库

列出已安装库

集成到开发环境


问题

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

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

如何重装/卸载vcpkg

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

  1. StevenDouri说道:

    https://cheapestindia.shop/# world pharmacy india

  2. StevenDouri说道:

    https://cheapestmexico.shop/# mexican online pharmacies prescription drugs

  3. Terrydex说道:

    buying prescription drugs in mexico: medication from mexico pharmacy – mexican online pharmacies prescription drugs

  4. Jimmieexake说道:

    https://cheapestindia.com/# indianpharmacy com

  5. scam说道:

    I urge you steer clear of this platform. My own encounter with it has been purely disappointment as well as doubts about deceptive behavior. Exercise extreme caution, or alternatively, find a trustworthy service for your needs.

  6. StevenDouri说道:

    https://cheapestindia.shop/# top online pharmacy india

  7. criminal说道:

    I highly advise steer clear of this platform. My own encounter with it has been only disappointment along with doubts about deceptive behavior. Exercise extreme caution, or alternatively, seek out an honest platform for your needs.

  8. CharlesOveno说道:

    indian pharmacy no prescription online pharmacy without prescriptions buy medications online no prescription

  9. scam说道:

    I urge you stay away from this site. My own encounter with it has been only disappointment and doubts about fraudulent activities. Exercise extreme caution, or better yet, seek out a trustworthy site to meet your needs.

  10. lose money说道:

    I highly advise stay away from this platform. My own encounter with it was purely dismay and doubts about fraudulent activities. Be extremely cautious, or better yet, look for a trustworthy service to fulfill your requirements.

  11. StevenDouri说道:

    https://cheapestcanada.com/# canada pharmacy reviews

  12. Jimmieexake说道:

    http://36and6health.com/# prescription drugs online

  13. alternatif link说道:

    I’m captivated by your post and how it mirrors the splendor of this Monday. The depth of your insights is commendable. Including more visuals in future posts could further enhance this delightful experience.

  14. dingdongtogel说道:

    Reading your post has made this Monday even more marvelous. The insights are valuable and well-articulated. Including more visuals in upcoming posts could add an extra layer of appeal.

  15. StevenDouri说道:

    https://cheapestmexico.com/# pharmacies in mexico that ship to usa

  16. Terrydex说道:

    canadian online pharmacy: cheapestcanada.com – canadian family pharmacy

  17. CharlesOveno说道:

    canada pharmacy not requiring prescription 36and6health cheapest prescription pharmacy

  18. scam说道:

    I strongly recommend to avoid this platform. My personal experience with it has been purely disappointment and concerns regarding deceptive behavior. Proceed with extreme caution, or alternatively, seek out an honest platform to fulfill your requirements.

  19. scam说道:

    I highly advise stay away from this site. My personal experience with it has been nothing but dismay along with suspicion of scamming practices. Exercise extreme caution, or alternatively, seek out a trustworthy service to fulfill your requirements.

  20. ThomasTam说道:

    prices for lisinopril: lisinopril cost uk – zestril brand

  21. scam说道:

    I urge you steer clear of this platform. My personal experience with it has been only disappointment as well as doubts about fraudulent activities. Exercise extreme caution, or better yet, seek out an honest site for your needs.

  22. RobertPet说道:

    http://gabapentin.club/# buy neurontin 300 mg

  23. scam说道:

    I urge you steer clear of this site. My own encounter with it was nothing but frustration as well as suspicion of scamming practices. Be extremely cautious, or alternatively, look for a trustworthy service for your needs.

  24. Robertguelm说道:

    neurontin for sale: neurontin 400mg – neurontin prescription coupon

  25. ThomasTam说道:

    buy cytotec pills: п»їcytotec pills online – buy cytotec online

  26. ThomasTam说道:

    cheap propecia pills: buy cheap propecia tablets – cost of propecia without prescription

  27. I highly advise stay away from this site. My own encounter with it has been only frustration as well as suspicion of fraudulent activities. Be extremely cautious, or alternatively, find a trustworthy site for your needs.

  28. I strongly recommend steer clear of this site. The experience I had with it was purely frustration along with doubts about scamming practices. Proceed with extreme caution, or alternatively, seek out an honest platform to meet your needs.

  29. JamesPouff说道:

    http://cytotec.xyz/# buy cytotec pills

  30. I strongly recommend to avoid this site. My own encounter with it was purely dismay as well as concerns regarding deceptive behavior. Exercise extreme caution, or alternatively, look for a trustworthy site for your needs.

  31. Marvinmef说道:

    propecia without prescription buying propecia without insurance propecia generic

  32. I highly advise steer clear of this site. The experience I had with it was purely frustration along with suspicion of scamming practices. Be extremely cautious, or alternatively, seek out an honest site to meet your needs.

  33. RobertPet说道:

    https://gabapentin.club/# neurontin price australia

  34. ThomasTam说道:

    where to get cheap clomid without a prescription: clomid brand name – where to buy cheap clomid without insurance

  35. JamesPouff说道:

    http://propeciaf.online/# order propecia without rx

  36. Marvinmef说道:

    propecia without a prescription buying propecia tablets get propecia pills

  37. ThomasTam说道:

    neurontin online pharmacy: neurontin canada online – neurontin 500 mg

  38. I highly advise to avoid this platform. My own encounter with it has been purely disappointment and concerns regarding scamming practices. Exercise extreme caution, or alternatively, find an honest site to meet your needs.

  39. Robertguelm说道:

    clomid without a prescription: where can i get generic clomid pills – where can i buy generic clomid now

  40. I highly advise to avoid this site. My own encounter with it was nothing but disappointment along with doubts about scamming practices. Exercise extreme caution, or alternatively, seek out a more reputable platform for your needs.

  41. Marvinmef说道:

    neurontin 300 mg buy neurontin 800 mg price neurontin price

  42. I urge you to avoid this site. My personal experience with it has been nothing but frustration along with doubts about scamming practices. Exercise extreme caution, or even better, seek out a more reputable service to meet your needs.

  43. ThomasTam说道:

    buy lisinopril canada: lisinopril 20 25 mg – lisinopril 10 mg tablet cost

  44. I highly advise to avoid this site. The experience I had with it was nothing but disappointment as well as suspicion of scamming practices. Be extremely cautious, or even better, find a trustworthy service for your needs.

  45. RobertPet说道:

    http://lisinopril.club/# cost of lisinopril

  46. Marvinmef说道:

    where can i buy clomid for sale can you get cheap clomid without prescription cost cheap clomid now

  47. ThomasTam说道:

    propecia prices: buy cheap propecia – order cheap propecia no prescription

发表回复

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