[Dcmlib] gdcm

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Jul 22 17:00:49 CEST 2005


> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:18:22: gdcmFile.h: No such file or directory
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:19:28: gdcmFileHelper.h: No such file or directory
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:20:26: gdcmDocument.h: No such file or directory
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:21:27: gdcmValEntry.h: No such file or directory
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:22:26: gdcmBinEntry.h: No such file or directory
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:23:23: gdcmDebug.h: No such file or directory
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx: In function `int main(int, char**)':
> /home/olivier/GDCM/Tfe/Recalage/exGrey2RGB.cxx:340: error: `cerr' is not a member of `std'


If you compile with:

make VERBOSE=1
You'll see you are not passing no proper -L include directories.

> [olivier at Olivier Recalage]$ cmake .
> CMake Error: GDCM_DIR is not set.  It must be set to the directory containing GDCMConfig.cmake in order to use GDCM.
> -- Configuring done
> 
> 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.

This is in english. In French:
Le chemin jusqu'a GDCM_DIR n'est pas specifie. Il doit est specifie au repertoire qui contient GDCMConfig.cmake

3 ways:
1. edit CMakeCache.txt (with vim, emacs, nedit, gedit , notepad, winword).
2. cd gdcm-bin; ccmake .
3. cd gdcm-bin; make edit_cache

-------------- next part --------------
_______________________________________________
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