﻿<?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-08-02T06:14:55Z</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  ''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;
''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.''&lt;br /&gt;
&lt;br /&gt;
==If you already have FreeBSD 8.2 installed==&lt;br /&gt;
&lt;br /&gt;
'''Adding Dependencies'''&lt;br /&gt;
&lt;br /&gt;
First you'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; ''type in root password''&lt;br /&gt;
&lt;br /&gt;
Now to make things easier, we'll get a program called '''portmaster'''. 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 '''portmaster''' after '''pkg_add''' returns, we'll do a quick '''rehash'''.&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. ''This step is going to take a bit of time...''&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's execution you will be asked to make several choices about which options you'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'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'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 ''or python32''&lt;br /&gt;
* gpac-libgpac&lt;br /&gt;
&lt;br /&gt;
At this point, '''portmaster''' 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, '''portmaster''' may occasionally ask you if you'd like to delete various .tbz files it has fetched. It's probably safe to delete them, but in the chance you'd want to reinstall those ports later, it will save you from having to re-fetch them if you leave them in '''/usr/ports/distfiles/'''.&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'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'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'll see a bunch of files get fetched by '''subversion''' ''which is the program we executed by typing '''svn''' in that last command'' 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'll need to make a directory to compile Blender in. Since we are still in our '''~/blender-svn/''' directory, and we now have sources under '''~/blender-svn/blender/''' 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's time to build Blender. We'll be using '''cmake''' 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 '''make''' Blender. This is done with:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; make -j2&lt;br /&gt;
&lt;br /&gt;
The '''-j2''' switch tells '''make''' to run 2 threads. You should set the number after the '''-j''' to the number of cores in your system + 1. Examples:&lt;br /&gt;
&lt;br /&gt;
* Single core processor: '''&amp;gt; make -j2'''&lt;br /&gt;
* Dual core processor: '''&amp;gt; make -j3'''&lt;br /&gt;
* Quad core processor: '''&amp;gt; make -j5'''&lt;br /&gt;
&lt;br /&gt;
You'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 ''install'' 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'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''N''     ''(were N is number of cores + 1)''&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>