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
g++ error with standard library (limits.h)
-
16-07-2023 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow