[Insight-users] ITK Installation Problem

Andy Eow eow at ai.mit.edu
Mon, 26 Jan 2004 23:45:58 +0800


That solved it ... Thanks!


----- Original Message ----- 
From: "Luis Ibanez" <luis.ibanez at kitware.com>
To: "Andy Eow" <eow at ai.mit.edu>
Cc: <insight-users at itk.org>
Sent: Monday, January 19, 2004 11:47 PM
Subject: Re: [Insight-users] ITK Installation Problem


>
>
> Hi Andy,
>
> Did you set the environment variables
>
>       CC
>       CXX
>
> before running CMake   ?
>
> It is likely that you are intermixing the
> C compiler and the C++ compiler.
>
> Please make sure that you set them  to
>
>    CC  = gcc
>    GXX = g++
>
> for example
>
>     export CC=/usr/bin/gcc
>     export CXX=/usr/bin/g++
>
> remove the binary directory where you were
> trying to build ITK and then configure
> again using CMake (once you set up the
> environment variables CC and CXX).
>
>
> Regards,
>
>
>
>    Luis
>
>
> ----------------
> Andy Eow wrote:
>
> > Hi,
> >
> > I'm trying to install ITK v1.4.0 and have been facing the following
problem:
> >
> > /home/me/RS/InsightToolkit-1.4.0/Utilities/vxl/vnl/Templates/
> > vnl_vector+long_double-.cxx:2: error: non-template used as template
> > I don't quite get where the error is coming from because vnl_vector is a
> > templated class. Any ideas how I can solve this problem?
> >
> > Thanks!
> >
> > Cheers,
> > Andy
> >
>
>
>
>
>