[Insight-users] installation problem
imho
imho@skynet.be
Thu, 21 Nov 2002 17:39:44 +0100
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
imho wrote:
> Hi,
> thanks a lot for your answers, I'll follow your advices and let you know
> if I progress
>
>
> Luis Ibanez wrote:
>
> >
> > Hi imho,
> >
> >
> > You certainly can configure manually your project
> > from the IDE of VisualC++ but...
> > it will be pretty painful to get it right.
> >
> > Using CMake is the most efficient way to do it.
> >
> > One of the remarkable reasons for using CMake to
> > configure your project is that otherwise it will
> > result almost impossible to move your project to
> > another computer in the future since all the
> > paths are handwriten in the VC++ GUI. You may
> > have already verified how fun it is to browse on
> > the tiny textbox in Project/Settings looking for
> > a directory among a list of 20 or 30 others... :-)
> >
> > CMake will use your CMakeLists.txt file and generate
> > a consistent .dsw workspace for VisualC++. ( and
> > remember to refrain yourself for making any changes
> > in this workspace. since it is generated, any changes
> > should be made on the CMakeLists.txt file and then
> > rerun CMake)
> >
> > ----
> >
> > If you are combining VTK + Qt + ITK there is
> > even more important to use CMake. There are
> > example applications in the Insight/Applications
> > directory that illustrate how to combine easily
> > ITK with Qt and with VTK.
> >
> > You may want to look at
> >
> > Insight/Applications/QtITK (for ITK+Qt)
> >
> > and any of the following for ITK + VTK
> >
> > Insight/Applications/ThinPlatesSplines
> > Insight/Applications/ThresholdSegmentationLevelSet
> >
> >
> >
> > Please let us know if you have further questions.
> >
> >
> > Thanks,
> >
> >
> > Luis
> >
> >
> > =====================================================
> >
> > imho wrote:
> >
> > >
> > > Hi,
> > > I'm installing the 1.0 version, and I used the pdf step to step, but
> > > I've try to compile my project under visual c++. Is it possible? Or
> > do I
> > > have to use cmake?
> > >
> > > Thanks
> > >
> > > PS : to combine QT + VTK + ITK isn't a piece of cake ;)
> > >
> > >
> >
> >
> >
> >
> >
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>
>