[vtkusers] VTK-QT example build related..
Bill Lorensen
bill.lorensen at gmail.com
Tue Jul 2 11:23:36 EDT 2013
What version of VTK are you using? If VTK6 then make sure
Module_vtkViewsQt:BOOL=ON
is set in your CMakeCache.txt file
You can point to either an installed VTK or your built VTK. Both should work
NOTE: not all of the examples have the checks to see if their required
modules are present. This is on my todo list...
On Mon, Jul 1, 2013 at 5:28 PM, Kalpathi Subramanian <krs at uncc.edu> wrote:
>
> I have VTK and QT installed and was trying to build the SimpleView example
> and
> ran into a compile problem -- not able to find one of the include files
> (QVTKWidget.h).
>
> Something in the environment is wrong, it seems. I was trying to dig deep
> into
> how cmake finds stuff. I found that it uses the FindPackage() calls to get
> the
> environment..
>
> So I built VTK under my account but installed it under /usr/local (that
> was set using
> the INSTALL_PREFIX variable. So when I install it, shouldnt the
> VTK_USE_FILE variable
> use the includes and libraries under /usr/local/vtk.../include/vtk-**
> 5.10/..?
>
> Instead looking at the Cmake files
> under the SimpleView example, it is still looking for these in the
> original build
> directory under my account.
>
> What am I doing wrong in the installation? Also what Cmake variables
> should I turn on to
> be able to build VTK-QT examples (using C++)? I think I did it right..
>
> == krs
>
>
> --
> Dr. Kalpathi Subramanian Ph. 704 687 8579
> Associate Professor Fax.704 687 3516
> Dept. of Computer Science Email: krs at uncc.edu
> The Univ. of N. Carolina at Charlotte Web:www.cs.uncc.edu/~krs
> Charlotte, NC 28223-0001
>
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_**FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/**listinfo/vtkusers<http://www.vtk.org/mailman/listinfo/vtkusers>
>
--
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130702/ac73f1ce/attachment.htm>
More information about the vtkusers
mailing list