我正在尝试编译摩西(机器翻译工具)。我编译时指定了boost的位置如下。
./bjam --with-boost=/home/xhotsuki/bin/boost_1_56_0 -j8
Run Code Online (Sandbox Code Playgroud)
但是我遇到了很多这样的错误。
...failed gcc.link mert/bin/gcc-4.4.6/release/debug-symbols-on/link-static/threading-multi/timer_test...
...skipped <pmert/bin/gcc-4.4.6/release/debug-symbols-on/link-static/threading-multi>timer_test.passed for lack of <pmert/bin/gcc-4.4.6/release/debug-symbols-on/link-static/threading-multi>timer_test...
gcc.link mert/bin/gcc-4.4.6/release/debug-symbols-on/link-static/threading-multi/util_test
mert/bin/gcc-4.4.6/release/debug-symbols-on/link-static/threading-multi/UtilTest.o: In function 'main':<br>
/home/xhotsuki/bin/boost_1_56_0/include/boost/test/unit_test.hpp:59: undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
Run Code Online (Sandbox Code Playgroud)
出了什么问题?
我和我的同事创建了一个 docker 映像来帮助安装 Moses 服务器及其所有依赖项,构建需要一些时间,但最终成功了,您只需担心使用它并部署模型即可。
https://hub.docker.com/repository/docker/alaahamoudah/dockerized_moses_server
| 归档时间: |
|
| 查看次数: |
430 次 |
| 最近记录: |