[Bf-committers] Blender and SDL

Wander Lairson Costa wander.lairson at gmail.com
Tue Mar 13 18:44:16 CET 2012

2012/3/13 Campbell Barton <ideasman42 at gmail.com>:
> Hi, just tested building with SDL, it needed some update - so be sure
> to try r44850 or newer,
> as for finding the latest SDL, you just need to point CMake to it.
> # sdl
> ./configure --prefix=/opt/sdl13; make -j; make install
> #blender, the find modules often check and environment variable
> SDLDIR=/opt/sdl13 cmake ../blender
> ... or you can set the cmake vars manually on an existing
> configuration, from my CMakeConfig.txt
> SDLMAIN_LIBRARY:FILEPATH=/opt/sdl13/lib/libSDLmain.a
> SDL_INCLUDE_DIR:PATH=/opt/sdl13/include/SDL
> SDL_LIBRARY:STRING=/opt/sdl13/lib/libSDLmain.a;/opt/sdl13/lib/libSDL.so;-lpthread
> This isn't special for SDL, it works the same way when pointing CMake
> to any non-standard version of a lib (OpenEXR, Boost, libtiff... etc)

Just wondering which revision of SDL 1.3 you are using. I switched to
the SDL-1.3 branch and it is not even compiling...

Best Regards,
Wander Lairson Costa

More information about the Bf-committers mailing list