Hi,

the easiest way is to download ITK 3.20 from ITK website 
http://voxel.dl.sourceforge.net/sourceforge/itk/InsightToolkit-3.20.0.tar.gz

In CMake modify following entries (after setting sourcePath and binaryPath):

 *   configure (using UNIX-makefile)
 *   cmake_osx_architectures x86_64
 *   cmake_osx_deployment_target 10.6
 *   BUILD_SHARED_LIBS = ON
 *   configure
 *   generate

then build it using " make "

this is how we did it here and it works pretty well so far.
For any further questions do not hesitate to contact us.

cheers
Iggy

On Oct 18, 2010, at 3:55 PM, Daniel Haehn wrote:

Hello,

thanks for the feedback! I use the 3.20 ITK release from CVS.

   CVS_REPOSITORY 
":pserver:anonymous:[email protected]:/cvsroot/Insight"
   CVS_MODULE "Insight"
   CVS_TAG -r ITK-3-20

Is the git repository mandatory?

Thanks,
Daniel

On Oct 16, 2010, at 9:54 AM, Reicht Ignaz wrote:

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]<mailto:[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]<mailto:[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

Reply via email to