[vtkusers] Problem compiling VTK on Vista with VC++ 2008

John Drescher drescherjm at gmail.com
Tue Mar 6 17:41:49 EST 2012


> I'm trying to compile my first project on VTK with Visual c++ 2008 on
> Windows Vista-32 bit and I'm having this error message:
>
> Fatal error C1083: Impossible open include file 'vtkActor.h': No such file
> or directory.
>
> How can I solve it?
>
> The version of VTK installed is the latest vtk-5.8.
>

Make sure you have the following lines
FIND_PACKAGE(VTK REQUIRED)
INCLUDE(${VTK_USE_FILE})

in your CMakeLists.txt file that you used to generate your application.

John



More information about the vtkusers mailing list