[vtkusers] vtk56 - VS2008 - Cone example Errors

Bill Lorensen bill.lorensen at gmail.com
Thu Sep 30 12:20:14 EDT 2010


Please post the entire source for your example.

BTW, you should not have to place the entire path name in your includes.
#include <vtkRenderer.h>
should be enough. I assume you configure your example project with cmake.

Also post the CMakeLists.txt file that you are using for the example.

Bill

On Thu, Sep 30, 2010 at 11:35 AM, Bob Palank <bob at stlcc.org> wrote:
> 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
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list