Re: Issue Compiling OCIO Under OSX and vcpkg.

Patrick Hodoul

Hi Simon & Community,

OCIO 1.1.1 is from the branch RB-1.1 and it does not compile in C++11. But the reported error is a new C++11 syntax to initialize vector in a Yaml include file. So, the build can only fail.
The expected yaml version for RB-1.1 is 0.3.0 but the yaml version used to compile is a most recent one.

So, there are definitively errors in vcpkg rules concerning OCIO v1.1.1:

Few comments:
  • imposes Python 3 (RB-1.1 only supports Python 2)
  • disables Python bindings
  • requires external tinyxml & yaml. But the yaml version detection is difficult and flaky which could explain the problem if the build finds 0.6.3 for example.

Sometime this week, I will log a defect to vcpkg to fix:
  • require Python 2
  • enable Python bindings
  • do not use external tinyxml & yaml

Let me know if you notice something else.



Join to automatically receive all group messages.