Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is sdl-config installed on MacOS 10.6 (Snow Leopard)

Tags:

macos

sdl

After installing SDL and SDL-devel in MacOS X 10.6 (Snow Leopard), trying to configure some source code that requires SDL yields:

checking for sdl-config... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!

Does anyone know where to find sdl-config? I guess I can build SDL from source, but why should I have to, when there exist pre-built packages?

like image 565
Josh Glover Avatar asked Jan 23 '10 07:01

Josh Glover


1 Answers

you can use macports to install libsdl or libsdl-devel (v1.2 or v1.3)

http://www.macports.org/

after installing macports to install libsdl type port install libsdl

it will install sdl-config at /opt/local/bin

like image 127
ufk Avatar answered Sep 30 '22 13:09

ufk