Install boost_python to have OpenGM with Python support

70 views
Skip to first unread message

h.ben...@gmail.com

unread,
Jan 20, 2019, 8:33:46 PM1/20/19
to opengm
Hi everyone,

I'm just getting started with OpenGM to test Markov Random Fields with Graph Cuts.
Because I feel more comfortable with Python than with C++, I tried to compile OpenGM with Python support on Windows using CMake.
So in CMake, I've checked the options required to have python support, and installed the 3rd party software needed (Boost, HD5).

I get the following error when trying to configure the OpenGM project in CMake:

Could not find the following Boost libraries:

boost_python

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.


I'm not sure how to install boost_python?
I could find inside Boost's folder (which was installed from a pre-built exe) a python folder (\libs\python), but I don't know how to build it since it's in C++.

Thanks.
Hakim.
Reply all
Reply to author
Forward
0 new messages