Hello oiio dev,

I've had a problem with the python bindings for OpenImageIO when built on
Windows, I was wondering if anyone here happens to know what I'm doing
wrong..

My issue is:
When I do an "Import OpenImageIO" I get a DLL load error: "ImportError: DLL
load failed while importing OpenImageIO: The specified module could not be
found.".

I've built oiio with vcpkg, running: vcpkg install
openimageio[pybind11]:x64-windows
I also adjusted the portfile.cmake to add "-DUSE_PYTHON=ON" as without it,
I didn't seem to get the OpenImageIO.pyd.

Also, I can see the docs say: "You must ensure that the environment
variable PYTHONPATH includes the python subdirectory of the OpenImageIO
installation."
However, I didn't actually get a "python" subdirectory created, but I can
find a OpenImageIO.pyd.

So I think everything *seems* to build correctly, therefore I'm assuming
this is more of an install issue possibly?

I tried running Dependency Walker on the .pyd and it did come up with a lot
of missing dependencies, OpenImageIO.dll itself didn't seem to be one of
them, but itself had many.

Has anyone had experience with building successfully on Windows with python
working that could shed some light on my issue?

Thanks in advance!

Cheers,
Jake
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to