[Elastix] Problem emastix compilation

S. Klein s.klein at erasmusmc.nl
Tue Apr 23 13:41:06 CEST 2013


Hi Agata,
You can also work around the bug, by not pointing ITK_DIR to the 
itk-install directory, but to the build directory.
Kind regards,
Stefan

On 22/04/2013 17:35, Vivien Delmon wrote:
> On 04/20/2013 02:47 PM, Agata Krasoń wrote:
>> Hi Elastix Users,
>>
>> I am beginner in elastix.
>> I am trying to compile elastix source code from repository ;
>> I am working on linux  OS (opensuse) and use CMake 2.8.10, ITK 4.20.
>> I received some errors in class   concenring itktiff.h
>>
>> */usr/local/include/ITK-4.2/itk_tiff.h:37: from
>> /usr/local/include/ITK-4.2/itk_tiff.h:37,
>>
>> /home/Elastix/elastix-code/src/Common/MevisDicomTiff/itkMevisDicomTiffImageIO.h:25: 
>>
>> from
>> /hom/home/akrason/Elastix/elastix-code/src/Common/MevisDicomTiff/itkMevisDicomTiffImageIO.cxx:21: 
>>
>> from
>> /home/akrason/elastix-code/src/Common/MevisDicomTiff/itkMevisDicomTiffImageIO.cxx:21:e/Elastix/elastix-code/src/Common/MevisDicomTiff/itkMevisDicomTiffImageIO.h:25, 
>>
>> /usr/local/include/ITK-4.2/itktiff/tiff.h:32: error: tif_config.h: No
>> such file or directory*
>>
>>
>> I don't  know  what I should do now ?
>> Maybe it is required any specific options in ITK  ?
>>
>> I would appreciate for any help please.
>>
>>
>>
>> Agata
>
> Hi Agata,
>
> It's just a bug in itk 4.2 which was fixed here :
> http://itk.org/gitweb?p=ITK.git;a=commit;h=3df8711e4793e6f271446b3bc40a84aa13d565ba 
>
>
> It have not been corrected in the last stable version of ITK (4.3.1) 
> but it is corrected in the git version.
>
> Kind regards,
>

-- 
Stefan Klein
+31 10 7043049
http://www.bigr.nl/people/StefanKlein


More information about the Elastix mailing list