Dear all,
I tried to build OTB 6.2 from a Superbuild. It crashes on building the
OpenCV with the following error:
CMake Error at cmake/OpenCVDetectCXXCompiler.cmake:81 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:91 (include)
CMake Error at cmake/OpenCVDetectCXXCompiler.cmake:82 (list):
list GET given empty list
Call Stack (most recent call first):
CMakeLists.txt:91 (include)
CMake Error at cmake/OpenCVDetectCXXCompiler.cmake:85 (math):
math cannot parse the expression: "*100 + ": syntax error, unexpected
exp_TIMES, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
(1)
Call Stack (most recent call first):
CMakeLists.txt:91 (include)
These lines in the cmake file are as the follwoing:
list(GET CMAKE_OPENCV_GCC_VERSIONS 0 CMAKE_OPENCV_GCC_VERSION_MAJOR)
list(GET CMAKE_OPENCV_GCC_VERSIONS 1 CMAKE_OPENCV_GCC_VERSION_MINOR)
set(CMAKE_OPENCV_GCC_VERSION
${CMAKE_OPENCV_GCC_VERSION_MAJOR}${CMAKE_OPENCV_GCC_VERSION_MINOR})
math(EXPR CMAKE_OPENCV_GCC_VERSION_NUM
"${CMAKE_OPENCV_GCC_VERSION_MAJOR}*100 + ${CMAKE_OPENCV_GCC_VERSION_MINOR}")
the OS is Ubuntu 16.04
I used cmake 3.5.1, and then upgraded to 3.10.1
I turned off the python bendings
I turned off Java bendings
Appreciate your help
Thanks
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.