New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could NOT find Boost (missing: python37) [cmake 3.15, boost 1.67.0] #20
Comments
Do you have boost-python installed? There is some disagreement between distributions of what the suffix of this library should be, which might be the problem (e.g. on Ubuntu I have libboost_python-py36). |
Mmm - not sure (you can tell this whole area is new to me) and the whole area for Python 3 is rather confusing and poorly documented. I'm not using conda and installing the system package is pointless (I guess) - because I'm not using the system python.
I've installed boost and it claims to have built everything. I'm new to this area of code, is boost-python part of a different repo? |
Look in /usr/lib (or possibly /usr/lib/x86_64-linux-gnu, whereever boost is installed) and look for libboost_python* There are several variants of boost packages. You need the equivalent of the libboost-all-dev package, which has the libboost-python-dev package as a dependency. |
Ah, in my |
This is starting to look like a
And what gets built (amongst other things) are some libraries prefixed with |
I've never had trouble building boost. I would try a clean checkout of boost or asking for help on their mailing list. |
Solved It's not about the python installation, although I have links to built binary in the form of:-
Without a
Thanks for the hints - hopefully back on course now. |
I'm building everything from source on CentOS 7 and encounter the following error when I run
cmake
forlibmolgrid
: -I believe I have installed boost with python but I'm perplexed by the error. I've not written C/C++ for a long time and although I don't fully understand the
cmake
syntax I think I understand the basic. It's the error that is not that clear to me. Does it meancmake
has found boost and python but does not think boost is built with python (which I believe it is)?My environment is: -
If I nobble (comment-out) the offending line from
python//CMakeLists.txt
, i.e. if I remove:-The text was updated successfully, but these errors were encountered: