[vtkusers] Build error C1083

Bill Lorensen bill.lorensen at gmail.com
Mon Sep 20 23:29:13 EDT 2010


Bob,

Are you using cmake to configure your project?

You should
#include <vtkConeSource.h>

I suspect your include directories are not set.

Bill

On Mon, Sep 20, 2010 at 6:22 PM, Bob Palank <bob at stlcc.org> wrote:
> Running XP Pro SP3 and  VS2008 Pro using  .Net 3.5 SP1 with a new vtk 5.6.0
> build/install
>
> Trying to build the cone example but with most code is commented out.
>
>
>
> Without the line of code below, I get a clean build.
>
>
>
>  #include "d:\vtk560\include\vtkConeSource.h"
>
>
>
> With it, the following error is generated:
>
>
>
> Error      2              fatal error C1083: Cannot open include file:
> 'vtkstd/vector': No such file or directory
> d:\vtk560\include\vtkunicodestring.h    51           ConeFor2008
>
>
>
> So apparently vtkConeSource uses  vtkunicodestring.h(Sandia Labs Code c
> 2008) which has
>
> #include <vtkstd/vector> in it.
>
>
>
> I don't want to change copyrighted Sandia code   8-)
>
>
>
> I suspect many have a clean build of all  vtk 5.6.0 files placed in
> appropriate bin, include, and lib folders for VS 2008 VC++
>
>
>
> If available, I'd like to download a proven source and  compare that to what
> I have.
>
>
>
> 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