pyside / PySide

ATTENTION: This project is deprecated, please refer to PySide2
https://wiki.qt.io/PySide2
GNU Lesser General Public License v2.1
291 stars 66 forks source link

Mac OSX 10.11 Build Issue - #141

Open mohitt opened 8 years ago

mohitt commented 8 years ago

I was following

http://pyside.readthedocs.org/en/latest/building/macosx.html#installing-prerequisites

and I did following

export MACOSX_DEPLOYMENT_TARGET=10.11

I am seeing following error when I am trying to compile, PySide on Mac OSX 10.11

CMake Error at /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/Platform/Darwin.cmake:76 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET is '10.11' but CMAKE_OSX_SYSROOT:

   ""

  is not set to a MacOSX SDK with a recognized version.  Either set
  CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to
  empty.
devsnek commented 8 years ago

i am getting the same error.

fredrikaverpil commented 8 years ago

If you just skip that (don't define the variable), it builds fine here for me on OS X 10.11.4.

git clone --recursive https://github.com/PySide/pyside-setup.git pyside-setup
python setup.py bdist_wheel --ignore-git