任何人都有成功安装和使用OSX PySide?我下面就PySide网站上的安装说明,虽然我运行到建立API提取的问题。我的API提取DIR和内部的CMakeLists.txt文件运行cmake

此引发错误 -

CMake Error at /Applications/CMake 2.8-0.app/Contents/share/cmake-2.8/Modules/FindBoost.cmake:894 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:5 (find_package)

我是新来构建源W / CMake和我不是事件真的知道加速是什么。你可能会在设置过程有何启示将是巨大的。

由于

有帮助吗?

解决方案

这是一组非常广泛的C ++库,他们很可能通过PySide需要的,尽管我从来没有尝试过。

从那里下载它们: http://sourceforge.net/projects/boost/files/boost/1.42 0.0 /

另外,你可以从MacPorts的安装: http://www.macports.org 一旦你”已经安装使用MacPorts,只需运行“命令端口安装升压”。不幸,pyside本身似乎没有在MacPorts的爱好。

其他提示

您可能要检查PySide的最新版本,走出最近,我相信在Boost库的依赖已被删除。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top