2014-11-05 61 views
0

我想安装PyVlFeat,安装失败,确切地说这个问题在这里提到。 pyvlfeat error during installation: /usr/bin/ld: cannot find -lboost_python-mt-py26使用我的PyVlFeat安装Boost Python

根据上面提到的答案,我需要将“-lboost_python-mt-py26”的引用更改为我的系统中正确版本的Boost Python。 我在Ubuntu 14.04,我试图通过使用这个命令“ls/usr/lib/libboost_python *”来检测我的boost python版本。我似乎没有任何类似的库名称。但是,我已经使用这个命令安装了Boost Python“sudo apt-get install libboost-all-dev”,如上所述。 https://stackoverflow.com/questions/25891667/boost-undefined-reference-ubuntu-14-04-boost-1-54

由于Boost Python已经存在,我应该如何正确使用它来编译PyVlFeat。

+0

我在askubuntu登载,并得到了答案 HTTP。: //askubuntu.com/questions/546323/cannot-find-lboost-python-mt-error-when-using-boost/546823#546823 – Erdnase 2014-11-07 14:10:41

回答

0

-mt后缀已从Boost库中删除。安装的Boost库是多线程安全的。

更改参考,以“-lboost_python-py27”(删除-mt后缀使用Python的正确版本会解决这个问题