Getting SDL working on MacOS X

Ryan Burton ryan at pixllabs.net
Sat Mar 11 22:45:25 PST 2006


In article <duufn7$2pei$1 at digitaldaemon.com>,
 Anders F Björklund <afb at algonet.se> wrote:

> Ryan Burton wrote:
> 
> > I'm new to D, and I'd like to do some SDL programming on Tiger. I 
> > downloaded the SDL module from http://www.algonet.se/~afb/d/ and tried 
> > to build the example testbitmap.d, but I unfortunately get an error that 
> > I have no idea how to get around.
> [...]
> > /usr/bin/ld: libSDL_d.a(mutex.o) has external relocation entries in 
> > non-writable section (__TEXT,__text) for symbols:
> > _SDL_mutexV
> > _SDL_mutexP
> > collect2: ld returned 1 exit status
> > make: *** [testbitmap] Error 1
> 
> Looks good, so must be something new in the Tiger linker I guess ?
> 
> If you're bored, you can use the GCC-3.3 based version meanwhile...
> (at least I hope that you can, as it seemed to work OK for Panther)
> 
> --anders


Hmmm... I just tried the Panther GDC binaries and got the same error. I 
suppose I'll be building on Windows for now.

Thanks
-Ryan



More information about the Digitalmars-d mailing list