[Insight-users] itk release and debug install both on linux system

michiel mentink michael.mentink at st-hughs.ox.ac.uk
Tue Mar 30 11:40:51 EDT 2010


Hi Luis,

sorry for not mentioning that, but I'm indeed hitting 'g' too.
As I said, I've managed to get ITK installed in the debug directory, just
not by
running ccmake in the debug directory itself.

My next action is to find out if I can include that directory in the
CMakeLists.txt file.

cheers, Michael

On Tue, Mar 30, 2010 at 3:46 PM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> Hi Michiel,
>
> After you hit "c" for configure,
> did you also hit "g" for "generate"  ?
>
> It looks like you are missing that last step
> of doing "generate".
>
> ---
>
> FYI: ncurses is the text-based GUI library that
> ccmake uses by default in Linux/Cygwin.
> If you saw a menu similar to the image shown in:
> http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img19.html
> then you  are using ccmake with the ncurses
> interface.
>
> --
>
> You may want to follow again the step-by-step
> instructions of the tutorial:
> http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf
>
>
>
>      Regards,
>
>
>            Luis
>
>
> -----------------------------------------------------
> On Tue, Mar 30, 2010 at 6:02 AM, michiel mentink
> <michael.mentink at st-hughs.ox.ac.uk> wrote:
> >
> > Hi Luis,
> >
> > 1) I'm not shure what you mean with ncurses.
> >     I get the ccmake menu, which is interactive enough, it shows
> > "configuring" with an
> >     increasing percentage when I hit 'c'.
> >
> > 2) No error messages
> >
> > 3) no makefile, that's why I can't do make
> >
> > In fact, a complete hd search revealed that no CMakeOutput.log is created
> > anywhere.
> > Also, no CMakeError.log file is created.
> > Even when I do cmake, make and make install from /src dir, the
> > CMakeOutput.log and
> > CMakeError.log files are not changed, only the cmake.check_cache
> >
> > However, everything seems to be installed in ITK_bin/debug now.
> >
> > Now I will try if I can convince a project to use the ITK installed in
> the
> > ITK_bin/debug
> > directory.
> >
> > cheers, Michael
> >
> >
> >
> >
> >
> > On Mon, Mar 29, 2010 at 8:28 PM, Luis Ibanez <luis.ibanez at kitware.com>
> > wrote:
> >>
> >> Hi Michiel,
> >>
> >> Something is going wrong during the configuration.
> >>
> >>
> >> Please check:
> >>
> >> 1) Did you get the interactive ncurses menu from
> >>    ccmake  ?
> >>
> >> 2) Did ccmake show you any error or warning
> >>    messages ?
> >>
> >>    If so, please post them to the list.
> >>
> >>
> >> 3) Is there a "Makefile" in this directory ?
> >>
> >>           /MMprogs/ITK_bin/debug
> >>
> >> 4) Please look at the files:
> >>
> >> /MMprogs/ITK_bin/debug/CMakeFiles/CMakeOutput.log
> >> /MMprogs/ITK_bin/debug/CMakeFiles/CMakeError.log
> >>
> >>
> >>     They may contain hints of what
> >>     the real problem is.
> >>
> >> --
> >>
> >> BTW: your install directory shouldn't be the same
> >> directory in which you are building ITK. (Although
> >> it is unlikely that this is the source of the build
> >> problem, you should still replace that directory with
> >> another one).
> >>
> >>
> >>
> >>    Regards,
> >>
> >>
> >>            Luis
> >>
> >>
> >> ------------------------------------------------------------------
> >> On Mon, Mar 29, 2010 at 12:32 PM, michiel mentink
> >> <michael.mentink at st-hughs.ox.ac.uk> wrote:
> >> > Dear Luis,
> >> >
> >> > this is what I do:
> >> >
> >> > (in this case, $HOME = /MMprogs)
> >> >
> >> > cd $HOME
> >> > mkdir ITK_bin
> >> > mkdir ITK_bin/debug
> >> > cd ITK_bin/debug
> >> > ccmake $HOME/src/ITK_src
> >> > (set CMAKE_BUILD_TYPE to Debug, install directory to
> $HOME/ITK_bin/debug
> >> > )
> >> > hit "c" to config
> >> > hit "g" to generate
> >> > make
> >> >
> >> > ... and then nothing to make..
> >> >
> >> > compuser:/MMprogs/ITK_bin/debug$ make
> >> > make: *** No targets specified and no makefile found. Stop.
> >> >
> >> > Did I do something wrong?
> >> >
> >> > Michael
> >> >
> >> >
> >> > On Tue, Mar 16, 2010 at 6:52 PM, Luis Ibanez <luis.ibanez at kitware.com
> >
> >> > wrote:
> >> >>
> >> >> Hi Michiel,
> >> >>
> >> >> Here is how I do this in Linux:
> >> >>
> >> >> cd  $HOME
> >> >> mkdir bin
> >> >> mkdir bin/Insight/
> >> >> mkdir bin/Insight/Debug
> >> >> cd bin/Insight/Debug
> >> >> ccmake  $HOME/src/Insight
> >> >> (set CMAKE_BUILD_TYPE to Debug)
> >> >> hit "c" to configure
> >> >> hit "g" to generate
> >> >> make
> >> >> cd ..
> >> >> mkdir Release
> >> >> cd Release
> >> >> ccmake   $HOME/src/Insight
> >> >> (set CMAKE_BUILD_TYPE to Release)
> >> >> hit "c" to configure
> >> >> hit "g" to generate
> >> >> make
> >> >>
> >> >>
> >> >> In projects that use ITK,
> >> >> I set the CMake variable ITK_DIR to:
> >> >>
> >> >> $HOME/bin/Insight/Debug
> >> >>
> >> >> or
> >> >>
> >> >> $HOME/bin/Insight/Release
> >> >>
> >> >>
> >> >> depending on whether I want to
> >> >> track the debugging information
> >> >> back to ITK or not.
> >> >>
> >> >>
> >> >>
> >> >>     Regards,
> >> >>
> >> >>
> >> >>           Luis
> >> >>
> >> >>
> >> >> ---------------------------------------------------------
> >> >> On Mon, Mar 8, 2010 at 10:12 AM, michiel mentink
> >> >> <michael.mentink at st-hughs.ox.ac.uk> wrote:
> >> >> >
> >> >> > I'd like to have two ITK versions on my system at the same time,
> >> >> > Release
> >> >> > and
> >> >> > Debug.
> >> >> > That way I can debug a program when I'm developing and run the
> >> >> > program
> >> >> > in
> >> >> > release when I
> >> >> > want speed.
> >> >> >
> >> >> > Does anyone know how to do that?
> >> >> >
> >> >> > Now I use FindITK() in CMakeLists.txt, but I guess I manually have
> to
> >> >> > point
> >> >> > somewhere else?
> >> >> >
> >> >> > cheers,
> >> >> >
> >> >> > Michael
> >> >> >
> >> >> > _____________________________________
> >> >> > Powered by www.kitware.com
> >> >> >
> >> >> > Visit other Kitware open-source projects at
> >> >> > http://www.kitware.com/opensource/opensource.html
> >> >> >
> >> >> > Kitware offers ITK Training Courses, for more information visit:
> >> >> > http://www.kitware.com/products/protraining.html
> >> >> >
> >> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >> >
> >> >> > Follow this link to subscribe/unsubscribe:
> >> >> > http://www.itk.org/mailman/listinfo/insight-users
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100330/3e3a58e7/attachment-0001.htm>


More information about the Insight-users mailing list