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

Fix building OIIO tutorials with newer OIIO versions #388

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DarkDefender
Copy link

Newer OIIO versions seems to require >CPP14 however embree currently forces c++11 causing the tutorials to fail with newer OIIO versions (tested with OIIO 2.3.17.0).

I don't know if changing the cpp version to be implicit is controversial or not.
But it at least works for me. ^^

In addition to this, the OIIO library finding needed to be updated as the main library now depends on the additional _utils library. Otherwise it would fail at the linking phase because of missing symbols.

This prevented building the openimageio tutorials as newer openimageio
versions supports only a minimum of c++14.
Newer OIIO version has split the library in two.
The regular library and an utils library.

The regular library depends on the  utils library, so we need to include
it as well if it is found.
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

Successfully merging this pull request may close these issues.

None yet

1 participant