[Insight-users] how to cmake cvs version for DeformableRegistration7 and DeformableRegistration8

Jim itkvtk at gmail.com
Mon Dec 27 10:26:58 EST 2004


Hi Luis,

I deleted the Insight folder and did:
cvs -d :pserver:anoncvs at www.itk.org:/cvsroot/Insight co Insight
cvs -d :pserver:anoncvs at www.itk.org:/cvsroot/Insight  co InsightApplications
No complain from cMake and VC7. Thanks.

Jim

On Mon, 27 Dec 2004 09:00:45 -0500, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> 
> Hi Jim,
> 
> Yes, delete both your binary and source directories of ITK,
> and start from scratch following the instructions in the
> tutorial:
> 
> http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img0.html
> 
> for instructions on how to download the CVS version, please
> look at the Download page:
> 
>          http://www.itk.org/HTML/Download.php
> 
> 
> Regards,
> 
>    Luis
> 
> --------------
> Jim wrote:
> 
> > Hi Luis, Bill and Julien,
> >
> > I have tried all but Julien's "full CVS updated version". What steps
> > should I do? Delete the whole Insight and start new? Thanks.
> >
> > Jim
> >
> > On Sun, 26 Dec 2004 14:23:35 -0500, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> >
> >>Hi Jim,
> >>
> >>Try using the "-A" option when updating.
> >>
> >>Like:
> >>
> >>           cvs  update  -dPA
> >>
> >>In any case,
> >>cvs-updating selected files is usually a bad idea.
> >>
> >>You will be better off if you follow Julien's
> >>suggestion of getting a full CVS updated version.
> >>
> >>Regards,
> >>
> >>     Luis
> >>
> >>----------------
> >>Jim wrote:
> >>
> >>>Hi Julien,
> >>>
> >>>This is even more strange. I rename CMakeLists.txt both in Insight and
> >>>Insight\Examples then do a cvs. The CMakeLists.txt in Insight now has
> >>>the same date as the lastest revision in cvsweb but the CMakeLists.txt
> >>>in the Insight/Example has a date dosen't match any of the revision
> >>>date in cvsweb (still same as version 1.8). Any idea what might be the
> >>>cause?
> >>>
> >>>Insight
> >>>12/07/2004  04:07 PM            17,188 CMakeLists.txt
> >>>08/13/2004  07:02 PM            16,146 CMakeLists.txt.old
> >>>Insight\Examples
> >>>06/27/2004  08:00 AM               144 CMakeLists.txt
> >>>06/27/2004  10:00 AM               144 CMakeLists.txt.old
> >>>
> >>>Thanks.
> >>>
> >>>Jim
> >>>
> >>>On Sat, 25 Dec 2004 12:32:15 -0500, Julien Jomier <jjomier at cs.unc.edu> wrote:
> >>>
> >>>
> >>>>Hi Jim,
> >>>>
> >>>>This is strange. If you delete the CMakeLists.txt and do a cvs update
> >>>>are you still gettting the same revision?
> >>>>
> >>>>Anyways, you can add these lines to the CMakeLists.txt:
> >>>>
> >>>>ADD_EXECUTABLE(DeformableRegistration7 DeformableRegistration7.cxx )
> >>>>TARGET_LINK_LIBRARIES(DeformableRegistration7 ITKNumerics ITKIO)
> >>>>
> >>>>ADD_EXECUTABLE(DeformableRegistration8 DeformableRegistration8.cxx )
> >>>>TARGET_LINK_LIBRARIES(DeformableRegistration8 ITKNumerics ITKIO)
> >>>>
> >>>>Moreover, you can always get the cvs version of the files via cvsweb:
> >>>>http://www.itk.org/cgi-bin/viewcvs.cgi/Examples/Registration/CMakeLists.txt?rev=1.60&root=Insight&view=log
> >>>>
> >>>>Hope that helps,
> >>>>
> >>>>Julien
> >>>>
> >>>>Jim wrote:
> >>>>
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>Run cMake after cvs update, the itk.sln still same as version 1.8.
> >>>>>There is DeformableRegistration7.cxx and DeformableRegistration8.cxx
> >>>>>in the Example\registration folder but the CMakeLists.txt in Insight
> >>>>>still dated 8/13/2004 (version 1.8).
> >>>>>
> >>>>>My question is how to get the cvs cversion of CMakeLists.txt or how to
> >>>>>modify the CMakeLists.txt so I can get DeformableRegistration7 and
> >>>>>DeformableRegistration8 compiled?
> >>>>>
> >>>>>Thanks
> >>>>>
> >>>>>Jim
> >>>>>_______________________________________________
> >>>>>Insight-users mailing list
> >>>>>Insight-users at itk.org
> >>>>>http://www.itk.org/mailman/listinfo/insight-users
> >>>>
> >>>_______________________________________________
> >>>Insight-users mailing list
> >>>Insight-users at itk.org
> >>>http://www.itk.org/mailman/listinfo/insight-users
> >>>
> >>>
> >>
> >>
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
> 
>


More information about the Insight-users mailing list