phash icon indicating copy to clipboard operation
phash copied to clipboard

build error on centos7

Open f1-outsourcing opened this issue 1 year ago • 1 comments

Scanning dependencies of target pHash [ 14%] Building CXX object CMakeFiles/pHash.dir/src/pHash.cpp.o /home/software/phash/src/pHash.cpp: In function ‘int ph_dct(const Features&, Digest&)’: /home/software/phash/src/pHash.cpp:148:17: error: ‘numeric_limits’ was not declared in this scope double max_c = numeric_limits::min(); ^ /home/software/phash/src/pHash.cpp:148:32: error: expected primary-expression before ‘double’ double max_c = numeric_limits::min(); ^ /home/software/phash/src/pHash.cpp:149:35: error: expected primary-expression before ‘double’ double min_c = numeric_limits::max(); ^ make[2]: *** [CMakeFiles/pHash.dir/src/pHash.cpp.o] Error 1 make[1]: *** [CMakeFiles/pHash.dir/all] Error 2 make: *** [all] Error 2

f1-outsourcing avatar Jan 14 '23 18:01 f1-outsourcing