[Paraview] Cannot Build on Altix

clinton at elemtech.com clinton at elemtech.com
Fri Jun 13 17:18:12 EDT 2008


FindQt4.cmake will set the qmake to NOTFOUND if any of these variables are 
empty
QT_LIBRARY_DIR 
QT_INCLUDE_DIR 
QT_MOC_EXECUTABLE 
QT_UIC_EXECUTABLE 
QT_RCC_EXECUTABLE 
QT_QTCORE_LIBRARY_RELEASE AND QT_QTCORE_LIBRARY_DEBUG

That typically happens with an incorrectly installed Qt.

Clint


On Friday 13 June 2008 1:55:15 pm Kent Eschenberg wrote:
> Thanks! Here's the test:
>
> 1) Created suggested CMakeLists.txt file
> 2) Entered "ccmake ." then "c"
> 3) See warning "No cmake_minimum_required ..." then entered "e"
> 4) Qt not found; set QT_QMAKE_EXECUTABLE to
> "/usr/local/packages/Trolltech/4.4.0/bin/qmake" then entered "c" 5) See
> same warning, entered "e" then "g"
> 6) CMakeCache.txt contains this line (I broke into two at the "="):
>
> CMakeCache.txt:QT_QMAKE_EXECUTABLE:FILEPATH
> =/usr/local/packages/Trolltech/4.4.0/bin/qmake-NOTFOUND
>
> 7) Enter "ccmake ." and see that Qt is again marked as not found.
>
> I made very, very sure I entered the correct path to qmake, and that I have
> permission to read those files.
>
> Kent
>
> clinton at elemtech.com wrote:
> > Does a simple CMakeLists.txt file with one line
> > find_package(Qt4)
> > work?
> >
> > Clint
> >
> > On Friday 13 June 2008 10:14:57 am Kent Eschenberg wrote:
> >> ccmake 2.6.0 fails to compile the CVS version with the message that it
> >> cannot find Qt 4.3.0 or greater.
> >>
> >> However, I have explicitly entered the path to qmake for 4.4.0. Each
> >> time I enter "c" the above message is shown again and the path I set is
> >> changed back to "UNKNOWN".
> >>
> >> This is the initial build so there is only the one Qt-releated cmake
> >> variable.
> >>
> >> System: SGI Altix 4700, Itanium2 ia64
> >> OS: enhanced version of SuSE
> >> Compiler: GNU
> >>
> >> Thanks!
> >> Kent
> >> Pittsburgh Supercomputing Center




More information about the ParaView mailing list