Compiling Blender: important new upgrade!
By olivS, dimanche 2 novembre 2008 à 10:41 :: Compiling Softwares :: #108 :: rss :: PDF
The information contained in the article Compiling Blender for Kubuntu 7.10 are still relevant, but recently Jesterking (Nathan Letwory) introduced scons-local of the latest version supported. The reason behind that is that a lot of people were complaining about the shift to SCons 1.0.0 as a new requirement, which proved to be a problem with some distributions, while a manual installation of the latest Scons looked difficult also for some people.
File(s) Attached :
- No file available for download
However, upgrading to Scons 1.0.0 and higher has significant advantages for the developers of Blender. Jesterking has added a scons-local install in a scons/ subdirectory to SVN. This means that people don't actually have to install scons anymore themselves, but can be assured that the latest is always readily available. Obviously, this induces some changes in the way you have to compile Blender.
If you start to build your user-config.py based on the config/linux2-config.py, then you will probably not have much more to do than enabling the right building options, as per the article Compiling Blender for Kubuntu 7.10. But if you don't start from fresh, or already have built Blender yourself from SVN in the past, you will most probably have to change the following lines, using arguments in your user-config.py:

to the same, but using lists:

Please note that in the future, changes will also be made so that lists would be used wherever multiple inputs are possible, like settings, flags, paths, etc.
On a second stage, you will now start to build using the following command line:
$ python ./scons/scons.py
Optionally, you can set the number of threads your computer has available for the build, using the following command line:
$ python ./scons/scons.py -j 2
or specify, in your user-config.py file, the following option:
BF_NUMBJOBS=2
That's it! Here you go again, building Blender yourself on a Linux Ubuntu system!








Comments
No comment at the moment.
Add a comment