* Stephen Eilert <[email protected]> [121114 02:30]: > Hello guys, > > Before I don the full diving suit, I'd like to know if any of you have > pointers regarding building the SDL egg on OSX. > > I am doing some experiments which depend on SDL and Cairo which are both > easy to install under Linux. But this is my main dev machine and I'd really > like to get it working properly. > > Cairo was complaining about xcb-shm or something, which I fixed by setting > PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig > > No such luck with SDL. I have tried installing and linking SDL with > homebrew (actually, all packages with SDL on their names, to be sure: brew > install sdl sdl_gfx sdl_image sdl_mixer sdl_net sdl_rtf sdl_sound sdl_ttf), > then compiling the SDL egg. It gives me the linker errors below. > > I wondered if it was an arch problem, but it seems that both chicken and > the library are x86-64. For instance: > > ??? file /usr/local/Cellar/sdl_net/1.2.8/lib/* > /usr/local/Cellar/sdl_net/1.2.8/lib/libSDL_net-1.2.0.dylib: Mach-O 64-bit > dynamically linked shared library x86_64 > /usr/local/Cellar/sdl_net/1.2.8/lib/libSDL_net.a: current ar > archive random library > /usr/local/Cellar/sdl_net/1.2.8/lib/libSDL_net.dylib: Mach-O 64-bit > dynamically linked shared library x86_64 > > > So I am not sure what the problem is. Any ideas? >
Just a small note: The sdl egg is also available as sdl-base, sdl-ttf, sdl-net, etc. so if you don't need everything you can concentrate on the parts you actually need. The sdl egg has been left as is for backwards compatibility. Kind regards, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
