Talk:ITK/FAQ: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(How to compile ITK with icc??)
(i need help plz)
Line 1: Line 1:


== Hello how are you, my name es Xavier i was trying to run DeformableRegistration7(of examples) and it catched this exception. I hope somebady help me. my email is javier_silva_bravo@hotmail.com thank you.==


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
'''itk::ExceptionObject (0x8184f28)
Location: "Unknown"
File: /home/aldrin/InsightToolkit-2.0.0/Code/BasicFilters/itkRecursiveSeparableImageFilter.txx
Line: 244
Description: itk::ERROR: RecursiveGaussianImageFilter(0x81840e0): The number of pixels along direction 2 is less than 4. This filter requires a minimum of four pixels along the dimension to be processed.'''


== How to compile ITK with icc?? ==
== How to compile ITK with icc?? ==

Revision as of 09:58, 15 June 2009


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