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

OpenImageIO path #131

Open
meerfrau opened this issue Nov 3, 2023 · 2 comments
Open

OpenImageIO path #131

meerfrau opened this issue Nov 3, 2023 · 2 comments

Comments

@meerfrau
Copy link

meerfrau commented Nov 3, 2023

I've got oiio headers present at /usr/include/OpenImageIO/ . So OpenImageIO_INCLUDE_DIR should be /usr/include like I've set it, or not?

CMake Error at /lib/cmake/Imath/ImathConfig.cmake:24 (message):
  File or directory /include referenced by variable OpenImageIO_INCLUDE_DIR
  does not exist !
Call Stack (most recent call first):
  /lib/cmake/OpenImageIO/OpenImageIOConfig.cmake:90 (set_and_check)
  arras/arras_render/CMakeLists.txt:46 (find_package)
@jlanz
Copy link

jlanz commented Nov 7, 2023

Hi @meerfrau ,
Can you tell us a little more about how you are building? Which instruction set you are following?

I think typically you would not set OpenImageIO_INCLUDE_DIR directly, but rather rely on it being set by the OpenImageIOConfig.cmake config.

@ccronix
Copy link

ccronix commented Nov 15, 2023

you can try install OpenImageIO to /home/tom/OpenImageIO for somewhere and set CMAKE_PREFIX_PATH to the installation dir.

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

3 participants