當(dāng)前位置:博客首頁>>Linux >> 閱讀正文

ubuntu下cmake報(bào)錯Could NOT find Boost

作者: 鄭曉 分類: Linux, Python 發(fā)布于: 2017-08-24 14:26 瀏覽:21,659 沒有評論


在ubuntu下安裝python的dlib擴(kuò)展庫時(shí)出錯,最后一條log提示:

-- Could NOT find Boost
error: cmake configuration failed!

這是cmake找不到boost庫產(chǎn)生的錯誤,解決辦法是手動安裝這個(gè)庫:

sudo apt-get install libboost-all-dev

再次執(zhí)行安裝,問題已經(jīng)解決!

? ? ? ?

本文采用知識共享署名-非商業(yè)性使用 3.0 中國大陸許可協(xié)議進(jìn)行許可,轉(zhuǎn)載時(shí)請注明出處及相應(yīng)鏈接。

本文永久鏈接: http://www.yjfs.org.cn/ubuntu-cmake-could-not-find-boost.html

發(fā)表評論

change vcode