﻿<?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%3AKevindietrich%2FOpenVDBCompile</id>
	<title>利用者:Kevindietrich/OpenVDBCompile - 版の履歴</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%3AKevindietrich%2FOpenVDBCompile"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Kevindietrich/OpenVDBCompile&amp;action=history"/>
	<updated>2026-07-30T19:42:28Z</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:Kevindietrich/OpenVDBCompile&amp;diff=150701&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:Kevindietrich/OpenVDBCompile&amp;diff=150701&amp;oldid=prev"/>
		<updated>2018-06-28T21:15:45Z</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:Kevindietrich/OpenVDBCompile&amp;diff=150700&amp;oldid=prev</id>
		<title>2016年1月23日 (土) 04:07にwiki&gt;Ideasman42による</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Kevindietrich/OpenVDBCompile&amp;diff=150700&amp;oldid=prev"/>
		<updated>2016-01-23T04:07:02Z</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;= Compile OpenVDB =&lt;br /&gt;
&lt;br /&gt;
The required dependencies for OpenVDB are OpenEXR, TBB, and Boost. For better interoperability with other software, it is recommended to compile OpenVDB with Blosc.&lt;br /&gt;
&lt;br /&gt;
Here is a short script/guide to get and compile blosc for Linux:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
# get the source&lt;br /&gt;
wget https://github.com/Blosc/c-blosc/archive/v1.7.0.tar.gz&lt;br /&gt;
&lt;br /&gt;
tar -xvf v1.7.0.tar.gz&lt;br /&gt;
cd c-blosc-1.7.0/&lt;br /&gt;
&lt;br /&gt;
# set up build dir&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build/&lt;br /&gt;
&lt;br /&gt;
# set up install dir&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ..&lt;br /&gt;
&lt;br /&gt;
# compile and install&lt;br /&gt;
cmake --build . --target install&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can also be desirable to link OpenVDB against a concurrent allocator, like jemalloc.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Unfortunately it is currently required to hand edit the Makefile from openvdb.&lt;br /&gt;
&lt;br /&gt;
For reference, here is a stripped Makefile that I use to compile the library (minus the OpenVDB development related stuff).&lt;br /&gt;
&lt;br /&gt;
The contents here should be copied into the Makefile, starting around line 80, ending with &amp;lt;tt&amp;gt;DOXYGEN&amp;lt;/tt&amp;gt;, see: https://github.com/dreamworksanimation/openvdb/blob/master/openvdb/Makefile#L80&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# The directory into which to install libraries, executables and header files&lt;br /&gt;
DESTDIR := /opt/lib/openvdb&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the boost/ header directory&lt;br /&gt;
BOOST_INCL_DIR := /opt/lib/boost/include&lt;br /&gt;
# The directory containing libboost_iostreams, libboost_system, etc.&lt;br /&gt;
BOOST_LIB_DIR := /opt/lib/boost&lt;br /&gt;
BOOST_LIB := -lboost_iostreams -lboost_system&lt;br /&gt;
BOOST_THREAD_LIB := -lboost_thread&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the OpenEXR/ header directory&lt;br /&gt;
EXR_INCL_DIR := /opt/lib/openexr/include&lt;br /&gt;
# The directory containing IlmImf&lt;br /&gt;
EXR_LIB_DIR := /opt/lib/openexr/lib&lt;br /&gt;
EXR_LIB := -lIlmImf&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the OpenEXR/ header directory (which contains half.h)&lt;br /&gt;
ILMBASE_INCL_DIR := $(EXR_INCL_DIR)&lt;br /&gt;
# The directory containing libIlmThread, libIlmThread, libHalf etc.&lt;br /&gt;
ILMBASE_LIB_DIR := $(EXR_LIB_DIR)&lt;br /&gt;
ILMBASE_LIB := -lIlmThread -lIex -lImath&lt;br /&gt;
HALF_LIB := -lHalf&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the tbb/ header directory&lt;br /&gt;
TBB_INCL_DIR := /usr/include&lt;br /&gt;
# The directory containing libtbb&lt;br /&gt;
TBB_LIB_DIR := /usr/lib&lt;br /&gt;
TBB_LIB := -ltbb&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the blosc.h header&lt;br /&gt;
# (leave blank if Blosc is unavailable)&lt;br /&gt;
BLOSC_INCL_DIR := /opt/lib/blosc/include&lt;br /&gt;
# The directory containing libblosc&lt;br /&gt;
BLOSC_LIB_DIR := /opt/lib/blosc/lib&lt;br /&gt;
BLOSC_LIB := -lblosc -lz&lt;br /&gt;
&lt;br /&gt;
# A scalable, concurrent malloc replacement library&lt;br /&gt;
# such as jemalloc (included in the Houdini HDK) or TBB malloc&lt;br /&gt;
# (leave blank if unavailable)&lt;br /&gt;
CONCURRENT_MALLOC_LIB := -ljemalloc&lt;br /&gt;
#CONCURRENT_MALLOC_LIB := -ltbbmalloc_proxy -ltbbmalloc&lt;br /&gt;
# The directory containing the malloc replacement library&lt;br /&gt;
CONCURRENT_MALLOC_LIB_DIR := /usr/lib/x86_64-linux-gnu&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the cppunit/ header directory&lt;br /&gt;
# (leave blank if CppUnit is unavailable)&lt;br /&gt;
CPPUNIT_INCL_DIR :=&lt;br /&gt;
# The directory containing libcppunit&lt;br /&gt;
CPPUNIT_LIB_DIR :=&lt;br /&gt;
CPPUNIT_LIB :=&lt;br /&gt;
&lt;br /&gt;
# The parent directory of the log4cplus/ header directory&lt;br /&gt;
# (leave blank if log4cplus is unavailable)&lt;br /&gt;
LOG4CPLUS_INCL_DIR :=&lt;br /&gt;
# The directory containing liblog4cplus&lt;br /&gt;
LOG4CPLUS_LIB_DIR :=&lt;br /&gt;
LOG4CPLUS_LIB :=&lt;br /&gt;
&lt;br /&gt;
# The directory containing glfw.h&lt;br /&gt;
# (leave blank if GLFW is unavailable)&lt;br /&gt;
GLFW_INCL_DIR :=&lt;br /&gt;
# The directory containing libglfw&lt;br /&gt;
GLFW_LIB_DIR :=&lt;br /&gt;
GLFW_LIB :=&lt;br /&gt;
# The major version number of the GLFW library&lt;br /&gt;
# (header filenames changed between GLFW 2 and 3, so this must be specified explicitly)&lt;br /&gt;
GLFW_MAJOR_VERSION :=&lt;br /&gt;
&lt;br /&gt;
# The version of Python for which to build the OpenVDB module&lt;br /&gt;
# (leave blank if Python is unavailable)&lt;br /&gt;
PYTHON_VERSION :=&lt;br /&gt;
# The directory containing Python.h&lt;br /&gt;
PYTHON_INCL_DIR :=&lt;br /&gt;
# The directory containing pyconfig.h&lt;br /&gt;
PYCONFIG_INCL_DIR :=&lt;br /&gt;
# The directory containing libpython&lt;br /&gt;
PYTHON_LIB_DIR :=&lt;br /&gt;
PYTHON_LIB :=&lt;br /&gt;
# The directory containing libboost_python&lt;br /&gt;
BOOST_PYTHON_LIB_DIR :=&lt;br /&gt;
BOOST_PYTHON_LIB :=&lt;br /&gt;
# The directory containing arrayobject.h&lt;br /&gt;
# (leave blank if NumPy is unavailable)&lt;br /&gt;
NUMPY_INCL_DIR :=&lt;br /&gt;
# The Epydoc executable&lt;br /&gt;
# (leave blank if Epydoc is unavailable)&lt;br /&gt;
EPYDOC :=&lt;br /&gt;
# Set PYTHON_WRAP_ALL_GRID_TYPES to &amp;quot;yes&amp;quot; to specify that the Python module&lt;br /&gt;
# should expose (almost) all of the grid types defined in openvdb.h&lt;br /&gt;
# Otherwise, only FloatGrid, BoolGrid and Vec3SGrid will be exposed&lt;br /&gt;
# (see, e.g., exportIntGrid() in python/pyIntGrid.cc).&lt;br /&gt;
# Compiling the Python module with PYTHON_WRAP_ALL_GRID_TYPES set to &amp;quot;yes&amp;quot;&lt;br /&gt;
# can be very memory-intensive.&lt;br /&gt;
PYTHON_WRAP_ALL_GRID_TYPES := no&lt;br /&gt;
&lt;br /&gt;
# The Doxygen executable&lt;br /&gt;
# (leave blank if Doxygen is unavailable)&lt;br /&gt;
DOXYGEN :=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Ideasman42</name></author>
		
	</entry>
</feed>