phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.
Other
68 stars 81 forks source link

pts/opencv-bench-1.0.0 fails to build #242

Open marxin opened 2 years ago

marxin commented 2 years ago

Fails due to:

/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....