<div class="gmail_quote">On Fri, Apr 8, 2011 at 2:06 PM, Bob Palank <span dir="ltr"><<a href="mailto:bob@stlcc.org">bob@stlcc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">It seems I cannot reach the vtk include files, nor can they reach the include files they need.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Here is my code:</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:green">// Cone2011Test.cpp : main project file.</span><span style="font-size:9.5pt;font-family:Consolas"></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> </span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"stdafx.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:green">// Using VC++ Project Properties | Configuration Properties | VC++ Directories </span><span style="font-size:9.5pt;font-family:Consolas"></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:green">// D:\Vtk561-bin and d:\vtk561 $(IncludePath) were placed in the include path</span><span style="font-size:9.5pt;font-family:Consolas"></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkCylinderSource.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkPolyDataMapper.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkActor.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkRenderer.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkRenderWindow.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkRenderWindowInteractor.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkProperty.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">#include</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:#A31515">"vtkCamera.h"</span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> </span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">using</span><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:blue">namespace</span> System;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> </span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue">int</span><span style="font-size:9.5pt;font-family:Consolas"> main(<span style="color:blue">array</span><System::String ^> ^args)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">{</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> Console::WriteLine(L<span style="color:#A31515">"Hello World"</span>);</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> Console::ReadLine();</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> <span style="color:blue">return</span> 0;</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">}</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"></span></p>
</div></div></blockquote></div><br><div>Bill asked to see the CMakeLists.txt file - did you post it somewhere? I didn't see it in the email chain.</div><div><br></div><div>David</div>