Skip to content

cmake issue #1

@wl0521

Description

@wl0521

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions