CMake can't configuration WITH_OPENEXR option on Windows (Feature #1568)
Description
CMake can't configuration WITH_OPENEXR option on Windows.
I made a patch to fixed this problem.
Please test operation.
----
・Method of specify the OpenEXR's include path and lib path.
Probably, CMake's SET can't used $ENV{PROGRAM_FILES}.
・Add OPENEXR_DLL in Preprocessor Definitions.
Associated revisions
#1568 support of building with OpenEXR on Windows
Merge pull request #1568 from ilya-lavrenov:ocl_pyrlk
History
Updated by Alexander Shishkov about 13 years ago
- Description changed from CMake can't configuration WITH_OPENEXR option on Windows. I made a patch... to CMake can't configuration WITH_OPENEXR option on Windows. I made a patch... More
Updated by Andrey Kamaev about 13 years ago
Support of Windows paths is added to trunk.
After solving a quest of getting OpenEXR for Windows built as static libraries you can point cmake to the OpenEXR binaries using cmake OPENEXR_ROOT
variable:
cmake -DOPENEXR_ROOT=C:/OpenEXR/Deploy ..
If you want to link against OpenEXR built as dynamic libraries you need to add OPENEXR_DLL
compiler definition somewhere in OpenCV cmake or highgui source.
- Status changed from Open to Done
- Target version set to 2.4.0