[Insight-users] installation problem

imho imho@skynet.be
Thu, 21 Nov 2002 19:39:21 +0100


the itk_binary_path points to the itk main folder.
Do I have to go further? (lib builded in itk\bin\debug )
If I do that cmake don't find the useitk.cmake

Thanks


Julien Jomier wrote:

> I would say first problem with Qt solved.
>
> Well it seems that now the example couldn't find the ITK include path.
> Could you check if the ITK_BINARY_PATH is pointing to the right
> directory
> when you run CMake.
> If that doesn't work could you send us the CMakeCache.txt
>
> Thanks
>
> 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 1:03 PM
> >To: itk
> >Subject: Re: [Insight-users] installation problem
> >
> >
> >yes, and now I have this :
> >
> >C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\bin\..
> >/itkQtAdaptor.h(21)
> >: fatal error C1083: Cannot open include file: 'itkObject.h': No such
> >file or directory
> >moc_itkQtLightIndicator.cxx
> >C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\bin\..
> >/itkQtLightIndicator.h(3)
> >: fatal error C1083: Cannot open include file:
> >'itkCommand.h': No such
> >file or directory
> >itkQtProgressBar.cxx
> >C:\internet\VTK\ITK\InsightToolkit-1.0.0\Examples\QtITK\itkQtP
> >rogressBar.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(24) :
> >fatal error C1083: Cannot open include file: 'itkImage.h': No
> >such file
> >or directory
> >
> >one first problem solved?
> >Do I have to do something similar with itk?
> >
> >Thanks
> >
> >
> >Julien Jomier wrote:
> >
> >
> >>Did you try to replace the two lines in the CMakeLists.txt ?
> >>
> >>
> >>
> >>>-----Original Message-----
> >>>From: imho [mailto:imho@skynet.be]
> >>>Sent: Thursday, November 21, 2002 12:52 PM
> >>>To: Julien Jomier
> >>>Cc: 'Luis Ibanez'; insight-users@public.kitware.com
> >>>Subject: Re: [Insight-users] installation problem
> >>>
> >>>
> >>>Hi Julien,
> >>>I have cmake version 1.4 patch 5 and qt 2.3
> >>>What should I do so?
> >>>
> >>>Thanks for helping
> >>>
> >>>Julien Jomier wrote:
> >>>
> >>>
> >>>
> >>>>Hi imho,
> >>>>
> >>>>What version of CMake are you using ?
> >>>>
> >>>>The thing is that ${QT_INCLUDE_PATH}
> >>>>has been replaced by ${QT_INCLUDE_DIR}
> >>>>in the latest version of CMake (cvs one)
> >>>>
> >>>>Try to replace
> >>>>
> >>>>INCLUDE_DIRECTORIES(
> >>>>${QT_INCLUDE_DIR}
> >>>>)
> >>>>
> >>>>by
> >>>>
> >>>>INCLUDE_DIRECTORIES(
> >>>>${QT_INCLUDE_PATH}
> >>>>)
> >>>>
> >>>>in the CMakeLists.txt
> >>>>
> >>>>Could you also tell us what version of Qt you are using,
> >
> >because I
> >
> >>>>think this example was tested only with Qt3 and I'm having
> >>>
> >>>compilation
> >>>
> >>>
> >>>>problems with Qt2.3 NC.
> >>>>
> >>>>Let us know if you are having the same problem.
> >>>>
> >>>>Thanks for reporting this
> >>>>
> >>>>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 11:40 AM
> >>>>>To: Luis Ibanez
> >>>>>Cc: insight-users@public.kitware.com
> >>>>>Subject: Re: [Insight-users] installation problem
> >>>>>
> >>>>>
> >>>>>
> >>>>>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\itkQtP
> >>>>>rogressBar.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
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>_______________________________________________
> >>>>>Insight-users mailing list Insight-users@public.kitware.com
> >>>>>http://public.kitware.com/mailman/listinfo/ins> ight-users
> >>>>>
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>Insight-users mailing list
> >>>>Insight-users@public.kitware.com
> >>>>http://public.kitware.com/mailman/listinfo/insight-users
> >>>>
> >>>>
> >>>
> >>
> >>
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-users
> >
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>
>