Ok, I compiled everything from scratch and in this order ( Cmake 2.4, ITK 2.8.1, VTK 4.4.2, FLTK 1.1.4, Insight Applications 2.8.1 ). Then I compiled InsightApplications from the root directory. Then I went inside the ImageViewer and typed make. Below is the errors I get. What should I do now? <br> Almost there.... Thanks for help! <br> Esen<br> <br> seyuksel/source/ITK/InsightAppli<br> cations-2.8.1/ImageViewer/ImageViewer.cxx:17:<br> /usr/include/c++/3.3.5/cmath:107: error: `acosf' not declared<br> /usr/include/c++/3.3.5/cmath:110: error: `asinf' not declared<br> /usr/include/c++/3.3.5/cmath:113: error: `atanf' not declared<br> /usr/include/c++/3.3.5/cmath:116: error: `atan2f' not declared<br> /usr/include/c++/3.3.5/cmath:119: error: `ceilf' not declared<br> /usr/include/c++/3.3.5/cmath:122: error: `coshf' not declared<br> /usr/include/c++/3.3.5/cmath:125: error: `expf' not declared<br> /usr/include/c++/3.3.5/cmath:128: error: `floorf' not declared<br>
/usr/include/c++/3.3.5/cmath:131: error: `fmodf' not declared<br> /usr/include/c++/3.3.5/cmath:134: error: `frexpf' not declared<br> /usr/include/c++/3.3.5/cmath:137: error: `ldexpf' not declared<br> /usr/include/c++/3.3.5/cmath:140: error: `logf' not declared<br> /usr/include/c++/3.3.5/cmath:143: error: `log10f' not declared<br> /usr/include/c++/3.3.5/cmath:146: error: `modff' not declared<br> /usr/include/c++/3.3.5/cmath:149: error: `powf' not declared<br> /usr/include/c++/3.3.5/cmath:152: error: `sinhf' not declared<br> /usr/include/c++/3.3.5/cmath:155: error: `tanf' not declared<br> /usr/include/c++/3.3.5/cmath:158: error: `tanhf' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::acos(float)':<br> /usr/include/c++/3.3.5/cmath:184: error: `acosf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:190: error: `acos' not declared<br>
/usr/include/c++/3.3.5/cmath: In function `long double std::acos(long double)':<br> /usr/include/c++/3.3.5/cmath:194: error: `::acosl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:200: error: `asin' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::asin(float)':<br> /usr/include/c++/3.3.5/cmath:204: error: `asinf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::asin(long double)':<br> /usr/include/c++/3.3.5/cmath:212: error: `::asinl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:218: error: `atan' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::atan(float)':<br> /usr/include/c++/3.3.5/cmath:222: error: `atanf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In
function `long double std::atan(long double)':<br> /usr/include/c++/3.3.5/cmath:230: error: `::atanl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:236: error: `atan2' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::atan2(float, float)':<br> /usr/include/c++/3.3.5/cmath:240: error: `atan2f' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::atan2(long double,<br> long double)':<br> /usr/include/c++/3.3.5/cmath:249: error: `::atan2l' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:256: error: `ceil' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::ceil(float)':<br> /usr/include/c++/3.3.5/cmath:260: error: `ceilf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br>
/usr/include/c++/3.3.5/cmath: In function `long double std::ceil(long double)':<br> /usr/include/c++/3.3.5/cmath:268: error: `::ceill' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:274: error: `cos' not declared<br> /usr/include/c++/3.3.5/cmath:284: error: `cosh' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::cosh(float)':<br> /usr/include/c++/3.3.5/cmath:288: error: `coshf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::cosh(long double)':<br> /usr/include/c++/3.3.5/cmath:296: error: `::coshl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:302: error: `exp' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::exp(float)':<br> /usr/include/c++/3.3.5/cmath:306: error: `expf' undeclared in namespace `<br>
__gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::exp(long double)':<br> /usr/include/c++/3.3.5/cmath:314: error: `::expl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:320: error: `fabs' not declared<br> /usr/include/c++/3.3.5/cmath:330: error: `floor' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::floor(float)':<br> /usr/include/c++/3.3.5/cmath:334: error: `floorf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::floor(long double)<br> ':<br> /usr/include/c++/3.3.5/cmath:342: error: `::floorl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:348: error: `fmod' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::fmod(float, float)':<br>
/usr/include/c++/3.3.5/cmath:352: error: `fmodf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::fmod(long double,<br> long double)':<br> /usr/include/c++/3.3.5/cmath:361: error: `::fmodl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:368: error: `frexp' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::frexp(float, int*)':<br> /usr/include/c++/3.3.5/cmath:372: error: `frexpf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::frexp(long double,<br> int*)':<br> /usr/include/c++/3.3.5/cmath:380: error: `::frexpl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:387: error: `ldexp' not declared<br> /usr/include/c++/3.3.5/cmath: In
function `float std::ldexp(float, int)':<br> /usr/include/c++/3.3.5/cmath:391: error: `ldexpf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::ldexp(long double,<br> int)':<br> /usr/include/c++/3.3.5/cmath:400: error: `::ldexpl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:407: error: `log' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::log(float)':<br> /usr/include/c++/3.3.5/cmath:411: error: `logf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::log(long double)':<br> /usr/include/c++/3.3.5/cmath:419: error: `::logl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:425: error: `log10' not declared<br> /usr/include/c++/3.3.5/cmath: In
function `float std::log10(float)':<br> /usr/include/c++/3.3.5/cmath:429: error: `log10f' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::log10(long double)<br> ':<br> /usr/include/c++/3.3.5/cmath:437: error: `::log10l' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:443: error: `modf' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::modf(float, float*)':<br> /usr/include/c++/3.3.5/cmath:447: error: `modff' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::modf(long double,<br> long double*)':<br> /usr/include/c++/3.3.5/cmath:461: error: `::modfl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:482: error: `pow' not declared<br>
/usr/include/c++/3.3.5/cmath: In function `float std::pow(float, float)':<br> /usr/include/c++/3.3.5/cmath:486: error: `powf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::pow(long double,<br> long double)':<br> /usr/include/c++/3.3.5/cmath:495: error: `::powl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:514: error: `sin' not declared<br> /usr/include/c++/3.3.5/cmath:524: error: `sinh' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::sinh(float)':<br> /usr/include/c++/3.3.5/cmath:528: error: `sinhf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::sinh(long double)':<br> /usr/include/c++/3.3.5/cmath:536: error: `::sinhl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br>
/usr/include/c++/3.3.5/cmath:542: error: `sqrt' not declared<br> /usr/include/c++/3.3.5/cmath:552: error: `tan' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::tan(float)':<br> /usr/include/c++/3.3.5/cmath:556: error: `tanf' undeclared in namespace `<br> <br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::tan(long double)':<br> /usr/include/c++/3.3.5/cmath:564: error: `::tanl' undeclared (first use here)<br> /usr/include/c++/3.3.5/cmath: At global scope:<br> /usr/include/c++/3.3.5/cmath:570: error: `tanh' not declared<br> /usr/include/c++/3.3.5/cmath: In function `float std::tanh(float)':<br> /usr/include/c++/3.3.5/cmath:574: error: `tanhf' undeclared in namespace `<br> __gnu_cxx::__c99_binding'<br> /usr/include/c++/3.3.5/cmath: In function `long double std::tanh(long double)':<br> /usr/include/c++/3.3.5/cmath:582: error: `::tanhl' undeclared (first use here)<br> In file included
from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkVector.txx:22,<br> from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkVector.h:275,<br> from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkPoint.h:23,<br> from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkContinuousIndex.h:20,<br> from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkImageRegion.h:27,<br>
from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkImageBase.h:25,<br> from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/Common/itkImage.h:20,<br> from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightAppli<br> cations-2.8.1/ImageViewer/ImageViewer.cxx:19:<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h: In<br> function `double vnl_math_cuberoot(double)':<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h:218: error: call<br> of overloaded `log(double)' is
ambiguous<br> /usr/include/c++/3.3.5/cmath:411: error: candidates are: float std::log(float)<br> /usr/include/c++/3.3.5/cmath:419: error: long double<br> std::log(long double)<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h:218: error: call<br> of overloaded `log(double&)' is ambiguous<br> /usr/include/c++/3.3.5/cmath:411: error: candidates are: float std::log(float)<br> /usr/include/c++/3.3.5/cmath:419: error: long double<br> std::log(long double)<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h: In<br> function `double vnl_math_hypot(int, int)':<br>
/cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h:221: error: call<br> of overloaded `sqrt(double)' is ambiguous<br> /usr/include/c++/3.3.5/cmath:546: error: candidates are: float std::sqrt(float)<br> /usr/include/c++/3.3.5/cmath:550: error: long double<br> std::sqrt(long double)<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h: In<br> function `float vnl_math_hypot(float, float)':<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h:222: error: call<br> of overloaded `sqrt(double)' is ambiguous<br> /usr/include/c++/3.3.5/cmath:546: error: candidates are: float std::sqrt(float)<br> /usr/include/c++/3.3.5/cmath:550:
error: long double<br> std::sqrt(long double)<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h: In<br> function `double vnl_math_hypot(double, double)':<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Utilities/vxl<br> /core/vnl/vnl_math.h:223: error: call<br> of overloaded `sqrt(double)' is ambiguous<br> /usr/include/c++/3.3.5/cmath:546: error: candidates are: float std::sqrt(float)<br> /usr/include/c++/3.3.5/cmath:550: error: long double<br> std::sqrt(long double)<br> In file included from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolk<br> it-2.8.1/Code/IO/itkImageFileReader.h:25,<br>
from /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightAppli<br> cations-2.8.1/ImageViewer/ImageViewer.cxx:20:<br> /usr/include/c++/3.3.5/complex: In function `_Tp std::abs(const<br> std::complex<_Tp>&) [with _Tp = double]':<br> /usr/include/c++/3.3.5/complex:450: instantiated from `static _Tp std::_Norm_h<br> elper<true>::_S_do_it(const std::complex<_Tp>&) [with _Tp = double]'<br> /usr/include/c++/3.3.5/complex:459: instantiated from `_Tp std::norm(const std<br> ::complex<_Tp>&) [with _Tp = double]'<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightToolkit-2.8.1/Code/IO/itkDe<br> faultConvertPixelTraits.h:240: instantiated from here<br> /usr/include/c++/3.3.5/complex:419: error: call of overloaded `sqrt(double)' is<br> ambiguous<br> /usr/include/c++/3.3.5/cmath:546:
error: candidates are: float std::sqrt(float)<br> /usr/include/c++/3.3.5/cmath:550: error: long double<br> std::sqrt(long double)<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightApplications-2.8.1/Auxiliar y/FltkImageViewer/GLSliceView.h: In<br> member function `void itk::GLSliceView<ImagePixelType,<br> OverlayPixelType>::update() [with ImagePixelType = float, OverlayPixelType =<br> unsigned char]':<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightApplications-2.8.1/ImageVie wer/ImageViewer.cxx:109: instantiated from here<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightApplications-2.8.1/Auxiliar y/FltkImageViewer/GLSliceView.h:506: error: `<br> fabs' undeclared (first use this function)<br>
/cise/research51/cvgmi_04/seyuksel/source/ITK/InsightApplications-2.8.1/Auxiliar y/FltkImageViewer/GLSliceView.h:506: error: (Each<br> undeclared identifier is reported only once for each function it appears<br> in.)<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightApplications-2.8.1/ImageVie wer/ImageViewer.cxx:109: instantiated from here<br> /cise/research51/cvgmi_04/seyuksel/source/ITK/InsightApplications-2.8.1/Auxiliar y/FltkImageViewer/GLSliceView.h:625: error: `<br> log' undeclared (first use this function)<br> make[2]: *** [ImageViewer/CMakeFiles/ImageViewer.dir/ImageViewer.o] Error 1<br> make[1]: *** [ImageViewer/CMakeFiles/ImageViewer.dir/all] Error 2<br> make: *** [all] Error 2<br> <br><p> 
                <hr size=1>Do you Yahoo!?<br>
Get on board. <a href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers">You're invited</a> to try the new Yahoo! Mail Beta.