[Ctk-developers] getting things to work in windows

Mark Roden mmroden at gmail.com
Wed Jan 12 19:13:26 EST 2011


Changing the install directory to d:/qt did not work.  I don't have
any space left on my c: drive; is that the only way to get qt and ctk
to work well together, to have it be on the root drive?

Thanks,
Mark

On Wed, Jan 12, 2011 at 2:57 PM, Mark Roden <mmroden at gmail.com> wrote:
> OK, I'll check it out.
>
> Is that a bug in the cmake module then?  I feel like there should be
> some place where I can specify, exactly, where qt is.
>
> Thanks,
> Mark
>
> On Wed, Jan 12, 2011 at 2:53 PM, Dean Inglis <dean.inglis at camris.ca> wrote:
>> Hi Mark,
>>
>> I had similar issues when building VTK with QT GUI support.
>> Try installing Qt ( qt-win-opensource-4.7.1-vs2008.exe)
>> to just D:/Qt as root instead of
>> D:/Qt/2010.05, add D:/Qt/bin and D:/Qt/qt/bin to
>> your path environment variable.  I installed to C:/Qt
>> even though all my development is done on a D: drive
>> and those issues issues have since resolved.
>>
>> Dean
>>
>>
>> ----- Original Message ----- From: "Mark Roden" <mmroden at gmail.com>
>> To: <ctk-developers at commontk.org>
>> Cc: "Alexandre Gouaillard" <agouaillard at gmail.com>
>> Sent: Wednesday, January 12, 2011 5:37 PM
>> Subject: [Ctk-developers] getting things to work in windows
>>
>>
>>> 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
>>> _______________________________________________
>>> Ctk-developers mailing list
>>> Ctk-developers at commontk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>



More information about the Ctk-developers mailing list