mapnik / python-mapnik

Python bindings for mapnik
GNU Lesser General Public License v2.1
157 stars 91 forks source link

'unistd.h' file not found #214

Closed artuska closed 4 years ago

artuska commented 4 years ago

Running python setup.py install results to:

/python-mapnik/mason_packages/.link/include/boost/config/posix_features.hpp:18:15: fatal error: 'unistd.h' file not found error.

artuska commented 4 years ago

Resolved this by downloading MacOSX.10.12.sdk and put it to the /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs folder.