在Windows中安装PyOpenNI - Boost_python问题

时间:2014-06-26 10:19:54

标签: python boost

我正在尝试按照以下指令安装PyOpenNI:

https://github.com/jmendeth/PyOpenNI/wiki/Building-on-Windows

我安装了依赖项:

  • CMake
  • Git
  • 的Python
  • Boost C ++库集

但是当我输入时:

cmake -G "Visual Studio 10" ..\PyOpenNI

我收到以下错误:

The following Boost libraries could not be found:

      boost_python

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.

我安装了Python 2.7,它应该在我的PATH中。我添加了变量:

BOOST_LIBRARYDIR = C:\Program Files (x86)\boost
BOOST_ROOT = C:\Program Files (x86)\boost
BOOSTROOT = C:\Program Files (x86)\boost

但我一直在解决问题。

我错过了什么?

谢谢。

0 个答案:

没有答案