<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.dayel.com/comet/cometwiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.dayel.com/comet/cometwiki/index.php?action=history&amp;feed=atom&amp;title=Installing_VTK_on_OS_X</id>
		<title>Installing VTK on OS X - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.dayel.com/comet/cometwiki/index.php?action=history&amp;feed=atom&amp;title=Installing_VTK_on_OS_X"/>
		<link rel="alternate" type="text/html" href="http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;action=history"/>
		<updated>2026-04-29T06:47:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.3</generator>

	<entry>
		<id>http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;diff=17&amp;oldid=prev</id>
		<title>Markdayel at 22:13, 9 October 2008</title>
		<link rel="alternate" type="text/html" href="http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;diff=17&amp;oldid=prev"/>
				<updated>2008-10-09T22:13:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:13, 9 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it's not straightforward, but seems robust once you know the secret ways. Here's how I did it (this is largely based on the [http://www.vtk.org/Wiki/Cocoa_VTK vtk wiki], the instructions here and some fiddling). Note: this is using the CVS version (currently VTK 5.3)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it's not straightforward, but seems robust once you know the secret ways. Here's how I did it (this is largely based on the [http://www.vtk.org/Wiki/Cocoa_VTK vtk wiki], &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[http://macresearch.org/installing_vtk_on_mac_os_x &lt;/ins&gt;the instructions here&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;and some fiddling). Note: this is using the CVS version (currently VTK 5.3)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First, install the [http://developer.apple.com/tools/download/ Apple Developer Tools (Xcode)], and [http://www.macports.org/ Macports], then open a terminal and use Macports to install CMake:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First, install the [http://developer.apple.com/tools/download/ Apple Developer Tools (Xcode)], and [http://www.macports.org/ Macports], then open a terminal and use Macports to install CMake:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cometwikidb:diff:version:1.11a:oldid:15:newid:17 --&gt;
&lt;/table&gt;</summary>
		<author><name>Markdayel</name></author>	</entry>

	<entry>
		<id>http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;diff=15&amp;oldid=prev</id>
		<title>Markdayel at 20:52, 8 October 2008</title>
		<link rel="alternate" type="text/html" href="http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;diff=15&amp;oldid=prev"/>
				<updated>2008-10-08T20:52:17Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:52, 8 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=Installing VTK on OS X=&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it's not straightforward, but seems robust once you know the secret ways. Here's how I did it (this is largely based on the [http://www.vtk.org/Wiki/Cocoa_VTK vtk wiki], the instructions here and some fiddling). Note: this is using the CVS version (currently &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;VTK &lt;/ins&gt;5.3)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it's not straightforward, but seems robust once you know the secret ways. Here's how I did it (this is largely based on the [http://www.vtk.org/Wiki/Cocoa_VTK vtk wiki], the instructions here and some fiddling). Note: this is using the CVS version (currently 5.3)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First, install the [http://developer.apple.com/tools/download/ Apple Developer Tools (Xcode)], and [http://www.macports.org/ Macports], then open a terminal and use Macports to install CMake:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First, install the [http://developer.apple.com/tools/download/ Apple Developer Tools (Xcode)], and [http://www.macports.org/ Macports], then open a terminal and use Macports to install CMake:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cometwikidb:diff:version:1.11a:oldid:14:newid:15 --&gt;
&lt;/table&gt;</summary>
		<author><name>Markdayel</name></author>	</entry>

	<entry>
		<id>http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;diff=14&amp;oldid=prev</id>
		<title>Markdayel: New page: =Installing VTK on OS X=  It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it's not straightforward, but seems robust once you know the secret ways. Here's how...</title>
		<link rel="alternate" type="text/html" href="http://www.dayel.com/comet/cometwiki/index.php?title=Installing_VTK_on_OS_X&amp;diff=14&amp;oldid=prev"/>
				<updated>2008-10-08T20:51:50Z</updated>
		
		<summary type="html">&lt;p&gt;New page: =Installing VTK on OS X=  It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it&amp;#039;s not straightforward, but seems robust once you know the secret ways. Here&amp;#039;s how...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Installing VTK on OS X=&lt;br /&gt;
&lt;br /&gt;
It took me a little while to get VTK compiled on OS X 10.5. It uses cmake, so it's not straightforward, but seems robust once you know the secret ways. Here's how I did it (this is largely based on the [http://www.vtk.org/Wiki/Cocoa_VTK vtk wiki], the instructions here and some fiddling). Note: this is using the CVS version (currently 5.3)&lt;br /&gt;
&lt;br /&gt;
First, install the [http://developer.apple.com/tools/download/ Apple Developer Tools (Xcode)], and [http://www.macports.org/ Macports], then open a terminal and use Macports to install CMake:&lt;br /&gt;
&lt;br /&gt;
 sudo port selfupdate&lt;br /&gt;
 sudo port install cmake&lt;br /&gt;
&lt;br /&gt;
Create a directory for VTK, and download the CVS version of the software:&lt;br /&gt;
&lt;br /&gt;
 mkdir VTK&lt;br /&gt;
 cd VTK&lt;br /&gt;
 cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK login&lt;br /&gt;
&lt;br /&gt;
enter 'vtk' as the password, then start the download:&lt;br /&gt;
&lt;br /&gt;
 cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK checkout VTK&lt;br /&gt;
&lt;br /&gt;
Make a directory for the build and run cmake from that directory, pointing to the source you just downloaded:&lt;br /&gt;
&lt;br /&gt;
 mkdir VTKBuild&lt;br /&gt;
 cd VTKBuild&lt;br /&gt;
 cmake ../VTK&lt;br /&gt;
&lt;br /&gt;
Cmake will make its config files based on the system info. These will be wrong, so we need to open CMakeCache.txt in a text editor and change the following (replace /Users/mark/VTK/VTKBuild with the path you chose above):&lt;br /&gt;
&lt;br /&gt;
 VTK_USE_CARBON:BOOL=OFF&lt;br /&gt;
 VTK_USE_COCOA:BOOL=ON&lt;br /&gt;
 CMAKE_BUILD_TYPE:STRING=Release&lt;br /&gt;
 CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib&lt;br /&gt;
 CMAKE_INSTALL_PREFIX:PATH=/Users/mark/VTK/VTKBuild&lt;br /&gt;
&lt;br /&gt;
Make sure to change the username in that last line to match your own. Then call cmake again and it will write out a makefile:&lt;br /&gt;
&lt;br /&gt;
 cmake ../VTK&lt;br /&gt;
&lt;br /&gt;
Finally, compile and install:&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
If all is well, you should have a set of compiled libraries in VTKBuild/lib and include files in VTKBuild/include/vtk-5.3 (depending on the current VTK version number)&lt;br /&gt;
&lt;br /&gt;
To use these for an XCode project, open the project, select Project-&amp;gt;Edit Project Settings and under the Build tab change 'Library Search Paths' to include /Users/mark/VTK/VTKBuild/lib/ and 'Header Search Paths' to include /Users/mark/VTK/VTKBuild/include/vtk-5.3/ (changing the user name and version as appropriate)&lt;/div&gt;</summary>
		<author><name>Markdayel</name></author>	</entry>

	</feed>