﻿<?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%3AXgl_asyliax%2Fbuild-freebsd</id>
	<title>利用者:Xgl asyliax/build-freebsd - 版の履歴</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%3AXgl_asyliax%2Fbuild-freebsd"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Xgl_asyliax/build-freebsd&amp;action=history"/>
	<updated>2026-11-04T12:54:46Z</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:Xgl_asyliax/build-freebsd&amp;diff=104079&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:Xgl_asyliax/build-freebsd&amp;diff=104079&amp;oldid=prev"/>
		<updated>2018-06-28T19:42:25Z</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:42時点における版&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:Xgl_asyliax/build-freebsd&amp;diff=104078&amp;oldid=prev</id>
		<title>wiki&gt;Xgl.asyliax: Created page with &quot;=Building Blender 2.5x on FreeBSD= Instructions detailing how to build Blender 2.5x on FreeBSD, currently for FreeBSD 8.2 i386/amd64  &#039;&#039;Note that this article is a work in progre...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Xgl_asyliax/build-freebsd&amp;diff=104078&amp;oldid=prev"/>
		<updated>2011-04-01T17:00:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Building Blender 2.5x on FreeBSD= Instructions detailing how to build Blender 2.5x on FreeBSD, currently for FreeBSD 8.2 i386/amd64  &amp;#039;&amp;#039;Note that this article is a work in progre...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Building Blender 2.5x on FreeBSD=&lt;br /&gt;
Instructions detailing how to build Blender 2.5x on FreeBSD, currently for FreeBSD 8.2 i386/amd64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note that this article is a work in progress. All materials presented here apply only to FreeBSD 8.2 and more specifically to the i386/amd64 architectures, until otherwise specified.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==If you already have FreeBSD 8.2 installed==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Adding Dependencies&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
First you&amp;#039;ll need to become root so you can get the additional libraries Blender is going to need in order to compile correctly using the most common settings.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;gt; su&amp;lt;/code&amp;gt; &amp;#039;&amp;#039;type in root password&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Now to make things easier, we&amp;#039;ll get a program called &amp;#039;&amp;#039;&amp;#039;portmaster&amp;#039;&amp;#039;&amp;#039;. This is not required for building Blender, but it will make getting the dependencies easier and save you time.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;# pkg_add -r portmaster&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just to be sure you can use &amp;#039;&amp;#039;&amp;#039;portmaster&amp;#039;&amp;#039;&amp;#039; after &amp;#039;&amp;#039;&amp;#039;pkg_add&amp;#039;&amp;#039;&amp;#039; returns, we&amp;#039;ll do a quick &amp;#039;&amp;#039;&amp;#039;rehash&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;# rehash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then try to get all the dependencies. &amp;#039;&amp;#039;This step is going to take a bit of time...&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;# portmaster audio/freealut audio/lame audio/libsamplerate audio/libsndfile audio/openal-soft devel/cmake devel/gettext devel/gmake devel/sdl12 devel/subversion graphics/glew graphics/ilmbase graphics/jpeg graphics/libGL graphics/libGLU graphics/OpenEXR graphics/openjpeg graphics/png graphics/tiff lang/gcc44 lang/python32 multimedia/ffmpeg multimedia/x264 multimedia/xvid print/freetype2 x11/libXi&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During this step&amp;#039;s execution you will be asked to make several choices about which options you&amp;#039;d like to compile these ports with. Blender has been successfully compiled and run by accepting all the default values on all screens asking for you to make a choice.&lt;br /&gt;
&lt;br /&gt;
During the initial configuration of all the ports you can quickly accept the defaults on each screen by pressing {{Shortcut/Keypress|right}}, {{Shortcut/Keypress|left}}, {{Shortcut/Keypress|enter}}. Nothing special about that key sequence, it&amp;#039;s just a quick way of getting focus to the {{Button|OK}} button and hitting {{Shortcut/Keypress|enter}} on it.&lt;br /&gt;
&lt;br /&gt;
If you are not using IPv6 for internet access, you could uncheck the IPv6 options along the way if you&amp;#039;d like. Blender compilation does not require them by any means. This would mean you could arrow up and/or down to the IPv6 options for a few ports such as the following:&lt;br /&gt;
&lt;br /&gt;
* python26&lt;br /&gt;
* apr-ipv6-devrandom-gdbm-db42&lt;br /&gt;
* python31 &amp;#039;&amp;#039;or python32&amp;#039;&amp;#039;&lt;br /&gt;
* gpac-libgpac&lt;br /&gt;
&lt;br /&gt;
At this point, &amp;#039;&amp;#039;&amp;#039;portmaster&amp;#039;&amp;#039;&amp;#039; will ask you to press {{Shortcut/Keypress|y}} to proceed. Go ahead and press {{Shortcut/Keypress|y}}.&lt;br /&gt;
&lt;br /&gt;
During the fetching, compiling, and installing process, &amp;#039;&amp;#039;&amp;#039;portmaster&amp;#039;&amp;#039;&amp;#039; may occasionally ask you if you&amp;#039;d like to delete various .tbz files it has fetched. It&amp;#039;s probably safe to delete them, but in the chance you&amp;#039;d want to reinstall those ports later, it will save you from having to re-fetch them if you leave them in &amp;#039;&amp;#039;&amp;#039;/usr/ports/distfiles/&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Once all the compiling is set and done, you should have all the dependencies for compiling Blender.&lt;br /&gt;
&lt;br /&gt;
If all went well so far, you can press {{Shortcut|ctrl|d}} to exit the superuser prompt and be returned to the regular user&amp;#039;s shell.&lt;br /&gt;
&lt;br /&gt;
==Getting Blender Sources==&lt;br /&gt;
&lt;br /&gt;
Now we need to make a directory to put Blender&amp;#039;s source files into, and then actually get the sources into that directory.&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cd ~&lt;br /&gt;
 &amp;gt; mkdir blender-svn&lt;br /&gt;
 &amp;gt; cd blender-svn&lt;br /&gt;
 &amp;gt; svn co https://svn.blender.org/svnroot/bf-blender/trunk/blender&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll see a bunch of files get fetched by &amp;#039;&amp;#039;&amp;#039;subversion&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;which is the program we executed by typing &amp;#039;&amp;#039;&amp;#039;svn&amp;#039;&amp;#039;&amp;#039; in that last command&amp;#039;&amp;#039; and eventually be returned to the shell prompt once again.&lt;br /&gt;
