FORTH-ModelBasedTracker / PyOpenPose

Python bindings for the Openpose library
BSD 3-Clause "New" or "Revised" License
287 stars 80 forks source link

cmake error unable to find the request boost libraries #82

Closed 517030910405 closed 5 years ago

517030910405 commented 5 years ago

Excuse me When I run

make ..

It shows:

CMake Error at /home/name/.conda/envs/hand_torch0.3/share/cmake-3.14/Modules/FindBoost.cmake:2132 (message): Unable to find the requested Boost libraries.

Boost version: 1.66.0

Boost include path: /usr/local/include

Could not find the following Boost libraries:

      boost_python-py27

Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:67 (find_package)

CMake Error at CMakeLists.txt:89 (message): Environment variable OPENPOSE_ROOT is not set. Please set and point to openpose installation folder

And I dont know what to do. Thank you for viewing my question.

padeler commented 5 years ago

You need the boost_python library. Either install it from the standard ubuntu repositories or build it. Note that If you are building boost the name of the library will be boost_python (without the -py27 suffix). You will have to update the cmake scripts accordingly.