Wednesday, October 21, 2020

Building OpenImageIO on Windows

After messing around trying to build OpenImageIO on Windows I found this on Reddit. REDDIT!? That's what the world has come to.

Compiling OpenImageIO for Windows Yeah, use Vcpkg.

It automatically sorts out the dependencies for you and integrates the new library into Visual Studio's environment variables, so they're suddenly just as easy to use as the ol' STL.

If the library you want is in the list of maintained ports for Vcpkg, compiling it correctly is just a matter of entering this in a command prompt:

vcpkg install openimageio:x64-windows vcpkg integrate install

This will work for OpenEXR, OpenVDB, Alembic and a wide range of other essential libraries. You can even update the whole catalog with one command. It's life-changing.

https://www.reddit.com/r/vfx/comments/9jev6b/compiling_openimageio_for_windows/