<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Georgia, sans-serif; ">
<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="OLK_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><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div class="hmmessage">
<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="p1">mpicxx -c -g -Wno-deprecated -I../../../include -I/Users/lab/software/VTK/include/vtk-5.8  d3.cpp</p>
<p class="p2">d3.cpp:20:10: <span class="s1">fatal error: </span>'vtkCylinderSource.h' file not found</p>
<p class="p1">#include "vtkCylinderSource.h"</p>
<p class="p3">         ^</p>
<p class="p1">1 error generated.</p>
<p class="p1">make: *** [d3.o] Error 1</p>
<p class="p1"><br>
</p>
<p class="p1">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="p1"><br>
</p>
<p class="p1">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="p1"><br>
</p>
<p class="p1"><br>
</p>
<p class="p1">Thanks.</p>
<p class="p1"><br>
</p>
<p class="p1"><br>
</p>
</div>
</div>
</div>
</div>
</span>
</body>
</html>