﻿<?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=Dev%3ADoc%2FBuilding_Blender%2FFreeBSD</id>
	<title>Dev:Doc/Building Blender/FreeBSD - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ADoc%2FBuilding_Blender%2FFreeBSD"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/FreeBSD&amp;action=history"/>
	<updated>2026-11-25T20:06:07Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/FreeBSD&amp;diff=103897&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/FreeBSD&amp;diff=103897&amp;oldid=prev"/>
		<updated>2018-06-28T19:42:10Z</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=Dev:Doc/Building_Blender/FreeBSD&amp;diff=103896&amp;oldid=prev</id>
		<title>2014年8月1日 (金) 05:57にwiki&gt;Ideasman42による</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/FreeBSD&amp;diff=103896&amp;oldid=prev"/>
		<updated>2014-08-01T05:57:28Z</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;&amp;#039;&amp;#039;NOTE: this page is now outdated, should be updated for FreeBSD 10, GIT and Blende2.7. Blender will build on FreeBSD, mostly steps are similar to Linux&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
= Building Blender 2.6x or newer on FreeBSD =&lt;br /&gt;
&lt;br /&gt;
Instructions detailing how to build Blender 2.6x (or newer versions) from its git repository on FreeBSD.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* A recent FreeBSD installation (8.2 or newer)&lt;br /&gt;
* Internet access&lt;br /&gt;
* A checkout of the FreeBSD ports tree - OR -&lt;br /&gt;
* The pkgng tools configured with a remote package repository&lt;br /&gt;
&lt;br /&gt;
== Getting the dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Installing git ===&lt;br /&gt;
&lt;br /&gt;
To get the blender sources from git, you will have to install git from FreeBSD&amp;#039;s package repositories or ports tree. If you are using the ports tree, install git as &amp;#039;&amp;#039;&amp;#039;root&amp;#039;&amp;#039;&amp;#039; using&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/ports/devel/git&lt;br /&gt;
make install clean&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the installation, you might be asked to tweak git or one of its dependencies to your liking. Adjust the configuration settings as needed and proceed through the installation.&lt;br /&gt;
&lt;br /&gt;
If you are using FreeBSD&amp;#039;s pkgng package management tools and want to install git as prebuilt package, you can use &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;pkg install git&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Installing Blender&amp;#039;s dependencies ===&lt;br /&gt;
&lt;br /&gt;
Depending on the build options for Blender, you want to choose later on, Blender can depend on a huge set of third party libraries and tools. The easiest way to install the required dependencies is to use FreeBSD&amp;#039;s blender port from the ports tree and to install only its  dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd /usr/ports/graphics/blender&lt;br /&gt;
make config&lt;br /&gt;
make depends&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;make config&amp;#039;&amp;#039;&amp;#039; will prompt you with a set of configuration options to choose from for building and installing Blender from the ports tree. Use this command to tweak the list of required dependencies your needs. &amp;#039;&amp;#039;&amp;#039;make depends&amp;#039;&amp;#039;&amp;#039; will build and install all dependencies of the blender port.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you are using the pkgng tools, you can install the minimum set of default dependencies using &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;pkg install -A $(pkg rquery %do graphics/blender)&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can find a [[#Dependencies|list of dependencies]] at the end of this article.&lt;br /&gt;
&lt;br /&gt;
== Getting the Blender sources ==&lt;br /&gt;
&lt;br /&gt;
Once git and the dependencies are installed, please follow the instructions about getting a copy of the blender sources as described in the [[Dev:Doc/Tools/Git]] section.&lt;br /&gt;
&lt;br /&gt;
== Building Blender ==&lt;br /&gt;
&lt;br /&gt;
Assuming you have checked out blender into &amp;#039;&amp;#039;&amp;#039;~/blender&amp;#039;&amp;#039;&amp;#039;, switch into the directory&lt;br /&gt;
and create a new one, which will be used for building.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To build blender, you have to configure it for the environment using &amp;#039;&amp;#039;&amp;#039;cmake&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cmake ../&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Before executing &amp;#039;&amp;#039;&amp;#039;cmake&amp;#039;&amp;#039;&amp;#039;, please read about the specific configuration settings below, especially for Cycles, since it requires you to invoke cmake differently.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Once the initial configuration has been done, you should tweak its settings with &amp;#039;&amp;#039;&amp;#039;ccmake&amp;#039;&amp;#039;&amp;#039; to fit the requirements of the FreeBSD system.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;ccmake ../&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuration settings ===&lt;br /&gt;
&lt;br /&gt;
Most parts of Blender should be built against the provided system libraries rather than the libraries that ship with Blender.&lt;br /&gt;
&lt;br /&gt;
* The GLEW library of the FreeBSD system must be used rather than Blender&amp;#039;s version. &amp;#039;&amp;#039;&amp;#039;WITH_SYSTEM_GLEW&amp;#039;&amp;#039;&amp;#039; hence must be switched to &amp;#039;&amp;#039;&amp;#039;ON&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== Cycles render engine with OSL support ====&lt;br /&gt;
&lt;br /&gt;
FreeBSD&amp;#039;s OpenShadingLanguage library (used optionally by the Cycles render engine in Blender) uses LLVM 3.3 and thus requires you to build Blender with LLVM 3.3. To do this. run &amp;#039;&amp;#039;&amp;#039;cmake&amp;#039;&amp;#039;&amp;#039; again with the following arguments:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cmake -DWITH_CYCLES_OSL:BOOL=ON -DLLVM_STATIC:BOOL=OFF -DWITH_LLVM:BOOL=ON -DLLVM_VERSION:STRING=&amp;quot;3.3&amp;quot; -DLLVM_CONFIG:STRING=&amp;quot;/usr/local/bin/llvm-config33&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Building and installing ===&lt;br /&gt;
&lt;br /&gt;
To build Blender, you need to execute &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; and be patient.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;make&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NiceTip|1=Parallel Builds|2=For multi-core / multi processor systems you can build much faster by passing the jobs argument to make: -j&amp;#039;&amp;#039;number_of_cores&amp;#039;&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
For example put &amp;quot;&amp;#039;&amp;#039;&amp;#039;-j2&amp;#039;&amp;#039;&amp;#039;&amp;quot; if you have a dual-core or &amp;quot;&amp;#039;&amp;#039;&amp;#039;-j4&amp;#039;&amp;#039;&amp;#039;&amp;quot; if you have a quad-core.&amp;lt;br&amp;gt;&lt;br /&gt;
To figure out, how many CPUs are available on your FreeBSD system, execute&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sysctl -n kern.smp.cpus&amp;lt;/source&amp;gt;&lt;br /&gt;
Sometimes this might break building though. If you are running into build failures, clean up and build again with only one job.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
make -j3&lt;br /&gt;
... error on building ...&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You will see quite a bit of output, and eventually be returned to your shell prompt.&lt;br /&gt;
If Blender has been built successfully, you can install it using&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;make install&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The installation will be done in the build directory. You can start and test blender with&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bin/blender&amp;lt;/source&amp;gt; or &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd bin&lt;br /&gt;
./blender&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
The following dependencies are needed for building blender, regardless of the chosen options.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;column-count:3;-moz-column-count:3;-webkit-column-count:3&amp;quot;&amp;gt;&lt;br /&gt;
* lang/python33&lt;br /&gt;
* devel/cmake&lt;br /&gt;
* graphics/glew&lt;br /&gt;
* graphics/jpeg&lt;br /&gt;
* graphics/png&lt;br /&gt;
* print/freetype2&lt;br /&gt;
* x11-toolkits/libXmu&lt;br /&gt;
* x11/libX11&lt;br /&gt;
* x11/libXext&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can install each of the dependencies using either&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cd /usr/ports/&amp;lt;dependency&amp;gt; &amp;amp;&amp;amp; make install clean&amp;lt;/source&amp;gt;&lt;br /&gt;
when you are using the ports tree, or&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;pkg install &amp;lt;dependency&amp;gt;&amp;lt;/source&amp;gt; when you are using pkgng.&lt;br /&gt;
&lt;br /&gt;
If you are tweaking Blender&amp;#039;s build using &amp;#039;&amp;#039;&amp;#039;ccmake&amp;#039;&amp;#039;&amp;#039;, the one or other option also requires you to install third party packages to enable Blender to build the feature properly.&lt;br /&gt;
&lt;br /&gt;
Below is a list of the Blender options to adjust along with the FreeBSD ports or packages you need to install.&lt;br /&gt;
&lt;br /&gt;
{| {{Css/prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
! Blender Option&lt;br /&gt;
! FreeBSD port or package to install&lt;br /&gt;
! Important Notes&lt;br /&gt;
|-&lt;br /&gt;
| WITH_INTERNATIONAL&lt;br /&gt;
| converters/libiconv&amp;lt;br&amp;gt;devel/gettext&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_MOD_BOOLEAN&lt;br /&gt;
| devel/boost-libs&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_LIBMV&lt;br /&gt;
| devel/libunwind&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_OPENCOLLADA&lt;br /&gt;
| graphics/opencollada&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_CODEC_FFMPEG&lt;br /&gt;
| multimedia/ffmpeg&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_FFTW3&lt;br /&gt;
| math/fftw3&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_JACK&lt;br /&gt;
| audio/jack&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_OPENCOLORIO&lt;br /&gt;
| graphics/opencolorio&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_IMAGE_OPENEXR&lt;br /&gt;
| graphics/OpenEXR&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_IMAGE_OPENJPEG&lt;br /&gt;
| graphics/openjpeg&lt;br /&gt;
| You also &amp;#039;&amp;#039;must&amp;#039;&amp;#039; set &amp;#039;&amp;#039;&amp;#039;WITH_SYSTEM_OPENJPEG&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;ON&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| WITH_SAMPLERATE&lt;br /&gt;
| audio/libsamplerate&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_CODEC_SNDFILE&lt;br /&gt;
| audio/libsndfile&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| WITH_IMAGE_TIFF&lt;br /&gt;
| graphics/tiff&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_CYCLES&lt;br /&gt;
| graphics/openimageio&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_CYCLES_OSL&lt;br /&gt;
| graphics/openshadinglanguage&amp;lt;br&amp;gt;devel/llvm3&lt;br /&gt;
| See the [[#Cycles render engine with OSL support|configuration notes regarding cycles]] for further details&lt;br /&gt;
|-&lt;br /&gt;
| WITH_OPENAL&lt;br /&gt;
| audio/openal-soft&amp;lt;br&amp;gt;audio/freealut&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_SDL&lt;br /&gt;
| devel/sdl12&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_X11_XINPUT&lt;br /&gt;
| x11/libXi&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| WITH_X11_XF86VMODE&lt;br /&gt;
| x11/libXi&amp;lt;br&amp;gt;x11/libXxf86vm&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>wiki&gt;Ideasman42</name></author>
		
	</entry>
</feed>