Building Blender 2.5 on Windows 7 with MSVC and SCons

I have created a 30-minute screencast in which I briefly show how Blender 2.5 can be compiled using the SCons/msvc toolset. This screencast is as a quick gap-fill until I have written out more detailed notes.

You can see that the base directory for the OpenAL dependency is constructed from the LIBDIR setting and the location of the ‘topdir’ for that dependency in the lib/win64 module. The include directory and the path to the libraries are constructed then using the dependency base path.

This is how all dependencies are configured. Essentially also for Linux and OSX systems, albeit that the LIBDIR often is set to point to /usr/lib, so that system wide (native) libraries are used.

Of course, to be able to build with a certain dependency, you’ll need to make sure that it has been actually compiled. Currently at least Jack and sndfile are missing, and FFMPEG too.