【问题标题】:Installing PySide - OSX安装 PySide - OSX
【发布时间】:2011-01-12 20:52:18
【问题描述】:

有人在 OSX 上成功安装和使用 PySide 吗?我正在按照 PySide 站点上的安装说明进行操作,但在构建 API 提取器时遇到了问题。我在 api 提取器目录中的 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)

我是使用 cmake 构建源代码的新手,我不确定 Boost 是什么。您对设置过程的任何了解都会很棒。

谢谢

【问题讨论】:

    标签: c++ python cmake pyside


    【解决方案1】:

    您可能想查看最近发布的 PySide 的最新版本,我相信对 Boost 库的依赖已被删除。

    【讨论】:

      【解决方案2】:

      这是一组相当广泛的 C++ 库,PySide 可能需要它们,尽管我从未尝试过。

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

      否则,您可以从 macports 安装它们:http://www.macports.org 一旦您安装了 macports,只需运行“sudo port install boost”。不幸的是,pyside 本身似乎还没有在 macports 中。

      【讨论】:

      • 谢谢,是的,我真的希望通过 mac 端口找到安装
      猜你喜欢
      • 2013-12-25
      • 1970-01-01
      • 2013-12-26
      • 2020-05-02
      • 2014-01-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多