繁体   English   中英

在树莓派上的CMake安装问题

[英]CMake installation issue on raspbian stretch

即时通讯在运行树莓派的树莓派3上安装CMake时遇到了一些麻烦。

运行命令时,我不断收到此错误消息

sudo apt-get install build-essential cmake pkg-config

错误信息:

> " Reading package lists... Done  Building dependency tree Reading
> state information... Done  Package CMake is not available, but is
> referred to by another package. This may mean that the package is
> missing, has been obsoleted, or  is only available from another source
> 
> E: Package 'cmake' has no installation candidate "

我尝试了其他安装方法,例如“ pip install cmake ”和“ sudo apt-get install -y cmake ”,但都无济于事。 你们能帮我吗? 我可以从中提取图书馆吗?

先感谢您。

我正在运行在树莓派3上安装的raspbian Stretch 2018-03-13。

跑:

sudo apt-get update

然后运行:

sudo apt-get install build-essential cmake pkg-config

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM