我试图从OpenBR安装http://openbiometrics.org/doxygen/latest/installation.html,但标准c库出现了错误。
/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我只知道numeric_limits是标准的c++库。这样的错误不应该存在。请解释为什么会发生这个问题。
我的g++版本是4.9.0。我也尝试了4.8和4.7版本。
发布于 2014-05-15 06:49:19
当您尝试使用Ubuntu的最新版本时,OpenBR一直在报告问题。这可能是因为g++版本和其他一些库。请恢复到13.04以最大程度地使用OpenBR
https://stackoverflow.com/questions/23492928
复制相似问题