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

/ 13,253评论 / 69864阅读 / 9点赞

包管理工具

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

vcpkg

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

安装

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

常用命令

搜索库

安装库

卸载库

列出已安装库

集成到开发环境


问题

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

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

如何重装/卸载vcpkg

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

  1. VernonJaf说道:

    http://eumedicamentenligne.com/# Pharmacie Internationale en ligne

  2. Antoniadat说道:

    acquisto farmaci con ricetta: Farmacie online sicure – comprare farmaci online all’estero

  3. Williamjes说道:

    Farmacie on line spedizione gratuita: farmacie online sicure – migliori farmacie online 2024

  4. RobertindUp说道:

    vente de mГ©dicament en ligne pharmacies en ligne certifiГ©es pharmacies en ligne certifiГ©es

  5. Antoniadat说道:

    internet apotheke: beste online-apotheke ohne rezept – medikament ohne rezept notfall

  6. Williamjes说道:

    online apotheke preisvergleich: internet apotheke – ohne rezept apotheke

  7. Donaldfub说道:

    online apotheke: online apotheke rezept – online apotheke

  8. RobertindUp说道:

    farmacie online sicure Farmacie online sicure farmacia online senza ricetta

  9. Antoniadat说道:

    Pharmacie Internationale en ligne: Pharmacie sans ordonnance – pharmacie en ligne sans ordonnance

  10. Williamjes说道:

    online apotheke deutschland: online apotheke preisvergleich – beste online-apotheke ohne rezept

  11. RalphRef说道:

    farmacie online autorizzate elenco: Farmacie online sicure – top farmacia online

  12. VernonJaf说道:

    http://eumedicamentenligne.com/# pharmacie en ligne livraison europe

  13. RobertindUp说道:

    farmacia online barcelona farmacia barata farmacia online envГ­o gratis

  14. Williamjes说道:

    farmacia online 24 horas: farmacias online seguras en espaГ±a – farmacia barata

  15. RobertindUp说道:

    comprare farmaci online con ricetta farmacie online autorizzate elenco farmacie online affidabili

  16. Antoniadat说道:

    farmacias online baratas: farmacia online 24 horas – farmacias direct

  17. RalphRef说道:

    farmacia online espaГ±a envГ­o internacional: farmacia online barata y fiable – farmacia online envГ­o gratis

  18. RobertindUp说道:

    farmacia online envГ­o gratis farmacia barata farmacia online espaГ±a envГ­o internacional

  19. Donaldfub说道:

    farmacias online seguras en espaГ±a: farmacias online seguras – farmacia barata

  20. Antoniadat说道:

    pharmacie en ligne france fiable: vente de m̩dicament en ligne Рacheter m̩dicament en ligne sans ordonnance

  21. VernonJaf说道:

    http://eumedicamentenligne.com/# pharmacie en ligne sans ordonnance

  22. Williamjes说道:

    farmacia online envГ­o gratis: farmacia online envГ­o gratis – farmacias online seguras en espaГ±a

  23. scam说道:

    I strongly recommend steer clear of this platform. My personal experience with it was nothing but dismay along with concerns regarding fraudulent activities. Exercise extreme caution, or even better, look for a trustworthy site to fulfill your requirements.

  24. drugs dealer说道:

    I strongly recommend steer clear of this site. My personal experience with it was nothing but dismay along with concerns regarding deceptive behavior. Proceed with extreme caution, or even better, find an honest service for your needs.

  25. RobertindUp说道:

    п»їfarmacia online espaГ±a farmacia online espaГ±a envГ­o internacional farmacia en casa online descuento

  26. scam说道:

    I strongly recommend to avoid this site. The experience I had with it has been only disappointment as well as suspicion of deceptive behavior. Be extremely cautious, or alternatively, look for a more reputable service to meet your needs.

  27. Antoniadat说道:

    pharmacie en ligne sans ordonnance: pharmacie en ligne france livraison belgique – pharmacie en ligne fiable

  28. Williamjes说道:

    acquistare farmaci senza ricetta: farmacia online piГ№ conveniente – Farmacia online miglior prezzo

  29. lose money说道:

    I urge you to avoid this site. My own encounter with it has been only frustration as well as suspicion of scamming practices. Proceed with extreme caution, or better yet, find an honest platform to fulfill your requirements.

  30. RobertindUp说道:

    farmacias online seguras farmacias online seguras farmacia online barata y fiable

  31. Antoniadat说道:

    pharmacie en ligne: pharmacie en ligne france livraison belgique – pharmacie en ligne france pas cher

  32. Williamjes说道:

    europa apotheke: beste online-apotheke ohne rezept – online apotheke rezept

  33. RalphRef说道:

    Farmacia online miglior prezzo: farmacie online affidabili – comprare farmaci online all’estero

  34. RobertindUp说道:

    online apotheke online apotheke online apotheke gГјnstig

  35. VernonJaf说道:

    https://eufarmacieonline.com/# farmacie online autorizzate elenco

  36. Antoniadat说道:

    Achat m̩dicament en ligne fiable: pharmacie en ligne Рpharmacie en ligne france pas cher

  37. Donaldfub说道:

    farmacia online madrid: farmacia online barcelona – farmacia online barata

  38. Williamjes说道:

    comprare farmaci online con ricetta: comprare farmaci online all’estero – comprare farmaci online all’estero

  39. RobertindUp说道:

    farmacia online madrid farmacia online envГ­o gratis farmacias online seguras en espaГ±a

  40. Antoniadat说道:

    shop apotheke gutschein: apotheke online – online apotheke preisvergleich

  41. lose money说道:

    I highly advise steer clear of this platform. My own encounter with it was purely disappointment as well as concerns regarding deceptive behavior. Proceed with extreme caution, or better yet, seek out a more reputable service to meet your needs.

  42. CharlesOveno说道:

    canadian pharmacy no prescription needed cheapest pharmacy for prescription drugs legal online pharmacy coupon code

  43. Jimmieexake说道:

    https://cheapestmexico.shop/# buying from online mexican pharmacy

  44. StevenDouri说道:

    https://cheapestcanada.com/# pharmacies in canada that ship to the us

  45. StevenDouri说道:

    https://cheapestindia.com/# cheapest online pharmacy india

  46. Terrydex说道:

    pharmacy no prescription required: cheapest pharmacy – canadian pharmacy coupon code

  47. lose money说道:

    I strongly recommend stay away from this site. My own encounter with it was nothing but dismay along with concerns regarding deceptive behavior. Proceed with extreme caution, or even better, seek out an honest service for your needs.

  48. Jimmieexake说道:

    http://cheapestindia.com/# pharmacy website india

  49. scam说道:

    I highly advise steer clear of this site. The experience I had with it has been nothing but dismay along with suspicion of scamming practices. Be extremely cautious, or alternatively, look for an honest service for your needs.

  50. CharlesOveno说道:

    canadian pharmacy ltd pharmacy canadian superstore safe reliable canadian pharmacy

发表回复

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