openexrid icon indicating copy to clipboard operation
openexrid copied to clipboard

Missing OpenEXR CMake module

Open charlesfleche opened this issue 6 years ago • 2 comments

CMake build fails with missing package FindOpenEXR.cmake:

CMake Error at openexrid/CMakeLists.txt:1 (FIND_PACKAGE):
  By not providing "FindOpenEXR.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenEXR", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenEXR" with any
  of the following names:

    OpenEXRConfig.cmake
    openexr-config.cmake

  Add the installation prefix of "OpenEXR" to CMAKE_PREFIX_PATH or set
  "OpenEXR_DIR" to a directory containing one of the above files.  If
  "OpenEXR" provides a separate development package or SDK, be sure it has
  been installed.

I've the feeling that either OpenEXRConfig.cmake or openexr-config.cmake is installed locally on Mercenaries workstations, but not released in openexrid. What OpenEXRConfig.cmake are you using ? Is that the one from USD ?

charlesfleche avatar Oct 22 '19 22:10 charlesfleche

CMake build fails with missing package FindOpenEXR.cmake:

CMake Error at openexrid/CMakeLists.txt:1 (FIND_PACKAGE):
  By not providing "FindOpenEXR.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenEXR", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenEXR" with any
  of the following names:

    OpenEXRConfig.cmake
    openexr-config.cmake

  Add the installation prefix of "OpenEXR" to CMAKE_PREFIX_PATH or set
  "OpenEXR_DIR" to a directory containing one of the above files.  If
  "OpenEXR" provides a separate development package or SDK, be sure it has
  been installed.

I've the feeling that either OpenEXRConfig.cmake or openexr-config.cmake is installed locally on Mercenaries workstations, but not released in openexrid. What OpenEXRConfig.cmake are you using ? Is that the one from USD ?

Hi @charlesfleche, I met the same problem. Have you solved it? Expect for your reply.

1LOVESJohnny avatar Jul 20 '20 14:07 1LOVESJohnny

No, I just tried it again, still no success. I suspect that the conan build works because it somehow pulls the FindIlmBase.cmake and FindOpenEXR.cmake files.

charlesfleche avatar Aug 08 '20 21:08 charlesfleche