문제

I was trying to install OpenBR from http://openbiometrics.org/doxygen/latest/installation.html and I am getting an error with the standard c library.

/home/vinaychandra/OpenBR/openbr/openbr/janus.cpp: In function ‘janus_error janus_verify(janus_flat_template, size_t, janus_flat_template, size_t, double*)’:
/home/vinaychandra/OpenBR/openbr/openbr/janus.cpp:123:40: error: ‘lowest’ is not a member of ‘std::numeric_limits<double>’
     else                 *similarity = std::numeric_limits<double>::lowest();
                                        ^
make[2]: *** [openbr/CMakeFiles/openbr.dir/janus.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [openbr/CMakeFiles/openbr.dir/all] Error 2

All I know is that numeric_limits is the standard c++ library. And such an error should not exist. Please explain why this problem is occurring.

My g++ version is 4.9.0. I also tried it with 4.8 and 4.7 versions.

도움이 되었습니까?

해결책

OpenBR has been reporting problems when you are trying to use the latest version of Ubuntu. This might be because of g++ version and some other libraries. Please revert to 13.04 to use OpenBR to its full extent

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top