[vtkusers] vtk56 - VS2008 - Cone example Errors

Bob Palank bob at stlcc.org
Thu Sep 30 11:35:05 EDT 2010


I am making progress  - vtk has been built, and I attempt to run the Sample
Cone Application ..... BUT

Dave P. says " Once you have successfully built everything, building the
INSTALL project should give you a directory under C:\Program Files\VTK\
which contain bin (dlls) lib (.lib) and include (.h) directories. "

 

Space on Drive C is limited  so I have VTK on D: not C:  

  D:\Program Files\VTK\ contains bin (dlls) lib (.lib) and include (.h)
directories. "

 

My Path variable contains  D:\Program Files\VTK

 

When I rebuild my ConeFor2008 application, I encounter Error 2 below when I
: 

#include "d:\vtk560\include\vtkRenderWindowInteractor.h"  // I have includes
here also

#include "d:\vtk560\include\vtkRenderer.h"

#include "d:\vtk560\include\vtkPolyDataMapper.h"

#include "d:\vtk560\include\vtkProperty.h"

#include "d:\vtk560\include\vtkActor.h"       

//                                      No errors with all of the above
active

//==========================================================================
========

// There is a  vtkConeSource.h in the include folder, but

#include "D:\Program Files\VTK\include\vtk-5.6\vtkConeSource.h"

----------------------------------------------------------------------------
--------------------

Error      2              fatal error C1083: Cannot open include file:
'vtkstd/string': No such file or directory          
d:\program files\vtk\include\vtk-5.6\vtkStdString.h        25
ConeFor2008
----------------------------------------------------------------------------
----------------------------------------------------

But  d:\program files\vtk\include\vtk-5.6\vtkStdString.h  lives in the
folder !

 

Also,  D:\Program Files\VTK\include\vtk-5.6\vtkstd/string  is there

 

Any ideas ???

Bob

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100930/bb393de8/attachment.htm>


More information about the vtkusers mailing list