[Slackbuilds-users] openimageio with pybind11 issues

Christoph Willing chris.willing at linux.com
Wed Mar 24 07:48:29 UTC 2021


On 23/3/21 5:44 pm, Tim Dickson via SlackBuilds-users wrote:
> has anyone had success building openimageio with the new pybind11  ? it
> is failing for me. it seems to be looking for pybind11 files in
> /usr/include/python2.7/pybind11  when the pybind11 package has the files
> in /usr/include/pybind11
> 

I've held pybind11 at version at 2.5.0 - the latest that enables
building of openimageio - however not for want of finding include files.
With latest pybind11-2.6.2 configuration output says:
    -- pybind11 2.6.2, include dir: /usr/include

i.e. include files are found OK.

The error I see is after 92% has compiled:
    /var/tmp/SBo/oiio-Release-2.0.13/src/python/py_oiio.h:303:47: error:
no matching function for call to 'cast(OpenImageIO_v2_0::span<const
OpenImageIO_v2_0::TypeDesc, -1l>::element_type&)'

I'm assuming this is due to new definitions in pybind11 which newer
versions of openimageio will deal with. However newer versions of
openimageio don't build in 14.2 so we're stuck with openimageio-2.0.13
and (therefore) pybind11-2.5.0.

chris


More information about the SlackBuilds-users mailing list