Skip to content

build error on centos7 #2

Description

@f1-outsourcing

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions