-
Notifications
You must be signed in to change notification settings - Fork 0
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
PyO3 Python extension missing dlls #4
Comments
The OpenEXR bindings are still in a huge state of flux. Chances are they'll be rewritten so they use CXX. But, if all you're after are Python bindings and image IO, have you looked into OpenImageIO? |
thanks for the quick answer. My current solution uses the OpenImageIO Python bindings. I mainly wanted to learn a bit of rust and so i thought i could try out the rust bindings for openEXR and make an extension for a python tool im working on |
No worries! We're making some progress with the OpenImageIO Rust bindings.
If you're interested, we could use some support.
https://github.com/vfx-rs/oiio-bind
|
I would love to contribute, but I'm afraid I wouldn't be much help since I'm not a C++ person and only recently started picking up Rust. |
Sounds like a great time to learn. ;) If you're interested, I think it might be a good idea to set up a Zoom call and go over creating a binding. I recommend going to the |
Hi, im trying to make a simple python extension using maturin and the PyO3 bindings.
The Program loads an .exr file and saves it as a .jpg and its working fine as a standalone tool.
So i used maturin to create a python extension and when I try to import this extension in a python script i get following error:
“ImportError: Dll Load Failed: The specified module could not be found”.
I inspected the generated .pyd file with Dependency Walker and found it had issues finding a "OPENEXR-C-0_10-SHARED.DLL".
I have honestly no Idea where to get this file from as i cant find it in the prebuilt openexr release in the target folder of my rust project.
Any tips would be greatly appreciated
The text was updated successfully, but these errors were encountered: