2012/3/13 Campbell Barton <[email protected]>: > 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 [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
