[vtkusers] Programming in Visual studio - How to include all the required directories in Visual studio.

bhanu kiran chaluvadi nthdimensionalreality at gmail.com
Wed Jun 22 22:29:13 EDT 2016


Hi,
I am new to VTK.
 I am using VTK - 6.3.0 along with visual studio 2013. I don't have much
knowledge in cmake.
I am able to build VTK and run all the example(present in bin folder) by
following some youtube tutorials.

Now i want to create by own sample project.  I want to include
 "vtkRenderer.h" in my program(for example)..

As usual in visual studio -> properties i included the path where the
program can find vtkRenderer.h

But vtkRenderer.h itself has 4 included header files

#include "vtkRenderingCoreModule.h" // For export macro
#include "vtkViewport.h"

#include "vtkVolumeCollection.h" // Needed for access in inline members
#include "vtkActorCollection.h"

And Each of the  above header file has further more included header
file..and this continued...

I will not be  able to include the paths for each header file. since they
are so many(more than 50)of them

Is there any way around this ?
i.e. if i
#include <vtkRenderer.h>
It should include all its dependency files.

Please help.

Thanks
BhanuKIran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160622/4fa3c53b/attachment.html>


More information about the vtkusers mailing list