Hello,<br><br>Here is the point: I have installed cmake 2.2.0 and gdcm correctly this morning (after bug fixed)(gcc3.4.1). I've copied my program on my computer and here is the error I get if the command \"FIND_PACKAGE(GDCM) \" is not written in the cmakelists.txt file (during compilation):<br><br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:18:22: gdcmFile.h: No such file or directory<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:19:28: gdcmFileHelper.h: No such file or directory<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:20:26: gdcmDocument.h: No such file or directory<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:21:27: gdcmValEntry.h: No such file or directory<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:22:26: gdcmBinEntry.h: No such file or directory<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:23:23: gdcmDebug.h: No such file or directory<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx: In function `int main(int,
char**)':<br>/home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:340: error: `cerr' is not a member of `std'<br>...<br><br>If I add the command \"FIND_PACKAGE(GDCM) \", here is what I get (during generation of the makefile):<br><br>[olivier@Olivier Recalage]$ cmake .<br>CMake Error: GDCM_DIR is not set.  It must be set to the directory containing GDCMConfig.cmake in order to use GDCM.<br>-- Configuring done<br><br>Could you please help because I m really lost ? I really have no idea how to set GDCM_DIR and why now I have to set it whereas in my precedent installation (with gcc 2.96) I didn't do anything with this variable.<br><br>Thx, Olivier<br><br>PS: In my cmakelists.txt file, I dont have FIND_PACKAGE(GDCM) but I thought this lines had the same utility:<br>INCLUDE_DIRECTORIES(<br>  ${GDCM_SOURCE_DIR}/src/<br>  ${GDCM_BINARY_DIR}/<br>)