Ask Your Question

Revision history [back]

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.