<br>Merci beaucoup, en fait j ai deja fait du c et du java mais jamais du c++ alors bon comme ça compilait je ne me suis jamais trop tracassé :-)<br>Maintenant toutes les erreurs du genre sont corrigées, mais j arrive à un autre type d'erreur (que je rencontre d'ailleurs en essayant de compiler Qt avec cmake..) qui sont les suivantes (c est quand même dommage alors que ça fonctionnait si bein avec gcc 2.96 :-)) :<br><br>Building executable /home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB...<br>exGrey2RGB.o(.text+0x1ade): In function `main':<br>: undefined reference to `gdcm::FileHelper::FileHelper(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x1b1f): In function `main':<br>: undefined reference to `gdcm::FileHelper::GetImageDataSize()'<br>exGrey2RGB.o(.text+0x1b30): In function `main':<br>: undefined reference to `gdcm::FileHelper::GetImageData()'<br>exGrey2RGB.o(.text+0x1b7d): In function `main':<br>: undefi!
ned
reference to `gdcm::File::GetXSize()'<br>exGrey2RGB.o(.text+0x1b97): In function `main':<br>: undefined reference to `gdcm::File::GetYSize()'<br>exGrey2RGB.o(.text+0x1bb1): In function `main':<br>: undefined reference to `gdcm::File::GetXSpacing()'<br>exGrey2RGB.o(.text+0x1bcb): In function `main':<br>: undefined reference to `gdcm::File::GetYSpacing()'<br>exGrey2RGB.o(.text+0x1be5): In function `main':<br>: undefined reference to `gdcm::File::GetXOrigin()'<br>exGrey2RGB.o(.text+0x1bff): In function `main':<br>: undefined reference to `gdcm::File::GetYOrigin()'<br>exGrey2RGB.o(.text+0x1c19): In function `main':<br>: undefined reference to `gdcm::File::GetZOrigin()'<br>exGrey2RGB.o(.text+0x1c3a): In function `main':<br>: undefined reference to `gdcm::File::GetImageOrientationPatient(float*)'<br>exGrey2RGB.o(.text+0x24b7): In function `main':<br>: undefined reference to `gdcm::GDCM_UNKNOWN'<br>exGrey2RGB.o(.text+0x2506): In function `main':<br>: undefined reference to
`gdcm::DocEntrySet::InsertValEntry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x2588): In function `main':<br>: undefined reference to `gdcm::GDCM_UNKNOWN'<br>exGrey2RGB.o(.text+0x25d7): In function `main':<br>: undefined reference to `gdcm::DocEntrySet::InsertValEntry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x3ef1): In function `main':<br>: undefined reference to `gdcm::GDCM_UNKNOWN'<br>exGrey2RGB.o(.text+0x3f3d): In function `main':<br>: undefined reference to `gdcm::DocEntrySet::InsertValEntry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, unsigned short, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x3fbf): In function `main':<br>: undefined reference to `gdcm::GDCM_UNKNOWN'<br>exGrey2RGB.o(.text+0x400b): In function `main':<br>: undefined reference to `gdcm::DocEntrySet::InsertValEntry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x408d): In function `main':<br>: undefined reference to `gdcm::GDCM_UNKNOWN'<br>exGrey2RGB.o(.text+0x40d9): In function `main':<br>: undefined reference to `gdcm::DocEntrySet::InsertValEntry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x41f3): In function `main':<br>: undefined reference to `gdcm::FileHelper::SetImageData(unsigned cha!
r*,
unsigned int)'<br>exGrey2RGB.o(.text+0x4203): In function `main':<br>: undefined reference to `gdcm::GDCM_UNKNOWN'<br>exGrey2RGB.o(.text+0x4252): In function `main':<br>: undefined reference to `gdcm::DocEntrySet::InsertValEntry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>exGrey2RGB.o(.text+0x42e8): In function `main':<br>: undefined reference to `gdcm::FileHelper::SetImageData(unsigned char*, unsigned int)'<br>exGrey2RGB.o(.text+0x42fa): In function `main':<br>: undefined reference to `gdcm::FileHelper::WriteDcmExplVR(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'<br>collect2: ld returned 1 exit status<br><br><br>----------------------------------------<br>ifstream -> std::ifstream<br>max -> std::max<br><br>Mathieu<br><br><br>