Hi,<br><br>GDCM is probably installed cause the .h files are in usr/local/include/gdcm, but seems the compiler doesn't find them. Here the error I get when I added package GDCM in my CMakeLists.txt file:<br><br>CMake Error: GDCM_DIR is not set.  It must be set to the directory containing GDCMConfig.cmake in order to use GDCM.<br><br>It's certainly what I forgot to do :D But I didn't have to do it on my notebook... How do I set it ?<br><br>Thx, Olivier<br><br>----------------------------------------<br>> <br>> Hi,<br>> <br>> As I haven't resolved my gcc problem and my notebook became in desorder, I decided to install linux on my computer at home (mandrake 10.1). Then I have installed cmake 2.2.0 (procedure with boostrap) <br><br>I thought Mandrake finally had a package for cmake... grrr<br><br>and gdcm (procedure explain on the web site, with cvs). I copied/pasted my program and try to compile. Here's the error I have (I certainly forgot something.. but what ? :-))<br>> <br>>
Olivier<br>> <br>> PS: $ nm libgdcm.so| c++filt| grep gdcm::FileHelper::FileHelper give me bash: $: command not found. Where must I type this command ?<br><br><br>$ dpkg -S /usr/bin/nm                                      ~<br>binutils: /usr/bin/nm<br><br><br>I bet on Mandrake it is also called binutils but they must add a random number to make the package name more cryptic.<br><br> <br>> -- Configuring done<br>> -- Generating done<br>> -- Build files have been written to: /home/olivier/GDCM/gdcmBin/bin/Tfe/Recalage<br>> Building CXX object exGrey2RGB.dir/exGrey2RGB.o<br>> /home/olivier/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:18:22: gdcmFile.h: No such file or directory<br><br><br>good ! That mean you did not install gdcm. I believe this is safer to develop this way.<br><br>Since you are developping outside of gdcm tree, did you do in your CMakeLists.txt:<br><br>FIND_PACKAGE(GDCM)<br><br>If not.. then add it :)<br><br>Mathieu<br><br><br>