[ITK] problems installing itk-gray

Matt McCormick matt.mccormick at kitware.com
Mon Feb 23 13:34:30 EST 2015


Hi Jessica,

The referenced code uses old versions of VTK, ITK, OpenGL, and
ITK-SNAP, and it will take some work to get it upgraded.

You may want to try the latest version of ITK-SNAP [1], which is now
based on Qt instead of FLTK, and contains classification/segmentation
code that may already provide the capabilities desired from ItkGray.

Otherwise, the ITK Software Guide [2] contains guidance on how to get
started programming with ITK.

HTH,
Matt

[1] http://www.itksnap.org/pmwiki/pmwiki.php

[2] http://itk.org/ITK/resources/software.html

On Mon, Feb 23, 2015 at 4:49 AM, Jessica Bulthé
<Jessica.Bulthe at ppw.kuleuven.be> wrote:
> Dear mailing list members,
>
> For a couple of days I have been trying to install ITK-Gray on my computer
> (Ubuntu 12.04).
>
> I have downloaded the ITKGray 64-bit folder from
> http://white.stanford.edu/newlm/index.php/ItkGray and unzipped it. In the
> folder there is only “ProgramData” and “itkgray” (which is an executable
> file). If I try to run the executable file by following code:
>
> $ sudo chmod +x ./itkgray
> $ ./itkgray
>
> I get the following error:
>
> *************************************
> ITK-SNAP: Segmentation Fault!
> BACKTRACE:
> ./itkgray(_Z24SegmentationFaultHandleri+0x5a)[0x626f4a]
> /lib/x86_64-linux-gnu/libc.so.6(+0x36150)[0x7fd43e929150]
> ./itkgray(_ZN16GenericImageData14GetImageOriginEv+0x1f)[0x77a43f]
> ./itkgray(_ZN18UserInterfaceLogic17GlobalIdleHandlerEPv+0xaf)[0x62b2ff]
> ./itkgray(_ZN2Fl4waitEd+0xf1)[0x967031]
> ./itkgray(_ZN2Fl5checkEv+0xd)[0x9672dd]
> ./itkgray(_ZN18UserInterfaceLogic16ShowSplashScreenEv+0x53)[0x628a93]
> ./itkgray(main+0x304)[0x627c74]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fd43e91476d]
> ./itkgray[0x626cf9]
> *************************************
>
> So, I tried the alternative version and download the getgray.sh from
> http://white.stanford.edu/newlm/index.php/ItkGray. However, if I try to run
> this file by this code:
>
> $ sudo chmod +x ./getgray.sh
> $ ./getgray.sh
>
> I get the following output:
>
> PLEASE READ THE COMMENTS AT THE TOP OF THIS SCRIPT!!!
> Preparing to build itk-gray. This will take 1-2 hours and 500MB!
> Log messages are placed into /home/… /itkgray_build/buildlog
> Checking out VTK (Release VTK-5-4-2) from CVS
> Building VTK
> ./getgray.sh: line 179: /home/… /itkgray_build/cmake/install/bin/cmake: No
> such file or directory
> make: *** No targets specified and no makefile found.  Stop.
> VTK library /home/…/itkgray_build/vtk/bingcc/bin/libvtkCommon.a failed to
> build!
>
> I have correctly installed VTK, cmake, ITK, opengl, and ITK-snap, however, I
> can’t get ITK-gray working.
>
> Can anyone please help me out?
>
> Best and thanks,
> Jessica
>
>
>
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>


More information about the Community mailing list