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

Compile OpenImageIO from source #6

Open
ennis opened this issue Feb 6, 2021 · 0 comments
Open

Compile OpenImageIO from source #6

ennis opened this issue Feb 6, 2021 · 0 comments

Comments

@ennis
Copy link
Owner

ennis commented Feb 6, 2021

Right now OpenImageIO is fetched via vcpkg on windows, which results in a suboptimal experience for users of the library: they need to install vcpkg, install openimageio, set the VCPKG_ROOT environment variable for build.rs, which wastes a lot of time better spent on more productive things. Also, the bindings can break on every update to the vcpkg package since we don't (can't) track a particular version of OIIO on vcpkg.

Instead, provide the option of building OIIO as part of the build process. OIIO has a lot of dependencies (OpenEXR, libtiff, plus a lot of optional ones), which will lead to some CMake insanity, but in the end the process should be transparent to the user and (hopefully) cross-platform.

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

No branches or pull requests

1 participant