C ++是否具有软件包管理器,例如npm,pip,gem等? [英] Does C++ have a package manager like npm, pip, gem, etc?
问题描述
只是想知道安装cpp软件包的最佳方法.我的背景是JS/Ruby/etc,所以似乎很奇怪,没有cpm
之类的东西.我想念什么?我认为这不是那么简单...
Just wondering the best way to install cpp packages. My background is in JS/Ruby/etc, so it seems so weird there's no cpm
or the like. What am I missing? I assume it's not this simple...
例如,当我得到fatal error: 'iostream' file not found
为清楚起见进行iostream
是一个不好的例子,当我写这篇文章时,我的系统配置被收回了.用非标准库替换它,这在您的想象中.
Edit for clarity: iostream
was a bad example, my system config was wonked back when I wrote this. Replace it in your imagination with a non-standard library.
推荐答案
虽然我从未使用过它们,但似乎有一些.
There seem to be a few though I've never used them.
dds https://github.com/vector-of-bool/dds
猎人 https://github.com/ruslo/hunter
vcpkg https://github.com/Microsoft/vcpkg
这篇关于C ++是否具有软件包管理器,例如npm,pip,gem等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!