簡體   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