Got it.

Look in your CMakeCache.txt for BUILD_PYBIND11_VERSION, what version does it 
say?

My bad. I seem to have made some python binding changes lately that rely on a 
relatively recent change in pybind11, and I didn't realize that necessitated 
bumping the minimum pybind11 version we require.

Some trial and error indicates that you'll get some pybind11 declaration issues 
like this unless you have a minimum of pybind11 v2.4.2. I will update the build 
scripts to fix that requirement.



> On Jan 3, 2020, at 9:59 PM, Troy Sobotka <troy.sobo...@gmail.com> wrote:
> 
> On Fri, Jan 3, 2020 at 9:52 PM Larry Gritz <l...@larrygritz.com> wrote:
>> 
>> Can you paste the full error message so we know where it occurred?
> 
> My bad. I did the classic newbie and didn't spot the source error as
> it was much further up.
> 
> ```
> In file included from
> /home/aphorism/Develop/Source/oiio/src/python/py_colorconfig.cpp:31:
> /oiio/src/python/py_oiio.h: In function ‘bool
> PyOpenImageIO::py_buffer_to_stdvector(std::vector<T>&, const
> pybind11::buffer&)’:
> /oiio/src/python/py_oiio.h:267:36: error: no matching function for
> call to ‘pybind11::buffer::request() const’
>     oiio_bufinfo binfo(obj.request());
> ```
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
l...@larrygritz.com




_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to