<div dir="ltr">In properly built vtk 6 with VTK_Group_Qt selected, this header is in the Include directory in the installation VTK directory.<div>So either vtk was not built for Qt or VTK_DIR is not properly set .</div><div>
Anka</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 8:55 AM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Tue, Aug 20, 2013 at 8:30 AM, Altamash Abbasi <span dir="ltr"><<a href="mailto:altamashabbasi@gmail.com" target="_blank">altamashabbasi@gmail.com</a>></span> wrote:<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>stame1@itlrstud044:~/software/QImageToImageSource/build> <font color="#ff0000">cmake -DVTK_DIR:PATH=/home/stame1/software/VTKBin ..</font></div>
<div>-- Looking for Q_WS_X11</div><div>-- Looking for Q_WS_X11 - found</div>
<div>-- Looking for Q_WS_WIN</div><div>-- Looking for Q_WS_WIN - not found.</div><div>-- Looking for Q_WS_QWS</div><div>-- Looking for Q_WS_QWS - not found.</div><div>-- Looking for Q_WS_MAC</div><div>-- Looking for Q_WS_MAC - not found.</div>
<div><font color="#8e7cc3">-- Found Qt4: /usr/bin/qmake (found version "4.7.4")</font></div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /home/stame1/software/QImageToImageSource/build</div>
<div><br></div><div>stame1@itlrstud044:~/software/QImageToImageSource/build> <font color="#4c1130">make</font></div><div>Scanning dependencies of target QImageToImageSource</div><div>[100%] Building CXX object CMakeFiles/QImageToImageSource.dir/QImageToImageSource.cxx.o </div>
<div>/home/stame1/software/QImageToImageSource/QImageToImageSource.cxx:5:36:fatal error: vtkQImageToImageSource.h: File or directory not found</div><div>Compilation terminated.</div><div>make[2]: *** [CMakeFiles/QImageToImageSource.dir/QImageToImageSource.cxx.o] Error1</div>
<div>make[1]: *** [CMakeFiles/QImageToImageSource.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br></div><div>Again Make command is giving error . . . May be QT is not installed properly . . .</div></div>
<br></blockquote></div></div><div><br>I found that vtkQImageToImageSource.h exists in the Rendering source folder of vtk-5.10.X. If you are using vtk-6 I am not sure since I do not use that yet.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>John<br></div><div>
<br></div><div> <br></div></font></span></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>