/home/marxin/.phoronix-test-suite/installed-tests/pts/opencv-bench-1.0.0/opencv-benchmarks-0.1/src/discrete_fourier_transform.cpp: In function ‘int main(int, char**)’:
/home/marxin/.phoronix-test-suite/installed-tests/pts/opencv-bench-1.0.0/opencv-benchmarks-0.1/src/discrete_fourier_transform.cpp:39:30: error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope
39 | Mat I = imread(filename, CV_LOAD_IMAGE_GRAYSCALE);
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/marxin/.phoronix-test-suite/installed-tests/pts/opencv-bench-1.0.0/opencv-benchmarks-0.1/src/discrete_fourier_transform.cpp:84:33: error: ‘CV_MINMAX’ was not declared in this scope; did you mean ‘CV_MMX’?
84 | normalize(magI, magI, 0, 1, CV_MINMAX); // Transform the matrix with float values into a
| ^~~~~~~~~
| CV_MMX
make[2]: *** [CMakeFiles/discrete_fourier_transform.dir/build.make:76: CMakeFiles/discrete_fourier_transform.dir/src/discrete_fourier_transform.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/discrete_fourier_transform.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Fails due to: