-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I download OpenEXR by below command(
git clone --recurse-submodules https://github.com/AcademySoftwareFoundation/openexr.git)
when i cmake, the error message as below:
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
Found python version: python39
CMake Error at CMakeLists.txt:52 (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 thought the reason which is I downloading the latest OpenEXR, and the new version don't have this specific file. However, when i search the older version, such as RB-2.3, RB-2.4, they also don't have those files.
SO, how to solve the problem?