<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>A couple of days ago, I posted a note that I was unable to
compile VTK.&nbsp; I was advised that I needed the developer version of openGL.&nbsp; I
had to appeal to my able systems administrator Steve Conn for help. &nbsp;The
following are his notes &#8230;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Here is what I did to get VTK to compile:<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>1. Installed developer versions of OpenGL and other
packages:<o:p></o:p></p>

<p class=MsoPlainText>libXau-devel - 1.0.1-3.1.i386<o:p></o:p></p>

<p class=MsoPlainText>mesa-libGL-devel - 6.5.1-7.5.el5.i386<o:p></o:p></p>

<p class=MsoPlainText>xorg-x11-proto-devel - 7.1-9.fc6.i386<o:p></o:p></p>

<p class=MsoPlainText>libXdmcp-devel - 1.0.1-2.1.i386<o:p></o:p></p>

<p class=MsoPlainText>libX11-devel - 1.0.3-9.el5.i386<o:p></o:p></p>

<p class=MsoPlainText>mesa-libGLU-devel - 6.5.1-7.5.el5.x86_64
mesa-libGLU-devel - 6.5.1-7.5.el5.i386 mesa-libOSMesa-devel -
6.5.1-7.5.el5.i386 mesa-libOSMesa-devel - 6.5.1-7.5.el5.x86_64
xorg-x11-proto-devel - 7.1-9.fc6.x86_64 xorg-x11-xtrans-devel - 1.0.1-1.1.fc6.i386
xorg-x11-xtrans-devel - 1.0.1-1.1.fc6.x86_64 libICE-devel - 1.0.1-2.1.x86_64
libSM-devel - 1.0.1-3.1.x86_64 libXt-devel - 1.0.2-3.1.fc6.x86_64 libXt-devel -
1.0.2-3.1.fc6.i386 ncurses-devel - 5.5-24.20060715.i386 ncurses-devel -
5.5-24.20060715.x86_64 python-devel - 2.4.3-21.el5.x86_64 python-devel -
2.4.3-21.el5.i386 mesa-libGL-devel - 6.5.1-7.5.el5.x86_64 libX11-devel -
1.0.3-9.el5.x86_64<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>You won't have to install these one at a time; most of
them get installed as dependencies if you work from the top of the list. <o:p></o:p></p>

<p class=MsoPlainText>Also, yum installs both the 32-bit and 64-bit packages
automatically.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>2. Unpack the tarball, go to the VTK source directory and
do the<o:p></o:p></p>

<p class=MsoPlainText>following:<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmake -DCMAKE_LIBRARY_PATH=/lib64:/usr/lib64<o:p></o:p></p>

<p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Note that the -D parameter on the cmake line obviates the
necessity of manually changing the library paths in ccmake.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>---------------<o:p></o:p></p>

<p class=MsoNormal>So now I have a compiled version.&nbsp;&nbsp;&nbsp; Perhaps this will be
useful to others who find themselves without the developer versions of openGL
and with a 64 bit system.&nbsp;&nbsp; <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Zachary
Levine<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Physicist,
NIST<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>