Bob,<br><br>Let&#39;s start from scratch (and keep the users list apprised).<br><br>Are you working from an installed VTK or a VTK that you have built?<br><br>Is the problem with VTK, a VTK example or your application?<br>
<br>Bill<br><br><div class="gmail_quote">On Sat, Apr 2, 2011 at 7:29 PM, Bob Palank <span dir="ltr">&lt;<a href="mailto:bob@stlcc.org">bob@stlcc.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
OK, I’ll not specify the full path.<br>
Result follows ( red underscores are not present in VC++ :<br>
<br>
 #include &quot;vtkRenderWindow.h&quot;                  // Changed the includes<br>
 #include &quot;vtkRenderWindowInteractor.h&quot;<br>
 #include &quot;vtkRenderer.h&quot;<br>
 #include &quot;vtkPolyDataMapper.h&quot;<br>
 #include &quot;vtkProperty.h&quot;<br>
 #include &quot;vtkActor.h&quot;<br>
int main(int argc, char *argv[])<br>
{<br>
  // commented out all code<br>
<br>
 return 0;<br>
}<br>
And I get<br>
<div class="im">            Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped<br>
<br>
</div>Next I add in<br>
#include &quot;vtkConeSource.h&quot;   below the last include above<br>
The result follows:<br>
<div class="im"><br>
d:\vtk561\include\vtkStdString.h(25): fatal error C1083: Cannot open include<br>
file:<br>
      &#39;vtkstd/string&#39;: No such file or directory<br>
//  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br>
==========<br>
<br>
</div>And vtkStdString.h  is in the include folder !<br>
<br>
Perplexed,<br>
<div class="im"> Bob<br>
<br>
============================================================================<br>
=====<br>
<br>
From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>]<br>
</div>Sent: Saturday, April 02, 2011 9:55 AM<br>
To: Bob Palank<br>
<div><div></div><div class="h5">Subject: Re: [vtkusers] Issues with vtkstd folder<br>
<br>
It is common to have include siles without .h. The std include files do not<br>
have .h extensions. My Visual Studio 10 has many without .h.<br>
<br>
Why are you specifying a fukll path. The vtk cmake will take care of<br>
specifying the proper include directory locations.<br>
The vtkstd/string is locate in the build tree, not the source tree.<br>
<br>
On Sat, Apr 2, 2011 at 10:21 AM, Bob Palank &lt;<a href="mailto:bob@stlcc.org">bob@stlcc.org</a>&gt; wrote:<br>
Hi Bill,<br>
Yes,  I used CMAKE  2.8.4 and had Build_Examples, Build_Shared_Libs and<br>
Build_Testing checked.<br>
No problems were encountered.<br>
All of my other includes are to specific  .h files and do not cause Build<br>
problems<br>
So I tried  #include &quot;d:\Vtk561\include\vtkStd\string&quot;<br>
and checked to be sure that there was a file called string in my include<br>
d:\vtk561\include\vtkstd folder.<br>
It was there.<br>
Perhaps in VC++ 2010 Express #include only allows access to files with  a .h<br>
extension  ?<br>
Thanks for your attention.<br>
Bob<br>
 <br>
From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>]<br>
Sent: Friday, April 01, 2011 11:58 PM<br>
To: Bob Palank<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] Issues with vtkstd folder<br>
 <br>
Bob,<br>
<br>
Are you configuriing vtk with cmake?<br>
<br>
vtkstd/string is in the build tree, not the source tree. The vtkstd<br>
directory and its contentrs are created by cmake.<br>
<br>
Bill<br>
On Fri, Apr 1, 2011 at 9:04 PM, Bob Palank &lt;<a href="mailto:bob@stlcc.org">bob@stlcc.org</a>&gt; wrote:<br>
Running XP Pro SP3 and VC++ 2010 Express and fail to reach needed code files<br>
<br>
with no extensions that live in vtkstd. <br>
Is this a common practice - to have files in a complex system with no file<br>
extensions?<br>
I encounter<br>
d:\vtk561\include\vtkStdString.h(25): fatal error C1083: Cannot open include<br>
file: &#39;vtkstd/string&#39;:<br>
      No such file or directory<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>
 <br>
<br>
For my own sanity, I like to use explicit calls for include files<br>
( ie #include &quot;d:\Vtk561\include\vtkRenderWindow.h&quot;)<br>
Any suggestions as to how to resolve this?<br>
TIA<br>
  Bob<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<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:<br>
<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>
<br>
<br>
</div></div></blockquote></div><br>