C ++是否具有软件包管理器,例如npm,pip,gem等? [英] Does C++ have a package manager like npm, pip, gem, etc?

查看:126
本文介绍了C ++是否具有软件包管理器,例如npm,pip,gem等?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道安装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

cpm http://www.cpm.rocks/

柯南 https://conan.io/

pacm http://sourcey.com/pacm/

包装 https://spack.io

袋鼠 http://buckaroo.pm

猎人 https://github.com/ruslo/hunter

vcpkg https://github.com/Microsoft/vcpkg

这篇关于C ++是否具有软件包管理器,例如npm,pip,gem等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