&lt;br /&gt;
==Compiling Blender==&lt;br /&gt;
&lt;br /&gt;
Now we&amp;#039;ll need to make a directory to compile Blender in. Since we are still in our &amp;#039;&amp;#039;&amp;#039;~/blender-svn/&amp;#039;&amp;#039;&amp;#039; directory, and we now have sources under &amp;#039;&amp;#039;&amp;#039;~/blender-svn/blender/&amp;#039;&amp;#039;&amp;#039; we can just do the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; mkdir build&lt;br /&gt;
 &amp;gt; cd build&lt;br /&gt;
&lt;br /&gt;
Now it&amp;#039;s time to build Blender. We&amp;#039;ll be using &amp;#039;&amp;#039;&amp;#039;cmake&amp;#039;&amp;#039;&amp;#039; to do this. It should be straight forward.&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cmake ../blender&lt;br /&gt;
&lt;br /&gt;
Now we need to &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; Blender. This is done with:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; make -j2&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;-j2&amp;#039;&amp;#039;&amp;#039; switch tells &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; to run 2 threads. You should set the number after the &amp;#039;&amp;#039;&amp;#039;-j&amp;#039;&amp;#039;&amp;#039; to the number of cores in your system + 1. Examples:&lt;br /&gt;
&lt;br /&gt;
* Single core processor: &amp;#039;&amp;#039;&amp;#039;&amp;gt; make -j2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Dual core processor: &amp;#039;&amp;#039;&amp;#039;&amp;gt; make -j3&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Quad core processor: &amp;#039;&amp;#039;&amp;#039;&amp;gt; make -j5&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll see quite a bit of output, and eventually be returned to your shell prompt.&lt;br /&gt;
&lt;br /&gt;
At this point, we simply need to &amp;#039;&amp;#039;install&amp;#039;&amp;#039; Blender with:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; make install&lt;br /&gt;
&lt;br /&gt;
Performing that step will ensure the correct transfer of Python files and such to the directories where Blender is going to expect them.&lt;br /&gt;
&lt;br /&gt;
You should be able to test your new Blender by running:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; bin/blender&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cd bin&lt;br /&gt;
 &amp;gt; ./blender&lt;br /&gt;
&lt;br /&gt;
==Updating Blender once you&amp;#039;ve already successfully built before==&lt;br /&gt;
&lt;br /&gt;
You can update your copy of Blender to the latest and greatest version at any time using the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cd ~&lt;br /&gt;
 &amp;gt; cd blender-svn/blender&lt;br /&gt;
 &amp;gt; svn up&lt;br /&gt;
 &amp;gt; cd ../build&lt;br /&gt;
 &amp;gt; make -j&amp;#039;&amp;#039;N&amp;#039;&amp;#039;     &amp;#039;&amp;#039;(were N is number of cores + 1)&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;gt; make install&lt;br /&gt;
&lt;br /&gt;
Then your Blender should be up to date. :)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>wiki&gt;Xgl.asyliax</name></author>
		
	</entry>
</feed>