[Dcmlib] Problem with adding GDCM package in CMakeLists
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue May 9 21:48:54 CEST 2006
Łukasz,
I made quite a few changes in the current GDCM CVS. Did not had a
chance to backport that to any release though. Please try.
Thanks
Mathieu
Łukasz Tutaj wrote:
> Hello,
>
> In my project I want to make the GDCM VTK and KWWidgets cooperate
> together. A part of my CMakeLists.txt is shown below:
> #-----------------------------------------
> PROJECT (KWMedicalViewer)
>
> FIND_PACKAGE(GDCM)
> IF(GDCM_FOUND)
> INCLUDE(${USE_GDCM_FILE})
> ENDIF(GDCM_FOUND)
>
> FIND_PACKAGE(VTK)
> IF(VTK_FOUND)
> INCLUDE(${USE_VTK_FILE})
> ENDIF(VTK_FOUND)
>
> IF(NOT KWWidgets_SOURCE_DIR)
> FIND_PACKAGE(KWWidgets REQUIRED)
> INCLUDE(${KWWidgets_USE_FILE})
> ENDIF(NOT KWWidgets_SOURCE_DIR)
> #-----------------------------------------
> With KWWidgets and VTK it works fine but with GDCM an error occurs. The
> information about this error is shown below:
> #-----------------------------------------
> CMake Error in cmake code at
> (some path to bin directory)/GDCMConfig.cmake:16:
> INCLUDE Could not find include file
> /usr/local/lib/GDCM-1.3.1/GDCMLibraryDepends.cmake
> #-----------------------------------------
> Could someone help me with that?
> Thanks in advance.
>
> Łukasz Tutaj
>
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
More information about the Dcmlib
mailing list