I am using cmake-gui trying to build opencv but get this error:
CMake Error at cmake/OpenCVGenConfig.cmake:134 (math):
math cannot parse the expression: "8 * ": syntax error, unexpected $end,
expecting exp_OPENPARENT or exp_NUMBER (4)
Call Stack (most recent call first):
CMakeLists.txt:649 (include)
This is my first experience with cmake so I am not sure where to turn. I have looked at the OpenCVGenConfig.cmake file but I am clueless about its syntax. I blew away everything, downloaded the opencv tarball again, but still get the same error. So it does not appear that it is a typo/error in the OpenCVGenConfig.cmake file but in the processing of the "math" command. I can not seem to find anything relating to a "math" command in the Cmake documentation.
Any ideas?
-Andres