CMake can't configuration WITH_OPENEXR option on Windows (Feature #1568)


Added by Tsukasa Sugiura about 13 years ago. Updated about 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:build/install
Target version:2.4.0
Difficulty: Pull request:

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.


OpenCVFindOpenEXR.cmake.patch (631 Bytes) Tsukasa Sugiura, 2012-01-26 05:04 pm

CMakeLists.txt.patch (561 Bytes) Tsukasa Sugiura, 2012-01-26 05:04 pm


Associated revisions

Revision cb982370
Added by Andrey Kamaev about 13 years ago

#1568 support of building with OpenEXR on Windows

Revision f91f8663
Added by Roman Donchenko over 11 years ago

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

Also available in: Atom PDF