[Insight-users] Compiling InsightApplications
Luis Ibanez
luis.ibanez at kitware.com
Tue, 27 Jan 2004 14:43:42 -0500
Hi Anthony,
You shouldn't compile the CVS version of
InsightApplications against version 1.4
of ITK.
The version numbers of Insight and InsightApplications
must match. The code of the applications evolves in
synchronization with the code in ITK. Right now
your are trying to compiler the newest version of the
applications against a four-months-old version of
the library.
Please take one of the following options:
A) Use 1.4 version 1.4 of InsightApplications
if you want to build it with ITK 1.4. You
can get tar.gz and .zip files for both from
the ITK download page. Or through CVS by
using the tag "Release-1-4"
OR
B) Use the CVS versions of both Insight and
InsightApplications. Check for the Dashboard
to be green before you go this way.
OR
C) Even better, Use the release 1.6 of both Insight
and InsightApplications which you can get by using
the CVS tag "ITK-1-6"
Regards,
Luis
-------------------------
Anthony Bennett wrote:
> Hello everyone,
>
> I'm working over at FSU's School of Computational Science and Information
> Technology, and we're looking into ITK for doing registration of 3D
> datasets of neurons. We're running Linux 2.4.22 (RedHat 9) on some Dell
> machines with 1.5GB of RAM, 2.40GHz P4s with 512KB L2 cache, and Gainward
> GeForce FX 5900 Ultras.
>
> Now, then, I downloaded ITK 1.4.0 and compiled it, along with all the
> examples. Then I found out about the InsightApplications directory, so I
> got that off of the CVS. Looking at the readme, I discovered I needed VTK,
> FLTK, and Qt. We already have Qt (3.1) installed on here, so I got VTK
> (4.2), compiled that; FLTK (1.1.4), compiled that ("make" and "make
> install"); and then I tried compiling the InsightApplications. I've
> pointed CCMake in the proper directions for all the files required, but I
> keep hitting snags. After ccmake has generated the Makefile, I run the
> "make", and it manages to get as far as compiling
> Auxiliary/VtkFltk/libITKVtkFltk.so, but then it complains about
> Auxiliary/vtk/itkCurvatureFlowToVTK.cxx, starting right off on the first
> lines of main():
>
> .../Auxiliary/vtk/itkCurvatureFlowToVTK.cxx:99:
> wrong number of template arguments (2, should be 1)
>
> Like I said, as far as I know, everything else is compiled and installed
> properly. Is this a VTK thing, and ITK thing, or is it something I've
> failed to do?
>
> Thanks in advance for all your help. Right now, all we really want to
> compile is the landmark registration stuff, so even if you can help us
> compile just that, we'd greatly appreciate it!
>