[SDL] Re: Mac OS X and SDL/SGE

Steven Davidovitz steviedizzle at gmail.com
Thu Nov 17 18:10:23 PST 2005


Ryan C. Gordon <icculus <at> icculus.org> writes:

> 
> 
> > I am trying to get SGE (SDL Graphics Extension) working on Mac OS X. SDL is
> > working perfectly it's just SGE thats giving me trouble. Running `make` works
> > fine, but `make install` fails because OS X's 'ld' doesn't have the option
> > '-soname'. Has anyone had any success building SGE on OS X?
> 
> The link line is a little different for Mac OS X...here's an updated 
> Makefile. "make shared" will build libSGE.dylib, which, when linked 
> against, will be searched for in the same directory as the app's binary 
> at runtime. It'll still use the regular behaviour on Linux.
> 
> This builds...I haven't tried to link it to any apps, though.
> 
> --ryan.
> 
> <Makefiles>
> 
> 
> _______________________________________________
> SDL mailing list
> SDL <at> libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 

Thanks, I got it built and installed, and successfully compiled against. But
when I try to run the app that uses it I get 

"dyld: rubyw-1.8.3 can't open library: libSGE.dylib  (No such file or directory,
errno = 2)
Trace/BPT trap"

Could this be a specific ruby error, or is it part of the SGE build?

Thanks alot,
Steven





More information about the SDL mailing list