[Insight-users] Problems with Application [Insight Segmentation Editor Tool]

p3rdigao p3rdigao@netcabo.pt
Tue, 29 Apr 2003 15:41:24 +0100


Hi...thanks.
Sorry my passion....but i  am an italian portuguese hibrid ;)

The first problem is in CMAke that gives an error in cmakelist.txt in the
following dirs:

InsightApplications-1.2.0\vtkITK\common\CMakelist.txt and
InsightApplications-1.2.0\SegmentationEditor\common\CMakelist.txt

the error is VTK_WRAP_TCL2(....) command not found....or something like
this....

as a possible solution....i remove the 2...

wainting an answer about my procedure. if it was good or bad...

acording with the answer that you will give-me...i will send following
emails

thanks a lot
best regards



----- Original Message ----- 
From: "Luis Ibanez" <luis.ibanez@kitware.com>
To: "p3rdigao" <p3rdigao@netcabo.pt>
Cc: <Insight-users@public.kitware.com>
Sent: Tuesday, April 29, 2003 2:14 PM
Subject: Re: [Insight-users] Problems with Application [Insight Segmentation
Editor Tool]


>
> Hi P3rdigao,
>
> We will be glad to help you build the SegmentationEditor
> application if you give us a more technical (less passionate)
> description of your problem.
>
>
> 1) When you say that
>
>     "it is a total crash"
>
>    do you mean:
>
>    a) CMake crashes
>    b) VC++ crashes at compile time
>    c) CMake generate error messages
>    d) VC++ generate error messages
>
> If (c) or (d) is the case, it will be very nice on your
> part to share the error messages with us, so we can have
> an idea of the real complications you are experiencing.
> Please post to the list the exact text of any error message
> you are getting.
>
>
> 2) The compiler seems to be having trouble finding
>     ITKAlgorithms.lib.
>
>     a) When you configured InsightApplications did you
>        specify the binary directory where ITK (the base
>        library) was built ?
>
>     b) Did you verified that the library file is in the
>        "bin" sub-directory of this ITK binary directory ?
>
>     c) Could you please post to the list the CMakeCache.txt
>        file generated by CMake in the binary directory of
>        InsightApplications.
>
>
> 3) Did you build VTK with Tcl wrapping enabled ?
>
>
>
> Thanks
>
>
>    Luis
>
>
>
> ----------------
> p3rdigao wrote:
> > Please tell HOW i build the Segmentation Editor Application!
> > What am i doing wrong....
> >
> > The ITK is built fine.....also VTK.....
> > BUT when i reach the ITK applications with CMAKE.....its a total
> > crash!!!!!!!!!!!!!!!
> >
> > for instante in compile time under the .Net Studio.....it tells me that
> > does´t reach ITKAlgorithms.lib  and so on....
> >
> > In cmake i put the source dir c:\Insight-applications1.2.0\
> > and the binary dir                  c:\Insight-applications1.2.0B
> >
> > so what´s the problem??????
> >
> > also if i instead use InsightToolkit1.0.0. that have the segmention
editor
> > in the examples dir.....The error in Cmake is that cannot find
usevtk.cmake
> > file!!!!
> >
> > at this fase i am already crawling by the wall!!!!!!!!!!!!!!
> >
> > regards
> > p3rdigao
> >
> >
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Luis Ibanez" <luis.ibanez@kitware.com>
> > To: "p3rdigao" <p3rdigao@civil.ist.utl.pt>
> > Cc: <Insight-users@public.kitware.com>; "Joshua Cates"
<cates@sci.utah.edu>
> > Sent: Saturday, April 12, 2003 7:45 AM
> > Subject: Re: [Insight-users] Problems with Application [Insight
Segmentation
> > Editor Tool]
> >
> >
> >
> >>Hi p3rdigao
> >>
> >>The README.txt file in this directory is a bit
> >>outdated. Some of the comment no longer apply.
> >>
> >>Here are somme comments about your problems:
> >>
> >>1) Please make sure the your VTK is built with TCL
> >>    wrapping enabled.
> >>
> >>2) The Applications were previously part of the
> >>    basic ITK source tree, that's why the script
> >>    directory has a path: Insight/Applications....
> >>    now you should juse "InsightApplications"
> >>
> >>3) This application is doing the following
> >>
> >>    a) wrapping ITK classes as VTK filters
> >>    b) wrapping the VTK filters into Tcl
> >>    c) creating an extended Tcl shell with
> >>       access to the new wrapped VTK filters
> >>
> >>   the command line that you found is invoking
> >>   the extended Tcl shell, asking it to run
> >>   a Tcl scripts that uses the wrappped VTK{ITK}
> >>   classes.
> >>
> >>
> >>
> >>Regards
> >>
> >>
> >>
> >>    Luis
> >>
> >>
> >>--------------------------
> >>p3rdigao wrote:
> >>
> >>>Hi,
> >>> in the README.txt file of this application says:
> >>>"1. To build this application:
> >>>
> >>>* You will need a recent version of VTK installed on your machine.  I
> >>>suggest
> >>>using the anonymous CVS checkout.  Earlier versions are not guaranteed
> >>
> > to
> >
> >>>be supported because the API for event binding on the VTK Tk widget
> >>
> > classes
> >
> >>>has recently undergone a major change.
> >>>
> >>>In your VTK build, make sure you include the Patented classes and Tcl
> >>>wrapping.
> >>>You will need the Wrapping/Tcl directories from the VTK source tree.
> >>>
> >>>* When you configure ITK with CMake, turn on the following options,
> >>
> > which
> >
> >>>will cause this application to build:
> >>>
> >>>   BUILD_EXAMPLES
> >>>   USE_VTK
> >>>   SEGMENTER_WRAP_TCL
> >>>   VTKITK_WRAP_TCL
> >>>
> >>>* You may need to provide CMake with the VTK_BINARY_PATH,
> >>>  VTK_INSTALL_PATH
> >>>
> >>>
> >>>2. To run this application:
> >>>
> >>> cd INSIGHT_SOURCE/Applications/SegmentationEditor/Scripts
> >>> INSIGHT_BUILD/bin/WSTITK Main.tcl
> >>>
> >>> where "INSIGHT_SOURCE" is the path to your Insight source tree and
> >>> "INSIGHT_BUILD" is the path to your Insight build.
> >>>
> >>>
> >>>3. The rest of the documentation you will need is displayed by the
> >>
> > program
> >
> >>>itself.  Also see the documentation in the Applications section of the
> >>>www.itk.org website.
> >>>
> >>>
> >>>4. Report any problems to the Insight-users list (see www.itk.org).
> >>>
> >>>
> >>>KNOWN BUGS"
> >>>
> >>>
> >>>My problems are:
> >>>
> >>>1) The variables SEGMENTER_WRAP_TCL, USE_ITK  and  VTKITK_WRAP_TCL do
> >>
> > not
> >
> >>>appear in CMAKE.
> >>>    What should i do to make them appear?
> >>>
> >>>2) I can not understand the following instruction....above [2.]
> >>>
> >>>   "cd INSIGHT_SOURCE/Applications/SegmentationEditor/Scripts
> >>>    INSIGHT_BUILD/bin/WSTITK Main.tcl "
> >>>
> >>>    What is this?
> >>>
> >>>
> >>>Note: I am using CMAKE 1.6.6, vtk 4.2.1., and ITK 1.2.0
> >>>
> >>>Thanks for your attention
> >>>best regards
> >>>p3rdigao
> >>>
> >>>
> >>
> >>
> >>
> >>_______________________________________________
> >>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
>