<div>I downloaded VTK and run CMake 2.4 to build the .sln file for my Visual Studio. </div>
<div>Then I was able to compile VTK with Visual Studio, worked fine. </div>
<div> </div>
<div>Now I'd like to test some sample VTL code, or write mine, BUT</div>
<div>1. Which VTK .h files should I include, with which static .lib VTK libraries? I do not see any single VTK include folder or file - do I do this by trial and error?</div>
<div>2. As soon as I add something like</div>
<div><font size="2">
<p>#include "vtkConeSource.h"</p>
<p>to my program, I immediately get an error message from the Visual Studio compiler about</p>
<p>#cmakedefine</p>
<p>being an illegal preprocessor directive. Did I do something wrong with CMake (I changes a few settings there, following instructions from one VTK posting about CMake that I found online)? If I replace #cmakedefine with #define in
vtkConfig.h file, this error message disappears, but i get an avalanche of other errors.</p>
<p>What am I doing wrong, and what is the simplest way to run at least one VTK sample source code to get started?</p></font></div>