0

我试图从http://openbiometrics.org/doxygen/latest/installation.html安装 OpenBR ,但标准 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 版本。

4

1 回答 1

0

当您尝试使用最新版本的 Ubuntu 时,OpenBR 一直在报告问题。这可能是因为 g++ 版本和其他一些库。请恢复到 13.04 以充分使用 OpenBR

于 2014-05-15T06:49:19.257 回答