[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] strange compile error with cocoa



k, the SGStopPreview whould be SGStop.
I fixed this in the latest commit

Grtz
On 17-jul-09, at 04:47, René Dudfield wrote:

awesome.  It's working now :)

except I had to comment out the SGStopPreview function... since the
symbol doesn't exist on my system.  From google.com/codesearch
searches, it seems a very rare function to call, so maybe it doesn't
exist anymore?

cu,



On Wed, Jul 15, 2009 at 10:03 AM, René Dudfield<renesd@xxxxxxxxx> wrote:
hi again,

I get this error when trying to compile after a git pull.

building 'pygame._camera' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall
-Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch
i386 -arch ppc -pipe -Ddarwin
-I/Library/Frameworks/SDL.framework/Versions/Current/Headers
-I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ python2.5 -c src/_camera.c -o build/temp.macosx-10.5-i386-2.5/src/_camera.o - C-W
-C-Wall
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/ Foundation.h:12,
                from
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                from src/camera.h:49,
                from src/_camera.c:36:
/System/Library/Frameworks/Foundation.framework/Headers/ NSObjCRuntime.h:124:
error: stray ‘@’ in program
...
etc


ps.  for others to download it and try it out:
   git clone git://github.com/ab3/pygame-mirror.git


cheers,

On Tue, Jul 14, 2009 at 9:00 AM, René Dudfield<renesd@xxxxxxxxx> wrote:
On Tue, Jul 14, 2009 at 8:58 AM, el lauwer<el.lauwer@xxxxxxxxx> wrote:
Ok, good news, with the current version of the camera module, I am able to grab a frame from the camera, copy it to the SDL_Surface and display this
image in the display.

awesome. nice work!