Talk:ITK/FAQ

From KitwarePublic
Revision as of 09:58, 15 June 2009 by Syrine (talk | contribs) (i need help plz)
Jump to navigationJump to search


Hi,

I'm a new user of ITK. ihave many difficulties and i need help. I have dicom image and MIP image.i want to read them on itk and then execute one of the segmentation methods and display the segmentation results. My questions are: 1.how to read a dicom image or MIP 2.if i have to display the segmentation result doi need vtk? when i read the examples and had to try them i have diffculties to undersatnd some things like ( region, instantiate region,..) Please can you help to go faster in my application specially i'm a new user on image processing and itk environement.

Thanks in advance, Sissouna

How to compile ITK with icc??

Hi,all

   I'm trying to compile ITK with icc9.1, but it doesn't sucessed.

The ITK version is the newest one, 3.2.0, and CMAKE is 2.4.7.

   I've set the environment CC=icc and CXX=icc.  When using cmake to generate Makefile, even a simple test of compiler can't passed.  The error messages are list below.  Is there anyone who can tell me what's the problem and how to fix it?
   Thanks a lot!!

Error messages:

CMake Error: The C++ compiler "/opt/intel/cc/9.1.039/bin/icc" is not able to compile a simple test program.
It fails with the following output:
 /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/localdisk/xulin/itk/itk-icc/CMakeFiles/CMakeTmp'
/home/workload/bin/bin/cmake -E cmake_progress_report /home/workload/xulin/itk/itk-icc/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.o
/opt/intel/cc/9.1.039/bin/icc   -g     -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.o -c
/home/workload/xulin/itk/itk-icc/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec
/home/workload/bin/bin/cmake -P CMakeFiles/cmTryCompileExec.dir/cmake_clean_target.cmake
/opt/intel/cc/9.1.039/bin/icc    -g    -fPIC "CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.o"   -o cmTryCompileExec
-rdynamic
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
make[1]: *** [cmTryCompileExec] Error 1
make[1]: Leaving directory `/localdisk/xulin/itk/itk-icc/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2