<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN class=010122118-19122007>I've just
downloaded VTK and </SPAN>I'm trying to compile some of the example VTK code
found in:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007>
</SPAN>../VTK/VTK/Examples/GUI/Qt</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>I cd to the directory above. It has the
contents<SPAN class=010122118-19122007>:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>CMakeCache.txt
cmake_install.cmake Events Makefile</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>CMakeFiles CMakeLists.txt
ImageViewer SimpleView</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I type:</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>ccmake .</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=+0><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007>but I</SPAN> am not able to correctly set the
vairable:</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>DESIRED_QT_VERSION
</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have both have a standard Ubuntu "Gutsy"
installation (which seems to have both qt 3 and 4 installed<SPAN
class=010122118-19122007> by default?</SPAN>)</FONT></DIV>
<DIV><FONT face=Arial size=2>I've tried the following values for
DESIRED_QT_VERSION:<SPAN class=010122118-19122007> </SPAN>qt4, qt 4, Qt 4, Qt
4.0, Qt4, Qt4.0, 4, 4.0, 4.3.2 (afer looking in /usr/lib)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I always get the same error when I try to
configure:</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>CMake was unable to find
desired QT version: 4.3.2. Set advanced values QT_QMAKE_EXECUTABLE and
QT4.3.2_QGLOBAL_FILE.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>Qt GUI library not
found.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>Qt CORE library not
found.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>CMake was unable to find
desired QT version: 4.3.2. Set advanced values QT_QMAKE_EXECUTABLE and
QT4.3.2_QGLOBAL_FILE.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>Qt GUI library not
found.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>Qt CORE library not
found.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>CMake Error: Error in cmake
code at</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007>
</SPAN>/home/msh/Documents/Research/SourceFiles/VTKStuff/VTK/VTK/Examples/GUI/Qt/SimpleView/CMakeLists.txt:37:</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>Unknown CMake command
"QT4_WRAP_UI".</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've looked in CMakeLists.txt, its contents
are:</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=010122118-19122007> </SPAN>SUBDIRS(ImageViewer
SimpleView Events)</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial
size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2>which doesn't seem to tell me much.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How do I correctly set this variable (I've also
tried the values: qt3, qt 3, Qt 3, Qt 3.0, Qt3, Qt3.0, 3, 3.0)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>