[Insight-developers] Include directories for modules
Dirk Boye
body at nabla.org
Wed Mar 30 11:27:48 EDT 2011
> On 03/30/2011 02:55 AM, Dirk Boye wrote:
>> - Following file was created but not copied anywhere to
>> /usr/local/include/ITK-4.0:
>> Build/Modules/IO/Base/itkIOConfigure.h
>
> http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=127cf2ff
>
>> - Following file was not copied to
>> ${ITK_INSTALL_PREFIX}/lib/cmake/ITK-4.0/:
>> itkImageIOFactoryRegisterManager.h.in
>
> http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=b10fa530
>
Thanks.
>> My understanding: When I decide to use the module ITK-GDCM,
>> the ITKConfig should set the right include directories which it gets
>> from Modules/ITK-GDCM.cmake ?
>
> Yes.
>
>> When i change the corresponding line in ITK-GDCM.cmake to
>> set(ITK-GDCM_INCLUDE_DIRS "${ITK_INSTALL_PREFIX}/include/gdcm-2.0")
>> everything works just fine.
>
> This I think is actually because the ITK fork of gdcm should be
> installed to an ITK-specific place. We'll have to program the
> gdcm installation within ITK accordingly. It should already
> work with an outside gdcm and ITK_USE_SYSTEM_GDCM set to ON.
> There is discussion in another thread on this list about changing
> the way we build GDCM to be an outside project anyway.
>
> -Brad
>
>
Found another include problem, this time with vcl/vnl directories:
I had to change line 4 in
cmake/ITK-4.0/Modules/ITK-VNL.cmake to
set(ITK-VNL_INCLUDE_DIRS
"${ITK_INSTALL_PREFIX}/include/ITK-4.0/vcl;${ITK_INSTALL_PREFIX}/include/ITK-4.0/core")
so that my compiler finds the vcl and vnl headers.
Cheers,
Dirk
More information about the Insight-developers
mailing list