<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>Hi,<div><br></div><div>How can I know that I installed vtk right?</div><div>I'm typing which vtk and I'm not getting anything back.</div><div><br></div><div>this is how I installed vtk</div><div><br></div><div>ccmake . -G "UNIX Makefiles" -DVTK_USE_QVTK:BOOL=ON -DVTK_USE_COCOA:BOOL=ON -DVTK_USE_CARBON:BOOL=OFF -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS:BOOL=OFF</div><div><br></div><div>I installed version 6.1</div><div><br></div><div>Thanks<br><div><hr id="stopSpelling">From: MEEHANBT@nv.doe.gov<br>To: the.1.lily@hotmail.com; vtkusers@vtk.org<br>Subject: Re: [vtkusers] vtk headers displays: file not found<br>Date: Thu, 31 Jul 2014 20:49:39 +0000<br><br>




<div>It sounds like you don't have your environment set up correctly.</div>
<div>I run OS X Lion, and I have VTK installed in "~/VTK" and I do both C++ and Python development using VTK.</div>
<div><br>
</div>
<div>My ".bash_profile" is:</div>
<div><br>
</div>
<div>
<div>export VTK=~/VTK</div>
<div>export PATH=$PATH:$VTK/bin</div>
<div>export PYTHONPATH=$PYTHONPATH:$VTK/lib/python2.7/site-packages</div>
<div>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$VTK/lib</div>
<div><br>
</div>
<div>export PATH=$PATH:/Applications/CMake.app/Contents/bin</div>
<div>export MANPATH=$MANPATH:/Applications/CMake.app/Contents/man</div>
</div>
<div><br>
</div>
<div>If that doesn't work, let us see your environment setup, and where you put VTK at. I tried to load your link and couldn't get to the page. It is VERY likely that the problem is on my end.</div>
<div><br>
</div>
<span id="ecxOLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt;">
<span style="font-weight:bold;">From: </span>the lily <<a href="mailto:the.1.lily@hotmail.com">the.1.lily@hotmail.com</a>><br>
<span style="font-weight:bold;">Date: </span>Thursday, July 31, 2014 12:47 PM<br>
<span style="font-weight:bold;">To: </span>"<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
<span style="font-weight:bold;">Subject: </span>[vtkusers] vtk headers displays: file not found<br>
</div>
<div><br>
</div>
<div><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div class="ecxhmmessage">
<div dir="ltr">
<div><br>
</div>
<div>Hi, </div>
<div><br>
</div>
<div><br>
</div>
<div>I'm using mac osx 10.9 " Mavericks", Im trying to run a code that include the following headers, </div>
<div><br>
</div>
<div>
<div>#include "vtkConeSource.h"</div>
<div>#include "vtkCylinderSource.h"</div>
<div><br>
</div>
<div>#include "vtkPolyData.h"</div>
<div>#include "vtkPolyDataMapper.h"</div>
<div>#include "vtkRenderWindow.h"</div>
<div>#include "vtkCamera.h"</div>
<div>#include "vtkActor.h"</div>
<div>#include "vtkRenderer.h"</div>
<div>#include "vtkRenderWindowInteractor.h"</div>
<div>#include "vtkProperty.h"</div>
<div>#include "vtkCallbackCommand.h"</div>
<div>#include "vtkCommand.h"</div>
<div>#include "vtkRendererCollection.h"</div>
<div>#include "vtkFloatArray.h"</div>
<div>#include "vtkCellArray.h"</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>When I try to run the code it displays the following </div>
<div><br>
</div>
<div>
<p class="ecxp1">mpicxx -c -g -Wno-deprecated -I../../../include -I/Users/lab/software/VTK/include/vtk-5.8  d3.cpp</p>
<p class="ecxp2">d3.cpp:20:10: <span class="ecxs1">fatal error: </span>'vtkCylinderSource.h' file not found</p>
<p class="ecxp1">#include "vtkCylinderSource.h"</p>
<p class="ecxp3">         ^</p>
<p class="ecxp1">1 error generated.</p>
<p class="ecxp1">make: *** [d3.o] Error 1</p>
<p class="ecxp1"><br>
</p>
<p class="ecxp1">I installed vtk by following the steps in this link <a href="http://www.developers-life.com/configuring-and-compiling-vtk-6-1-on-mac-os-x-simple-example-of-vtk-usage.html" target="_blank" style="font-size:12pt;">http://www.developers-life.com/configuring-and-compiling-vtk-6-1-on-mac-os-x-simple-example-of-vtk-usage.html</a></p>
<p class="ecxp1"><br>
</p>
<p class="ecxp1">I do not know what is going wrong and I was not lucky to find any solution online. I hope someone can help me.</p>
<p class="ecxp1"><br>
</p>
<p class="ecxp1"><br>
</p>
<p class="ecxp1">Thanks.</p>
<p class="ecxp1"><br>
</p>
<p class="ecxp1"><br>
</p>
</div>
</div>
</div>
</div>
</span></div></div>                                     </div></body>
</html>