﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3ALeifAndersen%2FGSoC2010%2FHowto</id>
	<title>利用者:LeifAndersen/GSoC2010/Howto - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3ALeifAndersen%2FGSoC2010%2FHowto"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeifAndersen/GSoC2010/Howto&amp;action=history"/>
	<updated>2026-07-31T17:02:26Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeifAndersen/GSoC2010/Howto&amp;diff=97839&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeifAndersen/GSoC2010/Howto&amp;diff=97839&amp;oldid=prev"/>
		<updated>2018-06-28T19:37:37Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 19:37時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeifAndersen/GSoC2010/Howto&amp;diff=97838&amp;oldid=prev</id>
		<title>2010年8月16日 (月) 03:02にwiki&gt;LeifAndersenによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeifAndersen/GSoC2010/Howto&amp;diff=97838&amp;oldid=prev"/>
		<updated>2010-08-16T03:02:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Building, testing, and using Blender 2.5-GSoC 2010-Leif=&lt;br /&gt;
The following page is a howto for building and using the GSoC 2010 testing project's branch of blender.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing Blender=&lt;br /&gt;
&lt;br /&gt;
==Getting a pre-built version==&lt;br /&gt;
I, and several other very helpful people, have added some pre-built versions that you can find on Graphicall, these are likely to be out of date, and for the most up to date code, it is better to compile the source.&lt;br /&gt;
&lt;br /&gt;
* [http://www.graphicall.org/builds/builds/showbuild.php?action=show&amp;amp;id=1420 Linux 64-bit]&lt;br /&gt;
* [http://www.graphicall.org/builds/builds/showbuild.php?action=show&amp;amp;id=1430 Windows]&lt;br /&gt;
&lt;br /&gt;
==Installing Python==&lt;br /&gt;
You will need python 3.1 to run some of the tests.  Get it from a pre-built source, or build it yourself.  Note that for the temporary future, Python 2.6 might also be required, as PIL[http://www.pythonware.com/products/pil/] doesn't use Python 3.x yet.&lt;br /&gt;
&lt;br /&gt;
==Get Dependencies==&lt;br /&gt;
The dependencies for this project currently are is only what the blender trunk requires, which is to say, you will need:&lt;br /&gt;
&amp;lt;pre&amp;gt;subversion, build-essential, gettext, libxi-dev, libsndfile1-dev, libopenexr-dev, &lt;br /&gt;
libopenjpeg-dev, libpng12-dev, libopenal-dev, libalut-dev, python3.1-dev, &lt;br /&gt;
libglu1-mesa-dev, libsdl-dev, libfreetype6-dev, libtiff4-dev, libsamplerate0-dev, &lt;br /&gt;
libavdevice-dev, libavformat-dev, libavutil-dev, libavcodec-dev, libswscale-dev, &lt;br /&gt;
libx264-dev, libxvidcore4-dev, libmp3lame-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==FFMpeg==&lt;br /&gt;
Blender2.5 now uses your system's default FFMPEG libraries, If you have any problems please read [[Dev:2.5/Doc/Building Blender/Linux/FFMPEG|how to compile and setup FFMPEG]].&lt;br /&gt;
&lt;br /&gt;
==CMake==&lt;br /&gt;
Currently, only building with CMake is supported is not supported, you will need CMake.  Some of the tests that the code uses requires that you have CMake 2.6.4, note that this is higher than the version blender requires.&lt;br /&gt;
&lt;br /&gt;
=Get the Source=&lt;br /&gt;
The source code can be downloaded from the svn repository: https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-leifandersen  Therefore, on a unix like operating system, the following commands should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir blender-svn&lt;br /&gt;
cd blender-svn&lt;br /&gt;
svn co https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-leifandersen&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the repository can be updated:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;svn up&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Compiling with CMake=&lt;br /&gt;
==Only use CMake==&lt;br /&gt;
Because CTest is currently used as a vital part of aggregation of the tests, and reporting your the results, CMake is the only system currently supported for building the project.  Scans, Xcode and Visual Basic Projects, and configuring makefiles will not (to the best of my knowledge) work.  Also, if you use CMake's GUI, it is recommended that you leave the WITH_TESTS option on, otherwise you will get a (slightly, as in a few days), out of date version of the trunk.&lt;br /&gt;
&lt;br /&gt;
==Preparing CMake==&lt;br /&gt;
===In source builds===&lt;br /&gt;
Like the rest of Blender, in source builds are not supported.  If you did an in source build, delete the CMakeCache.txt file that is created.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;rm -f ~/blender-svn/soc-2010-leifandersen/CMakeCache.txt&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Out of source builds===&lt;br /&gt;
The idea is to create a separate directory, go into it, and run CMake, pointing it to the source directory:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir ~/blender-svn/blender-build&lt;br /&gt;
cd ~/blender-svn/blender-build&lt;br /&gt;
cmake ../soc-2010-leifandersen&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, for nice looking output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir ~/blender-svn/blender-build&lt;br /&gt;
cd ~/blender-svn/blender-build&lt;br /&gt;
cmake -G &amp;quot;Unix Makefiles&amp;quot; ../soc-2010-leifandersen&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Installation on Windows===&lt;br /&gt;
I don't use windows, if someone does get it to work on windows, please fill this out.  Thank you.&lt;br /&gt;
&lt;br /&gt;
==Editing CMake's Options==&lt;br /&gt;
The only only difference with vanilla blender 2.5 is the addition of the ADD_TESTS option, this enables and disables most of the features added in this version of blender.  (There is a python tests module which currently get's installed whether or not the WITH_TESTS option is turned on or off).  Also, for the tests to work, the WITH_INSTALL variable must be set to true.&lt;br /&gt;
&lt;br /&gt;
==Building Blender==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== First time ===&lt;br /&gt;
&lt;br /&gt;
After changes have been done and you have generated the makefiles, you can compile using the ''make'' command inside the build folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender-svn/build-cmake&lt;br /&gt;
make -j3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jobs parameter should be -j(1+&amp;lt;i&amp;gt;number_of_cores&amp;lt;/i&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
For example put &amp;quot;&amp;lt;b&amp;gt;-j3&amp;lt;/b&amp;gt;&amp;quot; if you have a dual-core or &amp;quot;&amp;lt;b&amp;gt;-j5&amp;lt;/b&amp;gt;&amp;quot; if you have a quad-core.&lt;br /&gt;
&lt;br /&gt;
=== Next builds ===&lt;br /&gt;
&lt;br /&gt;
Next time you update svn you may need to reconfigure CMake,&lt;br /&gt;
&lt;br /&gt;
''note: this is only needed when an 'svn update' causes files to be added or removed which doesn't happen all that often.''&lt;br /&gt;
&lt;br /&gt;
There are two choices:&lt;br /&gt;
* '''you need to change''' CMake's configurations again:&lt;br /&gt;
** run ccmake or cmake-gui again&lt;br /&gt;
** press 'c' to re-configure and 'q' to quit&lt;br /&gt;
** type make as you did the [[#First time|first time]]&lt;br /&gt;
* '''you don't need to change''' setup:&lt;br /&gt;
::&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cmake ../blender&amp;lt;/source&amp;gt;&lt;br /&gt;
:: ('''NOT''' &amp;lt;code&amp;gt;ccmake ../blender&amp;lt;/code&amp;gt;). This will reconfigure and generate the makefile&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;make&amp;lt;/source&amp;gt;&lt;br /&gt;
::This is faster and also you could add this in single comand, like:&lt;br /&gt;
::&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;svn up ../blender; cmake ../blender; make&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Using the modifications=&lt;br /&gt;
The using the modifications section has been deprecated, for up to date information on how to use the modifications, see the README file, and the Design Documentation (for future developers) (both listed below) for more information.&lt;br /&gt;
&lt;br /&gt;
{{Page/Siblings}}&lt;/div&gt;</summary>
		<author><name>wiki&gt;LeifAndersen</name></author>
		
	</entry>
</feed>