安装 PySide - OSX

发布于 2024-08-19 20:32:22 字数 657 浏览 5 评论 0原文

有人在 OSX 上成功安装和使用 PySide 吗?尽管我在构建 API 提取器时遇到了问题,但我正在按照 PySide 站点上的安装说明进行操作。我在 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 是什么。如果您对设置过程有任何了解,那就太好了。

谢谢

Anyone had success installing and using PySide on OSX? I am following the install instructions on the PySide site, though I'm running into issues building the API Extractor. I run cmake on the CMakeLists.txt file inside the api extractor dir and:

This error is thrown-

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)

I am new to building source w/ cmake and I'm not event really sure what Boost is. Any light you might shed on the set up process would be great.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

赤濁 2024-08-26 20:32:22

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

You may want to check the newest release of PySide, out very recently, I believe the dependency on the Boost libraries has been removed.

七秒鱼° 2024-08-26 20:32:22

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

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

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

It's a set of quite widespread C++ libraries, they're probably needed by PySide, even though I've never tried it.

Download them from there:
http://sourceforge.net/projects/boost/files/boost/1.42.0/

Otherwise, you can install them from macports: http://www.macports.org once you've installed macports, just run "sudo port install boost". Unluckily, pyside itself doesn't seem to be in macports yet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文