[Insight-users] Compiling Insight-Applications 1.6 : error

Rodrigo F Baroni rodrigobaroni at pop.com.br
Fri Aug 13 13:54:00 EDT 2004


  Hello all,

     I'm gotting the follow errors below trying to compile the
Insight-Applications-1.6.0 . I'm using a GNU/Linux Debian Sarge with gcc
3.3, itk 1.6. The error seems to be at cmath.h .. but it's a lot
strange.. since the standard fonts are installed. I found the same error
at the history of this mail-list, but it was without an answer. I tryed
put "-lm" in "cmake libraryes exe" option in cmake, to force linking
against the math library (maybe was a symbol linking error..), but it
doesn't work.

     Does anybody have some suggests ? Thanks in advance.


 Rodrigo F. Baroni

------------------------| the error : |------------------------------------

cad9:/usr/local/src/ITK/InsightApplications-1.6.0# make
Building dependencies. cmake.depends...
-- Using Buildname: Linux-c++
-- Loading VTK CMake commands
-- Loading VTK CMake commands - done
cmake.depends is up-to-date
/usr/local/src/ITK/InsightApplications-1.6.0/Auxiliary: building default_target
Building dependencies. cmake.depends...
cmake.depends is up-to-date
/usr/local/src/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer:
building default_target
Building dependencies. cmake.depends...
Building object file fltkClippingPlane3DDrawerGUI.o...
In file included from /usr/include/c++/3.3/bits/locale_facets.tcc:41,
                 from /usr/include/c++/3.3/locale:47,
                 from /usr/include/c++/3.3/bits/ostream.tcc:37,
                 from /usr/include/c++/3.3/ostream:535,
                 from /usr/include/c++/3.3/iostream:45,
                 from
/usr/local/src/ITK/InsightToolkit-1.6.0/Code/Common/itkLightObject.h:24,
                 from
/usr/local/src/ITK/InsightToolkit-1.6.0/Code/Common/itkObject.h:23,
                 from
/usr/local/src/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.h:7,
                 from
/usr/local/src/ITK/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx:3:
/usr/include/c++/3.3/cmath:107: error: `acosf' not declared
/usr/include/c++/3.3/cmath:110: error: `asinf' not declared
/usr/include/c++/3.3/cmath:113: error: `atanf' not declared
/usr/include/c++/3.3/cmath:116: error: `atan2f' not declared
/usr/include/c++/3.3/cmath:119: error: `ceilf' not declared
/usr/include/c++/3.3/cmath:122: error: `coshf' not declared
/usr/include/c++/3.3/cmath:125: error: `expf' not declared
/usr/include/c++/3.3/cmath:128: error: `floorf' not declared
/usr/include/c++/3.3/cmath:131: error: `fmodf' not declared
/usr/include/c++/3.3/cmath:134: error: `frexpf' not declared
/usr/include/c++/3.3/cmath:137: error: `ldexpf' not declared
/usr/include/c++/3.3/cmath:140: error: `logf' not declared
/usr/include/c++/3.3/cmath:143: error: `log10f' not declared
/usr/include/c++/3.3/cmath:146: error: `modff' not declared
/usr/include/c++/3.3/cmath:149: error: `powf' not declared
/usr/include/c++/3.3/cmath:152: error: `sinhf' not declared
/usr/include/c++/3.3/cmath:155: error: `tanf' not declared
/usr/include/c++/3.3/cmath:158: error: `tanhf' not declared
/usr/include/c++/3.3/cmath: In function `float std::acos(float)':
/usr/include/c++/3.3/cmath:184: error: `acosf' undeclared in namespace `
   __gnu_cxx::__c99_binding'
/usr/include/c++/3.3/cmath: At global scope:
/usr/include/c++/3.3/cmath:190: error: `acos' not declared
/usr/include/c++/3.3/cmath: In function `long double std::acos(long double)':
/usr/include/c++/3.3/cmath:194: error: `::acosl' undeclared (first use here)
<...cutted...>

------------------------| end error  |------------------------------------



More information about the Insight-users mailing list