[Insight-users] Re: Problems Building 1.2: gcc 3.2 : Utilities/vxl

Luis Ibanez luis . ibanez at kitware . com
Tue, 15 Jul 2003 10:42:46 -0400


Hi Fernando,

Thanks for letting us know about the
compiler version that you are using.

I just compiled ITK 1.2 using gcc3.2
under Linux Debian, without any problem.

It seems that you enabled and advanced
option that is set to OFF by default.
The code in

   Insight/Utilities/vxl/v3p/netlib/

shouldn't be built by default. This
was an experimental location for updating
VXL after the release.

Please rerun CMake and make sure that the
variable:


          VXL_FROM_UTILITIES


Is set to OFF.

That should prevent the compilation of
the directory    Utilities/vxl


the VXL version in Code/Numerics/vxl
will be used instead.


   Regards

    Luis


------------------------
Fernando Rannou wrote:
> Hi Luis,
> this is what I'm using
> 
> $ g++ --version
> g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> Copyright (C) 2002 Free Software Foundation, Inc.
> 
> Thanks
> Fernando
> 
> Luis Ibanez wrote:
> 
>> Hi Fernando,
>>
>>
>> What compiler (+version) are you using ?
>>
>>
>>   Luis
>>
>>
>> ---------------------------
>> Fernando Rannou wrote:
>>
>>> Hi Luis,
>>> I just dowloaded ITK-1.2 from the web page, and I'm getting the 
>>> following
>>> compilation error:
>>> ...
>>> Building object file triangle.o...
>>> /usr/local/InsightToolkit-1.2.0/Utilities/vxl/v3p/netlib/triangle.c: 
>>> In function `parsecommandline':
>>> /usr/local/InsightToolkit-1.2.0/Utilities/vxl/v3p/netlib/triangle.c:2908: 
>>> `poly' undeclared (first use in this function)
>>> /usr/local/InsightToolkit-1.2.0/Utilities/vxl/v3p/netlib/triangle.c:2908: 
>>> (Each undeclared identifier is reported only once
>>> /usr/local/InsightToolkit-1.2.0/Utilities/vxl/v3p/netlib/triangle.c:2908: 
>>> for each function it appears in.)
>>>
>>> Any idea what's wrong?
>>> Thanks
>>>
>>> Fernando
>>>