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