1

This is what I'm getting when trying to build setup.py from pygame package.

running build
running build_py
running build_ext
building 'pygame.sdlmain_osx' extension
/usr/bin/gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -I/opt/X11/include -arch i386 -Ddarwin -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/sdlmain_osx.m -o build/temp.macosx-10.6-intel-2.7/src/sdlmain_osx.o
src/sdlmain_osx.m:24:10: fatal error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>
         ^
1 error generated.
error: command '/usr/bin/gcc' failed with exit status 1

I was following these instructions: http://pygame.org/wiki/MacCompile

I have Carbon.framework located in Library/Frameworks/

I am working on mac and using python 2.7

TomasJ
  • 289
  • 8
  • 21

0 Answers0