Ask Your Question

Revision history [back]

https://github.com/opencv/opencv/pull/9430/files

sir, this error puzzled me for some hours and i found this github page. i will take OpenCV2.4.13 as example, in file opencv2.4.13/cmake/ OpenCVDetectCXXCompiler.cmake, u have to change "dumpversion" to "dumpfullversion"

explanation is that in gcc with higher version, dumpversion function can't get true full version number of compiler so that cmake progress will fail.