[Insight-users] compilation problem and solution

Yannick Allard Yannick.Allard at USherbrooke.ca
Wed Jul 14 10:56:01 EDT 2004


Hi Everyone,

While compiling the ITK libraries (gcc 3.2, pentium arch, solaris2.8), for only 
one file, cmake is calling the wrong compiler which give rise to undefined 
symbols (in general, it wont find complex, cmath and other libs.)

the file is :

/InsightToolkit-
1.6.0/Utilities/vxl/core/vnl/Templates/vcl_vector+vnl_vector+vcl_complex+double-
--.c

cmake generate the makefile and only that file is compiled with gcc instead of 
g++

to see it, just turn the silent mode off for the compilation.

Yannick


More information about the Insight-users mailing list