[Bf-committers] Blender and SDL

Campbell Barton ideasman42 at gmail.com
Tue Mar 13 18:58:20 CET 2012


http://hg.libsdl.org/SDL default branch.

needed to comment XextAddDisplay in src/video/x11/SDL_x11sym.h to get
it building, though previously with SDL I didn't need to make any
edits to get it to build.

On Wed, Mar 14, 2012 at 4:44 AM, Wander Lairson Costa
<wander.lairson at gmail.com> wrote:
> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list