[Insight-users] Insight Application Compilation Error

Hyoungsu Baek debutrue at yahoo.com
Sat Dec 16 12:30:28 EST 2006


Hi,

I just finished ITK, VTK, FLTK installation  after  days and nights work.
I wanted to compile Insight Application but from the beginning it spit out errors. If any one experienced the same problem, please help!

Thanks.



[root at localhost InsightApp]# ccmake ../InsightApplications-3.0.0


[root at localhost InsightApp]# make
[  0%] Building CXX object AnisotropicDiffusionImageFilter/CMakeFiles/itk2DAniso
tropicDiffusionImageFilter.dir/itk2DAnisotropicDiffusionImageFilter.o
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:100: er
ror: ‘::acos’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:117: er
ror: ‘::asin’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:132: er
ror: ‘::atan’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:147: er
ror: ‘::atan2’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:163: er
ror: ‘::ceil’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:178: er
ror: ‘::cos’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:193: er
ror: ‘::cosh’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:208: er
ror: ‘::exp’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:223: er
ror: ‘::fabs’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:238: er
ror: ‘::floor’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:253: er
ror: ‘::fmod’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:263: er
ror: ‘::frexp’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:278: er
ror: ‘::ldexp’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:293: er
ror: ‘::log’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:308: er
ror: ‘::log10’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:323: er
ror: ‘::modf’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:342: er
ror: ‘::pow’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:364: er
ror: ‘::sin’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:379: er
ror: ‘::sinh’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:394: er
ror: ‘::sqrt’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:409: er
ror: ‘::tan’ has not been declared
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/cmath:424: er
ror: ‘::tanh’ has not been declared
/opt/InsightToolkit-3.0.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vn
l_math_rnd(float)’:
/opt/InsightToolkit-3.0.0/Utilities/vxl/core/vnl/vnl_math.h:147: error: ‘lroundf
’ was not declared in this scope
/opt/InsightToolkit-3.0.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vn
l_math_rnd(double)’:
/opt/InsightToolkit-3.0.0/Utilities/vxl/core/vnl/vnl_math.h:148: error: ‘lround’
 was not declared in this scope
/opt/InsightToolkit-3.0.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘double
 vnl_math_cuberoot(double)’:
/opt/InsightToolkit-3.0.0/Utilities/vxl/core/vnl/vnl_math.h:255: error: call of
overloaded ‘log(double)’ is ambiguous


 
---------------------------------
Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20061216/aaf88e9f/attachment.html


More information about the Insight-users mailing list