Getting SDL working on MacOS X

Anders F Björklund afb at algonet.se
Sat Mar 11 04:27:19 PST 2006


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



More information about the Digitalmars-d mailing list