[Ctk-developers] getting things to work in windows
Mark Roden
mmroden at gmail.com
Wed Jan 12 22:37:11 UTC 2011
Hi all,
I'm a developer who's working on gdcm/itk/vtk, and now am trying to
familiarize myself with ctk. I apologize if this email should go to a
'users' list instead of a developers list, but google finds too many
instances of 'Christ The King' for ctk to be helpful. Also, the list
that appears here doesn't contain a users version of the list (for itk
or vtk either, for that matter):
http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-users
Anyway, I can't get ctk to build on my machine (Windows 7 x64,
vs2008). I've installed Qt 2010.5, lgpl edition, including mingw.
Trying to build ctk from the git head produces the following error,
regardless of using 32bit or 64 bit compilers:
CMake Error at CMake/ctkMacroSetupQt.cmake:55 (MESSAGE):
error: Qt4 was not found on your system. You probably need to set the
QT_QMAKE_EXECUTABLE variable
Call Stack (most recent call first):
CMakeLists.txt:280 (ctkMacroSetupQt)
I've found the qmake exe, it's located in
D:/Qt/2010.05/qt/qmake/qmake.exe, but then the cmake file reruns and
changes that value to D:/Qt/2010.05/qt/qmake/qmake.exe-NOTFOUND, which
is clearly incorrect. Changing that value by hand also produces the
following warning:
Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as
C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt/lib
Warning: C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt/lib
does NOT exist, Qt must NOT be installed correctly.
I have no qt-greenhouse directory in the C: drive, so I'm not sure
where those values are coming from.
Thanks for any help,
Mark
More information about the Ctk-developers
mailing list