I assume you downloaded and extracted the tar file for the Sphere example?<div><br></div><div>I cannot explain your problem. Your  cache files look fine.<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 7:30 AM, Leonardo Rivera <span dir="ltr">&lt;<a href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:garamond,new york,times,serif"><div><span>ok here it is!</span></div><div><br>
</div>  <div style="font-size:12pt;font-family:garamond,&#39;new york&#39;,times,serif"> <div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"> <div dir="ltr"> <font face="Arial"><div class="im">
 <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br> <b><span style="font-weight:bold">To:</span></b> Leonardo Rivera &lt;<a href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt; <br>
 </div><b><span style="font-weight:bold">Sent:</span></b> Wednesday, March 20, 2013 10:20 AM<div><div class="h5"><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [vtkusers] sphere example<br> </div></div></font> </div>
<div><div class="h5"> <br>
<div>Now send the CMakeCache.txt file for the example you are building.<br><br><div>On Tue, Mar 19, 2013 at 10:11 PM, Leonardo Rivera <span dir="ltr">&lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt;</span> wrote:<br>


<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:garamond,&#39;new york&#39;,times,serif"><div><span>These were the options i set:  i was following the instructions on this page</span></div>


<div><span><a href="http://computerassistedsurgeryblog.com/2010/04/21/installing-vtk-on-mac-os-x-10-6-snow-leopard/comment-page-1/#comment-477" target="_blank">http://computerassistedsurgeryblog.com/2010/04/21/installing-vtk-on-mac-os-x-10-6-snow-leopard/comment-page-1/#comment-477</a><br>


</span></div><div><span><br></span></div><div>

<span><table border="0" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(81,85,92);font-size:12px;line-height:18px">


<tbody style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


<td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">BUILD_EXAMPLES</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


check</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


BUILD_SHARED_LIBS</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">check</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


<td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">BUILD_TESTING</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


check</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


CMAKE_INSTALL_PREFIX</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">/Users/simpson/Software/VTKBuild/</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


<td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">CMAKE_OSX_ARCHITECTURES</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


x86_64</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


CMAKE_OSX_DEPLOYMENT_TARGET</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">10.6</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


<td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">VTK_USE_CARBON</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


uncheck</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


VTK_USE_COCOA</td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">check</td></tr><tr style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


<td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">VTK_WRAP_TCL<br></td><td style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">


check<br></td></tr></tbody></table></span></div><div><br></div>  <div> <div style="font-size:12pt">

 <div dir="ltr"> <font face="Arial"><div> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Bill Lorensen &lt;<a rel="nofollow" href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br>

 <b><span style="font-weight:bold">To:</span></b> Leonardo Rivera &lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt; <br><b><span style="font-weight:bold">Cc:</span></b> VTK Users &lt;<a rel="nofollow" href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt; <br>


 </div><b><span style="font-weight:bold">Sent:</span></b> Wednesday, March 20, 2013 12:18 AM<div><div><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [vtkusers] sphere example<br> </div></div></font> </div>


<div><div> <br>
<div>When you build VTK, what options did you set?<div> Please email to me the CMakeCache.txt file for your VTK build</div><div><br></div><div><div>On Tue, Mar 19, 2013 at 8:19 PM, Leonardo Rivera <span dir="ltr">&lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt;</span> wrote:<br>



<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><span>I am using the git repository one from:</span></div>


<div><span><a href="http://www.vtk.org/Wiki/VTK/Git/Download" target="_blank">http://www.vtk.org/Wiki/VTK/Git/Download</a><br>
</span></div><div><br></div>  <div> <div style="font-size:12pt"> <div dir="ltr">
 <font face="Arial"><div> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Bill Lorensen &lt;<a rel="nofollow" href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br> <b><span style="font-weight:bold">To:</span></b> Leonardo Rivera &lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt; <br>



</div><b><span style="font-weight:bold">Cc:</span></b> VTK Users &lt;<a rel="nofollow" href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt; <br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, March 19, 2013 11:04 PM<div>



<div><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [vtkusers] sphere example<br> </div></div></font> </div><div><div> <br>
<div>What version of VTK are you using?<div><br><br><div>On Tue, Mar 19, 2013 at 7:23 PM, Leonardo Rivera <span dir="ltr">&lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt;</span> wrote:<br>




<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><span>when i ran cmake i specified VTK_DIR = to the DIR where i built vtk. In fact i actually tried setting it to other DIR</span></div>




<div><span>like the source DIR for VTK but no other DIR works. That is the only DIR that allows me to configure and generate without </span></div>
<div>any problems.</div><div>
<br></div><div>  </div><div><div> </div><div style="font-size:12pt">
<div> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Bill Lorensen &lt;<a rel="nofollow" href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br>




 <b><span style="font-weight:bold">To:</span></b> Leonardo Rivera &lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt; <br><b><span style="font-weight:bold">Cc:</span></b> &quot;<a rel="nofollow" href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&quot; &lt;<a rel="nofollow" href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>&gt; <br>




 <b><span style="font-weight:bold">Sent:</span></b> Tuesday, March 19, 2013 9:44 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [vtkusers] sphere example<br> </font> </div></div><div><div> <br>

<div>When you ran cmake, what did you specify for VTK_DIR<div><br><br><div>On Tue, Mar 19, 2013 at 4:18 PM, Leonardo Rivera <span dir="ltr">&lt;<a rel="nofollow" href="mailto:ae3rivera@yahoo.com" target="_blank">ae3rivera@yahoo.com</a>&gt;</span> wrote:<br>





<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div>Hello,</div><div><br></div><div>
I am trying to compile the vtk sphere exmaple that is on this page</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere</a><br>





</div><div><br></div><div>
I am using CMake2.8-1 on OS X 10.6 and i can
 configure and generate just fine, then i open the</div><div>terminal, i go to the Sphere/build directory and when i do &quot;make&quot; it doesn&#39;t recognize any of the libraries.</div>
<div>It says,&quot;Sphere.cxx:1:29: error: vtkSphereSource.h: No such file or directory&quot; for every single library</div>
<div>listed in the .cxx file. What can i do?</div><div><br></div><div>
<br></div><div><div>
<br></div></div><div><br></div><div>
<br></div></div></div><br>_______________________________________________<br>
Powered by <a rel="nofollow" href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>