Skip to content
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

Python modules are not linked to Boost::python #594

Closed
antonio-rojas opened this issue Oct 20, 2019 · 1 comment · Fixed by #596
Closed

Python modules are not linked to Boost::python #594

antonio-rojas opened this issue Oct 20, 2019 · 1 comment · Fixed by #596
Milestone

Comments

@antonio-rojas
Copy link
Contributor

When building pyilmbase with cmake, python modules don't link to Boost::python. This gives undefined symbol errors when trying to import them

@JenusL
Copy link
Contributor

JenusL commented Oct 21, 2019

I tried to build OpenEXR 2.4 on Windows for the first time yesterday and I can confirm this.

LINK : fatal error LNK1104: cannot open file 'boost_python37-vc140-mt-x64-1_70.lib' [C:\Users\lindg\GitHub\vfxplatform_build\build\openexr\PyIlmBase\PyIex\iex_python3.vcxproj]
LINK : fatal error LNK1104: cannot open file 'boost_python37-vc140-mt-x64-1_70.lib' [C:\Users\lindg\GitHub\vfxplatform_build\build\openexr\PyIlmBase\PyImath\imath_python3.vcxproj]

So it affects only PyIex and PyImath. PyImathNumpy builds successfully.
Looking at the CMakeLists.txt for the three modules, I notice that they are fundamentally different and only in PyImathNumpy CMakeLists.txt there's code for linking to Boost::Python.

@cary-ilm cary-ilm added the Needs Discussion To be discussed in the technical steering committee label Oct 24, 2019
@cary-ilm cary-ilm removed the Needs Discussion To be discussed in the technical steering committee label Oct 24, 2019
@cary-ilm cary-ilm added this to the v2.5.0 milestone Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants