<div dir="ltr"><div><div><div>What version of VTK are you using? If VTK6 then make sure<br>Module_vtkViewsQt:BOOL=ON<br></div>is set in your CMakeCache.txt file<br><br></div>You can point to either an installed VTK or your built VTK. Both should work<br>
<br></div>NOTE: not all of the examples have the checks to see if their required modules are present. This is on my todo list...<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 5:28 PM, Kalpathi Subramanian <span dir="ltr">&lt;<a href="mailto:krs@uncc.edu" target="_blank">krs@uncc.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I have VTK and QT installed and was trying to build the SimpleView example and<br>
ran into a compile problem -- not able to find one of the include files (QVTKWidget.h).<br>
<br>
Something in the environment is wrong, it seems. I was trying to dig deep into<br>
how cmake finds stuff. I found that it uses the FindPackage() calls to get the<br>
environment..<br>
<br>
So I built VTK  under  my account but installed it under  /usr/local (that was set using<br>
the INSTALL_PREFIX variable. So when I install it, shouldnt the VTK_USE_FILE variable<br>
use the includes and libraries under /usr/local/vtk.../include/vtk-<u></u>5.10/..?<br>
<br>
Instead looking at the Cmake files<br>
under  the SimpleView example, it is still looking for these in the original build<br>
directory under my account.<br>
<br>
What am I doing wrong in the installation? Also what Cmake variables should I turn on to<br>
be able to build VTK-QT examples (using C++)? I think I did it right..<br>
<br>
    == krs<br>
<br>
<br>
-- <br>
Dr. Kalpathi Subramanian                 Ph. <a href="tel:704%20687%208579" value="+17046878579" target="_blank">704 687 8579</a><br>
Associate Professor                      Fax.<a href="tel:704%20687%203516" value="+17046873516" target="_blank">704 687 3516</a><br>
Dept. of Computer Science                Email: <a href="mailto:krs@uncc.edu" target="_blank">krs@uncc.edu</a><br>
The Univ. of N. Carolina at Charlotte    Web:<a href="http://www.cs.uncc.edu/~krs" target="_blank">www.cs.uncc.edu/~krs</a><br>
Charlotte, NC 28223-0001<br>
<br>
______________________________<u></u>_________________<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/<u></u>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_<u></u>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/<u></u>listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>