[vtkusers] VTK-QT example build related..
Kalpathi Subramanian
krs at uncc.edu
Mon Jul 1 17:28:26 EDT 2013
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
More information about the vtkusers
mailing list