[Insight-users] installation problem

Julien Jomier jjomier@cs.unc.edu
Thu, 21 Nov 2002 12:42:49 -0500


Imho,

You should use qt_mt230nc.lib

Julien

> -----Original Message-----
> From: insight-users-admin@public.kitware.com 
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of imho
> Sent: Thursday, November 21, 2002 12:37 PM
> To: Luis Ibanez
> Cc: insight-users@public.kitware.com
> Subject: Re: [Insight-users] installation problem
> 
> 
> Hi Luis,
> that's exactly what I have done, but for the QT_QT_LIBRARY I 
> did'nt know 
> wich one choose (qt_mt230nc.lib, qtmain.lib, qutil.lib and 
> vtk_qt.lib) 
> so I've try with the 2 firsts, but that didn't work...
> I've only one version of qt installed on my win 2k
> 
> with the example "imageviewer" I have the same type of problem :
> 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\ImageViewer\
> itkImageViewer.cxx(19) 
> : fatal error C1083: Cannot open include file: 'itkImage.h': No such 
> file or directory
> 
> and there is no parameters that I've changed in cmake
> 
> Do I have to do something more in visual c++ before building, 
> once the 
> workspace is generated by cmake?
> 
> 
> maybe should I try with linux :/
> 
> thanks for helping
> 
> Luis Ibanez wrote:
> 
> > Hi Imho,
> >
> >
> > It is likely that the QT_INCLUDE_DIR variable is
> > not being correctly configured when your run CMake.
> >
> >
> > The QtITK example application is intended to be
> > built out of the ITK source tree.
> >
> >
> >
> > You should run CMake for QtITK and do the following:
> >
> > 1) select a binary directory where you
> >    want the application to be built.
> >
> > 2) select the source directory where you
> >    put the sources of QtITK.
> >
> > 3) select the Binary directory where you built ITK
> >
> > 4) verify that Qt components have been correctly
> >    localized. In particular you have to verify the
> >    following CMake variables:
> >
> >    QT_INCLUDE_DIR
> >    QT_MOC_EXECUTABLE
> >    QT_QT_LIBRARY
> >    QT_UIC_EXECUTABLE
> >
> >    These variables are marked as "Advanced" so you
> >    should first check the "advanded" box on the top
> >    right of CMake's gui.
> >
> >    Please make sure that all the components are
> >    pointing to the same version of Qt distribution.
> >    (e.g. not mix headers of Qt 2.3 with libraries
> >     of Qt 3.1).
> >
> >
> > Configure with CMake until no new options appear,
> > and generate the VC++ project.
> >
> >
> > Please let us know if you find any problems,
> >
> >
> >   Thanks
> >
> >
> >     Luis
> >
> >
> > =====================================================
> >
> > imho wrote:
> >
> > >
> > > Hi,
> > > I've tried to compile the examples with the workspace from cmake, 
> > > but I always have errors, like for example with qtitk :
> > >
> > > 
> > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\bin\../itkQtAd
> > aptor.h(20)
> >
> > > : fatal error C1083: Cannot open include file: 
> 'qobject.h': No such 
> > > file or directory moc_itkQtLightIndicator.cxx
> > > 
> > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\bin\../itkQtLi
> > ghtIndicator.h(2)
> >
> > > : fatal error C1083: Cannot open include file: 
> 'qbutton.h': No such 
> > > file or directory itkQtProgressBar.cxx
> > > 
> > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\itkQtProgressB
> > ar.cxx(20)
> >
> > > : fatal error C1083: Cannot open include file: 
> 'itkProcessObject.h': 
> > > No such file or directory qtITK.cxx
> > > 
> C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\qtITK.cxx(20)
> > > : fatal error C1083: Cannot open include file: 
> 'qapplication.h': No
> > > such file or directory
> > >
> > > but I have noticed the paths with cmake, so I don't understand... 
> > > (the .h are in the include qt repertory, mentioned with cmake)
> > >
> > > Thank you for any helping
> > >
> > >
> > >
> >
> >
> >
> >
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com 
> http://public.kitware.com/mailman/listinfo/ins> ight-users
>