Skip to content

Instantly share code, notes, and snippets.

@mike-lawrence
Created March 9, 2012 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mike-lawrence/2007723 to your computer and use it in GitHub Desktop.
Save mike-lawrence/2007723 to your computer and use it in GitHub Desktop.
Error encountered when attempting to build modified pygame 1.9.1 with modified SDL 1.2.15
llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -Ddarwin -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -I/Library/Frameworks/SDL_image.framework/Versions/Current/Headers -I/usr/local/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/imageext.c -o build/temp.macosx-10.7-intel-2.7/src/imageext.o
In file included from /Library/Frameworks/SDL.framework/Versions/Current/Headers/SDL.h:75,
from src/pygame.h:106,
from src/imageext.c:47:
/Library/Frameworks/SDL.framework/Versions/Current/Headers/SDL_atomic.h: In function ‘SDL_AtomicSetPtr’:
/Library/Frameworks/SDL.framework/Versions/Current/Headers/SDL_atomic.h:289: warning: cast from pointer to integer of different size
/Library/Frameworks/SDL.framework/Versions/Current/Headers/SDL_atomic.h:289: warning: cast from pointer to integer of different size
src/imageext.c: In function ‘SavePNG’:
src/imageext.c:252: error: ‘SDL_PixelFormat’ has no member named ‘alpha’
src/imageext.c:256: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c:274: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c: In function ‘SavePNG’:
src/imageext.c:252: error: ‘SDL_PixelFormat’ has no member named ‘alpha’
src/imageext.c:256: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c:274: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c: In function ‘image_save_ext’:
src/imageext.c:591: warning: implicit conversion shortens 64-bit value into a 32-bit value
lipo: can't open input file: /var/tmp//ccnAk4Kc.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment