安装PySide - OSX [英] Installing PySide - OSX
问题描述
任何人在OSX上成功安装和使用PySide?我遵循PySide网站上的安装说明,但我遇到了构建API提取器的问题。我在api extractor dir中的CMakeLists.txt文件中运行 cmake
,并且:
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:
此错误被抛出 - / p>
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)
$ b b
我是新建立源码w / cmake,我不是事件真的确定Boost是什么。
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.
感谢
推荐答案
这是一个相当普遍的C ++库,它们可能是PySide需要的,即使我从来没有尝试过。
It's a set of quite widespread C++ libraries, they're probably needed by PySide, even though I've never tried it.
从那里下载:
http://sourceforge.net/projects/boost/files /boost/1.42.0/
否则,您可以从macports安装: http://www.macports.org 一旦你安装了macports,只需运行sudo port install boost。不幸的是,pyside本身似乎还没有在macports。
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.
这篇关于安装PySide - OSX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!