[vtkusers] VTK and Visual c++ 2005

T.R.Shashwath trshash at gmail.com
Thu Oct 25 09:37:01 EDT 2007


On Thursday 25 Oct 2007 10:09:41 am Joshua Pena wrote:
> I am trying to get VTK to work with Visual C++ 2005 express edition
> (free). I have successfully built the vtk solution file after running
> cmake. My question now is where do i go from here? How can i compile
> code using visual c++. When i try to compile code with includes lines
> like #include "vtkSphereSource.h", it just gives me an error saying no
> such file. Am i suppose to move these header files into the include
> directory in the visual c++ directory? Any help would be appreciated.
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

You'll need to put them into Visual Studio's search path. I think the option 
is in Tools->Options->VC directories or something similar. Just make that 
point to vtk's install path. Remember to do the same for the libraries too, 
and to have the dlls (/path/to/vtk-install/bin) in the PATH environment 
variable (or in the directory you're running your program from.

Shash



More information about the vtkusers mailing list