Date
1 - 8 of 8
Instructions on how to build for Windows
swamiforlife@...
Can anyone point me to a link or tutorial showing how to build OpenColorIO for Windows?
If precompiled versions are available that would be even better. |
|
There are some notes on building from source using CMake here: https://opencolorio.org/installation.html I'm not aware of a containerised solution for the windows side of things, but I thought I'd mention that vcpkg has a package script for OCIO: https://github.com/microsoft/vcpkg/tree/master/ports/opencolorio |
|
Simon Björk
Vcpkg works great to build the lib, cmd applications etc. However I haven't had any success with the python bindings using vcpkg. Den tis 7 apr. 2020 kl 13:01 skrev Robert Fanner <robert.fanner@...>:
|
|
Based on the build settings, vcpkg does not build the Python Bindings.
|
|
Simon Björk
But is there a way? I tried editing the vcpkg config for opencolorio and tried with USE_PYTHON, BUILD_PYTHON etc, but none of them worked. Den tis 7 apr. 2020 kl 15:34 skrev Patrick Hodoul <patrickhodoul@...>: Based on the build settings, vcpkg does not build the Python Bindings. |
|
The cmake flag to set is OCIO_BUILD_JNIGLUE.
You can replace "-DOCIO_BUILD_JNIGLUE:BOOL=OFF" by "-DOCIO_BUILD_JNIGLUE:BOOL=ON". |
|
Simon Björk
Thanks Patrick, I'll give it a try. Pretty sure I tried that, but it might have been that I changed
-DOCIO_BUILD_PYGLUE:BOOL=ON. Also, python is updated to Python3 in the portfile, I guess that needs to be replaced with 2? Den tis 7 apr. 2020 kl 15:48 skrev Patrick Hodoul <patrickhodoul@...>: The cmake flag to set is OCIO_BUILD_JNIGLUE. |
|
Yes. Python 3 is not supported by OCIOv1.
|
|