-
Notifications
You must be signed in to change notification settings - Fork 617
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
Linker cannot find "boost_python-vc140-mt-x64-1_66.lib" on Windows. #573
Comments
Random related thoughts, what about using pybind11? :) |
oh, it's happening (pybind11), but we are going to do a bunch of c++11
cleanups as well, and so wanted a stable release before we potentially
break the ABI
Kimball
…On Fri, Sep 27, 2019 at 11:05 AM Thomas Mansencal ***@***.***> wrote:
Random related thoughts, what about using *pybind11*? :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#573>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHM3IFRQWZGEYDSS7HEWP3QLU53FANCNFSM4I27Q54A>
.
|
cmake, boost, and python are having a contest to thwart each other's naming conventions recently. Have you tried setting, from the command line -DBOOST_ROOT=c:/blah/.../blah/boost/1.66.0.rf1/platform-windows/arch-AMD64/python-2.7.14/boost/stage and if that isn't good enough, setting instead the boost trifecta of BOOST_DIR, BOOST_LIBRARYDIR, and BOOST_INCLUDE_DIR should work or it might be BOOST_INCLUDEDIR, depending on alternate Thursdays. The FindBoost.cmake script is frightening. |
Hi @meshula / Nick, I don't think I changed our Cheers, Thomas |
FindBoost.cmake is complex and savage to tame. Let us know how your experiment goes. |
Checking back on this - any update? Given that the longer-term direction of the project is to move to pybind11, the technical steering group has limited bandwidth to invest in the current approach. If you or someone else from the community would possibly investigate further and propose a patch, we'd be happy to review it. |
The issue seems to be that Boost was forgotten in PyImx/CMakeLists.txt and PyImath/CMakeLists.txt when PyIlmBase was refactored here 4d97270 PyImathNumpy/CMakeLists.txt was however updated so PyImathNumpy builds nicely. |
On further inspection, here's (0eff972) where all code got removed from PyImx/CMakeLists.txt and PyImath/CMakeLists.txt. |
Ok upon further investigation I think I've found the real error. |
This relates directly to #572.
So first it seems like irrespective of whether I use
-DOPENEXR_BUILD_PYTHON_LIBS=0
, the Python bindings are being built and then I get a few linker errors:I'm not sure where it tries to get the library from but I can see it here along with the shared version and a name variation:
Here is a doctored configuration log if that helps:
The text was updated successfully, but these errors were encountered: