[英]CMake installation issue on raspbian stretch
im having some troubles installing CMake on raspberry pi 3 running raspbian stretch. 即时通讯在运行树莓派的树莓派3上安装CMake时遇到了一些麻烦。
I keep getting this error message when i run the command 运行命令时,我不断收到此错误消息
sudo apt-get install build-essential cmake pkg-config
The error message: 错误信息:
> " 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 "
I've tried other installation methods like " pip install cmake
" & " sudo apt-get install -y cmake
" but all to no avail. 我尝试了其他安装方法,例如“
pip install cmake
”和“ sudo apt-get install -y cmake
”,但都无济于事。 Could you guys help me out? 你们能帮我吗? Is there a library i can extract from?
我可以从中提取图书馆吗?
Thank you in advance. 先感谢您。
Im running raspbian stretch 2018-03-13 installed on raspberry pi 3. 我正在运行在树莓派3上安装的raspbian Stretch 2018-03-13。
Run: 跑:
sudo apt-get update
Then run: 然后运行:
sudo apt-get install build-essential cmake pkg-config
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.