不知何故,當安裝python3.5與boost,cmake無法找到它。 我試圖安裝lib,當我這樣做時,我得到這個錯誤。我有提升 - python安裝。cmake boost問題和實習生無法安裝dlib
CMake Warning at
/usr/local/Cellar/cmake/3.6.0_1/share/cmake/Modules/FindBoost.cmake:1459 (message):
No header defined for python-py34; skipping header check
Call Stack (most recent call first):
/Users/pascaljardin/Desktop/dlib-19.0/dlib/add_python_module:60 (FIND_PACKAGE)
CMakeLists.txt:6 (include)
-- Could NOT find Boost
-- Could NOT find Boost
-- Found PythonLibs: /usr/local/Cellar/python3/3.5.2/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5.dylib (found suitable version "3.5.2", minimum required is "3.4")
-- *****************************************************************************************************
-- To compile Boost.Python yourself download boost from boost.org and then go into the boost root folder
-- and run these commands:
-- ./bootstrap.sh --with-libraries=python
-- ./b2
-- sudo ./b2 install
-- *****************************************************************************************************
CMake Error at /Users/pascaljardin/Desktop/dlib-19.0/dlib/add_python_module:108 (message):
Boost python library not found.
Call Stack (most recent call first):
CMakeLists.txt:6 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/pascaljardin/Desktop/dlib-19.0/tools/python/build/CMakeFiles/CMakeOutput.log".
error: cmake configuration failed!
從頭開始。這是我安裝在我的MacBook Air OS一切X EL隊長版本10.11.5
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew update
$ brew install python3
$ brew install boost --with-python3
$ brew install cmake
那麼,有什麼我不這樣做的權利,當我安裝的一切嗎?我真的不知道爲什麼發生這種情況,我真的想安裝DLIB lib文件夾中使用
python3 setup.py install
。
還是有更簡單的方法與python3安裝dlib?
你的系統中有什麼是boost python庫名? – zaufi
另請參閱:https://gitlab.kitware.com/cmake/cmake/merge_requests/35 – zaufi
我正在使用boost 1.60,這是兼容攪拌機2.77 –