[Insight-developers] Building vxl/v3p/netlib on linux

William A. Hoffman bill.hoffman@kitware.com
Sun, 18 Feb 2001 13:33:53 -0500


Looks like when you ran configure you told it to use the c++ compiler for 
"C" code.

Try this:
(setenv CC gcc; setenv CXX c++; ../Insight/configure)

It should use gcc and c++ for .c files.

-Bill


At 01:28 PM 2/18/01 -0500, Luis Ibanez wrote:
>Hi
>
>I'm having trouble building the
>Numerics/vxl/v3p/netlib directory
>under Linux.
>
>It seems that the option for the compiler inludes
>the use of the ANSI standard, but the code
>in this directory have been generated by f2c in a
>plain C format that is not compatible with ansi c++.
>
>This is a Mandrake 7.1 distribution with gcc 2.95.3.
>
>
>Any ideas ?
>
>Thanks
>
>Luis