[Insight-users] installation problem
imho
imho@skynet.be
Thu, 21 Nov 2002 18:37:10 +0100
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\../itkQtAdaptor.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\../itkQtLightIndicator.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\itkQtProgressBar.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
> >
> >
> >
>
>
>
>