[Insight-users] Probably a Newbie question regarding ITK Ubuntu Package Manager

Steve M. Robbins steve at sumost.ca
Tue Apr 13 21:11:53 EDT 2010


On Tue, Apr 13, 2010 at 04:54:35PM +0100, Luis Lisboa wrote:
> Greetings
> 
> I have just installed the following packages from my Ubuntu Package Manager:
> insighttoolkit3-examples (3.14.0-2ubuntu1)
> libinsighttoolkit3-dev (3.14.0-2ubuntu1)
> libinsighttoolkit3.14 (3.14.0-2ubuntu1)
> python-insighttoolkit3 (3.14.0-2ubuntu1)
> tcl8.4-insighttoolkit3 (3.14.0-2ubuntu1)
> 
> I know this is not the latest/ultimate version but I just want to run a few
> tests (not a C++ programmer). But first I would like to know:
> 1- How can I know if everything was installed properly (is there any test)

Building & running the examples is a reasonably good test...


> 2- Since I did not used cmake to install ITK, how can I use the examples
> codes/files?

Here's what I do:

  cp -a /usr/share/doc/insighttoolkit3-examples/examples/ /tmp
  cd /tmp/examples
  find . -name '*gz' |xargs gunzip

For C++ examples:
  cmake-gui .
  make

For tcl examples:
  itkwish bla.tcl (e.g. itkwish IO/DicomSliceRead.tcl)

For python examples:
  python foo.py

etc.

Cheers,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100413/6ec33e16/attachment.pgp>


More information about the Insight-users mailing list