[Insight-users] ITK Installation Problem
Luis Ibanez
luis.ibanez at kitware.com
Mon, 19 Jan 2004 10:47:03 -0500
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
>