﻿<?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%3AJr100%2FCMake%2FLinux</id>
	<title>利用者:Jr100/CMake/Linux - 版の履歴</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%3AJr100%2FCMake%2FLinux"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jr100/CMake/Linux&amp;action=history"/>
	<updated>2026-06-10T07:24:20Z</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:Jr100/CMake/Linux&amp;diff=150323&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:Jr100/CMake/Linux&amp;diff=150323&amp;oldid=prev"/>
		<updated>2018-06-28T21:15:07Z</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日 (木) 21:15時点における版&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:Jr100/CMake/Linux&amp;diff=150322&amp;oldid=prev</id>
		<title>wiki&gt;Jr100: /* Manual dependencies installation */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jr100/CMake/Linux&amp;diff=150322&amp;oldid=prev"/>
		<updated>2015-11-18T21:31:09Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Manual dependencies installation&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Introduction =&lt;br /&gt;
Building Blender on any system is very easy. All you will need are a couple of software tools and of course, a computer! The instructions below apply to any type of Linux distro and all the software packages used should work on all of them.&lt;br /&gt;
The steps in building Blender are:&lt;br /&gt;
# Get the software&lt;br /&gt;
# Get the source&lt;br /&gt;
# Build it!&lt;br /&gt;
&lt;br /&gt;
= Installing The Software =&lt;br /&gt;
To get and build Blender, you need a number of packages installed on your system. To get them follow these simple instructions.&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
Git is a version control system that we use to download, list changes to, and update Blender's source. For a more in-depth overview, look at [http://wiki.blender.org/index.php/Dev:Doc/Tools/Git this page.] To install Git, go to [http://www.git-scm.com/download/ http://www.git-scm.com/download] and select the installer for Linux.&lt;br /&gt;
You can also install git through your package manager.&lt;br /&gt;
&lt;br /&gt;
=== Test The Install ===&lt;br /&gt;
Once it has installed, open up your terminal and test it by typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git --help&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see output like,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
usage: git [--version] [--help] [-C &amp;lt;path&amp;gt;] [-c name=value].....&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you will know that it has been installed correctly.&lt;br /&gt;
&lt;br /&gt;
== CMake ==&lt;br /&gt;
CMake is a family of tools designed to build, test and package software. We use it to configure our code for building. To install go to [http://www.cmake.org/download/ http://www.cmake.org/download/] there you can download the package for Linux. If you want, you can install cmake through your distro's package manager. Just make sure that you install &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cmake&amp;lt;/source&amp;gt; and &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cmake-gui&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Getting The Source =&lt;br /&gt;
Getting the source is as easy as running a few commands. Be warned that Blender's source is over 300 megabytes and it will take a little while to download.&lt;br /&gt;
&lt;br /&gt;
=== Creating the blender-git folder ===&lt;br /&gt;
To get the source, you first have to have somewhere to put it! So, the first thing you should do, is open up terminal.app and type in these commands to create and go to a new blender folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir ~/blender-git&lt;br /&gt;
cd ~/blender-git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Checking Out The Source ===&lt;br /&gt;
Now it's time to actually get the source code, just type these commands into the terminal and away you go!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone http://git.blender.org/blender.git&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
If you ever want to update your code to the latest version, it is suggested that you do this every day, just use these commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender-git/blender&lt;br /&gt;
git pull --rebase&lt;br /&gt;
git submodule foreach git pull --rebase origin master&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= The Packages For Linux =&lt;br /&gt;
A number of other packages are needed to build on Linux. Once you have the source downloaded, run the auto installer by typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender-git&lt;br /&gt;
./blender/build_files/build_environment/install_deps.sh&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Manual dependencies installation ==&lt;br /&gt;
&lt;br /&gt;
To manually install Blender's dependancy packages:&lt;br /&gt;
&lt;br /&gt;
{{#switch:{{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Ubuntu/Scons|Dev:Doc/Building Blender/Linux/Ubuntu/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get update; sudo apt-get install git build-essential \&lt;br /&gt;
 libx11-dev libxi-dev \&lt;br /&gt;
 libsndfile1-dev \&lt;br /&gt;
 libpng12-dev libjpeg-dev libfftw3-dev \&lt;br /&gt;
 libopenexr-dev libopenjpeg-dev \&lt;br /&gt;
 libopenal-dev libalut-dev libvorbis-dev \&lt;br /&gt;
 libglu1-mesa-dev libsdl1.2-dev libfreetype6-dev \&lt;br /&gt;
 libtiff5-dev libavdevice-dev \&lt;br /&gt;
 libavformat-dev libavutil-dev libavcodec-dev libjack-dev \&lt;br /&gt;
 libswscale-dev libx264-dev libmp3lame-dev python3.4-dev \&lt;br /&gt;
 libspnav-dev libtheora-dev libglew-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Fedora/Scons|Dev:Doc/Building Blender/Linux/Fedora/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;su -c 'yum install gcc-c++ git libpng-devel \&lt;br /&gt;
 libjpeg-devel openjpeg openjpeg-devel libXi-devel openexr-devel openal-soft-devel \&lt;br /&gt;
 freealut-devel SDL-devel fftw-devel libtiff-devel lame-libs \&lt;br /&gt;
 freetype-devel jack-audio-connection-kit-devel \&lt;br /&gt;
 ffmpeg-libs ffmpeg-devel xvidcore-devel libogg-devel faac-devel \&lt;br /&gt;
 faad2-devel x264-devel libvorbis-devel libtheora-devel lame-devel libspnav-devel'&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fedora 14 does not include ffmpeg, lame and other non-free libs in the default repository, you will need to add the &amp;quot;&amp;quot;&amp;quot;rpmfusion&amp;quot;&amp;quot;&amp;quot; repository See: [http://rpmfusion.org/Configuration rpmfusion].&lt;br /&gt;
Fedora 12 doesn't include python3 in its repositories but you can use the packages that are available for Fedora 13 and 14.&lt;br /&gt;
You may download them from [http://koji.fedoraproject.org/koji/buildinfo?buildID=155875 here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- Check also http://koji.fedoraproject.org/koji/packageinfo?packageID=9781 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are running Fedora 14 or a newer version, you can simply install Python 3.2 from your package manager.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;su -c 'yum install python3 python3-devel python3-libs'&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/OpenSUSE/Scons|Dev:Doc/Building Blender/Linux/OpenSUSE/CMake=&lt;br /&gt;
&lt;br /&gt;
Install Packman repository&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
zypper addrepo http://packman.jacobs-university.de/suse/11.3/ packman &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or use Yast to install Packman repository.&lt;br /&gt;
&lt;br /&gt;
Then install the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
zypper install mc git gcc-c++ libSDL-devel \&lt;br /&gt;
  openal-soft-devel libffmpeg-devel \&lt;br /&gt;
  libpng-devel libjpeg-devel python3-devel libtiff-devel OpenEXR-devel&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Gentoo/Scons|Dev:Doc/Building Blender/Linux/Gentoo/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo emerge dev-vcs/git \&lt;br /&gt;
media-libs/openal \&lt;br /&gt;
x11-libs/libXi x11-misc/util-macros \&lt;br /&gt;
media-libs/libsndfile media-libs/openjpeg \&lt;br /&gt;
media-sound/jack-rack media-libs/libpng \&lt;br /&gt;
media-libs/openexr media-libs/freealut \&lt;br /&gt;
media-libs/libvorbis media-libs/mesa \&lt;br /&gt;
media-libs/freetype media-libs/libsdl \&lt;br /&gt;
media-libs/tiff sci-libs/fftw \&lt;br /&gt;
media-libs/x264 media-libs/libquicktime \&lt;br /&gt;
media-video/ffmpeg dev-lang/python&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installation check your active Python with eselect. Note that while Blender uses Python 3, SCons uses Python 2, so you want to select Python 2 here. Blender has its own copy of Python 3.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;eselect python list&amp;lt;/source&amp;gt;&lt;br /&gt;
output example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;Available Python interpreters:&lt;br /&gt;
  [1]   python2.7 *&lt;br /&gt;
  [2]   python3.4&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Arch/Scons|Dev:Doc/Building Blender/Linux/Arch/CMake=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S \&lt;br /&gt;
 git python gettext \&lt;br /&gt;
 mesa libxi glew \&lt;br /&gt;
 libtiff libjpeg libpng openexr openjpeg \&lt;br /&gt;
 pcre libxml2 \&lt;br /&gt;
 openal sdl ffmpeg libsndfile&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To build WITH_CYCLES_CUDA_BINARIES=ON, you will need...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S cuda-toolkit&amp;lt;/source&amp;gt;&lt;br /&gt;
To build WITH_CYCLES_CUDA_BINARIES=ON, '''on 64bit installations''' you will need to enable '''multilib'''...&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S lib32-glibc&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;!-- switch default, keep this as the last condition --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git, build-essential, libx11-dev, libxi-dev, libsndfile1-dev, libopenexr-dev, &lt;br /&gt;
libopenjpeg-dev, libpng12-dev, libjpeg-dev libopenal-dev, libalut-dev, python3.4-dev, &lt;br /&gt;
libglu1-mesa-dev, libsdl-dev, libfreetype6-dev, libtiff4-dev, &lt;br /&gt;
libavdevice-dev, libavformat-dev, libavutil-dev, libavcodec-dev, libswscale-dev, &lt;br /&gt;
libx264-dev, libxvidcore4-dev, libmp3lame-dev, libspnav-dev, python3.4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here are the key libraries that you may want to use with Blender:&lt;br /&gt;
;[http://www.python.org/ Python] (3.4)&lt;br /&gt;
:Needed for interface scripts (building without Python is supported but not meant for general use).&lt;br /&gt;
;[http://www.boost.org/ Boost] (min 1.49)&lt;br /&gt;
:Necessary for Cycles, OSL, Audaspace, Internationalization…&lt;br /&gt;
;[http://opencolorio.org/ OpenColorIO] (min 1.0)&lt;br /&gt;
:Necessary to handle color spaces.&lt;br /&gt;
;[https://sites.google.com/site/openimageio/ OpenImageIO]&lt;br /&gt;
:Necessary for Cycles and OSL (min 1.1 in this case).&lt;br /&gt;
;[http://llvm.org/ LLVM] (min 3.0)&lt;br /&gt;
:Necessary for OSL.&lt;br /&gt;
;[http://code.google.com/p/openshadinglanguage/ OpenShadingLanguage]&lt;br /&gt;
:Enable custom shaders under Cycles.&lt;br /&gt;
;[http://ffmpeg.org/ FFMPEG] or [http://libav.org/ libav (ffmpeg fork)]&lt;br /&gt;
:For handling most video formats/codecs.&lt;br /&gt;
&lt;br /&gt;
[[Category:Syntax_highlight]]&lt;br /&gt;
&lt;br /&gt;
= Building It =&lt;br /&gt;
To build Blender, open up cmake-gui and follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
== Configuring The Build ==&lt;br /&gt;
# Set the source path to be blender-git/blender&lt;br /&gt;
# Create a new folder in blender-git called build and set the build directory to blender-git/build&lt;br /&gt;
# Click the configure button and select Unix Makefiles on the popup. Don't be frightened by the red, that is fine.&lt;br /&gt;
# After that has finished, click the generate button to generate the makefiles.&lt;br /&gt;
# When that is finished, close Cmake.&lt;br /&gt;
&lt;br /&gt;
== Building The Source ==&lt;br /&gt;
To build the source, follow the steps and wait while it compiles. Warning: on first build, the code takes an average of 2 hours to compile, after that, it will only compile what you have changed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender-git/build&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing The Build ==&lt;br /&gt;
To test the newly compiled version of Blender, run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender-git/build&lt;br /&gt;
./blender&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and Blender will open.&lt;br /&gt;
&lt;br /&gt;
= Closing Notes =&lt;br /&gt;
We hope that you have found this helpful and informative. If you have any questions or the build didn't work for some reason, contact a developer on the #blendercoders irc channel.&lt;br /&gt;
Thanks,&lt;br /&gt;
The Blender Developer Team&lt;/div&gt;</summary>
		<author><name>wiki&gt;Jr100</name></author>
		
	</entry>
</feed>