Hi Daniel, this error occures if you checked out ITK using GIT without switching to release upstream... in Terminal go to your ITKsrcGIT directory and execute following command: $ git checkout -b release origin/release
after that build ITK again and MITK should compile njoy Iggy ________________________________________ Von: Daniel Haehn [[email protected]] Gesendet: Freitag, 15. Oktober 2010 21:45 An: [email protected] Betreff: [mitk-users] Trunk compilation error on Mac Hi folks, I tried to compile the MITK trunk on Snow Leopard and ran into the following errors: [ 46%] Building CXX object Core/Code/CMakeFiles/mitkCore.dir/Algorithms/mitkBaseDataSource.cpp.o In file included from /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkTimeSlicedGeometry.h:22, from /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkBaseData.h:25, from /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/Algorithms/mitkBaseDataSource.h:23, from /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/Algorithms/mitkBaseDataSource.cpp:19: /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkGeometry3D.h: In member function ‘void mitk::Geometry3D::WorldToIndex(const mitk::Point3D&, itk::Index<VIndexDimension>&) const’: /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkGeometry3D.h:336: error: no matching function for call to ‘RoundHalfIntegerUp(float&)’ /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkGeometry3D.h: In member function ‘bool mitk::Geometry3D::IsIndexInside(const mitk::Point3D&) const’: /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkGeometry3D.h:447: error: no matching function for call to ‘RoundHalfIntegerUp(const float&)’ /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkGeometry3D.h:448: error: no matching function for call to ‘RoundHalfIntegerUp(const float&)’ /Users/daniel/SLICER/EXTRAS/MITK/mitk/Core/Code/DataManagement/mitkGeometry3D.h:449: error: no matching function for call to ‘RoundHalfIntegerUp(const float&)’ make[2]: *** [Core/Code/CMakeFiles/mitkCore.dir/Algorithms/mitkBaseDataSource.cpp.o] Error 1 make[1]: *** [Core/Code/CMakeFiles/mitkCore.dir/all] Error 2 make: *** [all] Error 2 Am I doing something wrong? Anyone an idea how to fix it? Thanks, Daniel ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
