Skip to content
Snippets Groups Projects
Commit 8febafbd authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

DOC: warn user about the OpenJPEG/ITK issue

parent 3549bc90
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,13 @@ endif()") ...@@ -16,6 +16,13 @@ endif()")
endif() endif()
message(STATUS "Found OpenJPEG : ${OPENJPEG_LIBRARIES} (version ${OPENJPEG_MAJOR_VERSION}.${OPENJPEG_MINOR_VERSION}.${OPENJPEG_BUILD_VERSION})") message(STATUS "Found OpenJPEG : ${OPENJPEG_LIBRARIES} (version ${OPENJPEG_MAJOR_VERSION}.${OPENJPEG_MINOR_VERSION}.${OPENJPEG_BUILD_VERSION})")
message(WARNING "There could be a version conflict if ITK also contains an OpenJPEG version. "
"Depending on ITK version and enabled modules, the OpenJPEG headers can be "
"present in ITK include folder. Since the include order between modules is "
"deterministic, the OpenJPEG header from ITK may be included first. To avoid "
"version conflicts, try to use an ITK installed without GDCM nor ITKReview. "
"An alternative fix is to simply hide the header openjpeg.h in the ITK "
"include directory.")
otb_module_impl() otb_module_impl()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment