Hello everyone, I am trying to execute the vtk example : <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP</a><br><br>As the example guide says, I create a folder call test, then inside this folder I put WriteVTP.cxx and the CmakeLists.txt given in the example.<div>
<br></div><div>I am trying to compile it, and give me this error : <div><br></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
**** Build of configuration Debug for project test ****<br>make -j4 all <br>Building file: ../WriteVTP.cxx<br>Invoking: Cross G++ Compiler<br>g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"WriteVTP.d" -MT"WriteVTP.d" -o "WriteVTP.o" "../WriteVTP.cxx"<br>
../WriteVTP.cxx:1:24: fatal error: vtkVersion.h: No such file or directory<br>compilation terminated.<br>make: *** [WriteVTP.o] Error 1<br>**** Build Finished ****</blockquote><div><br></div><div>I am using Eclipse, in ubuntu 11.04. </div>
<div><br></div><div>Maybe I have to set up the compiling configuration of eclipse?</div><div><br></div>-- <br>--------<br>Gonzalo Amadio<br><br>
</div>