[Dcmlib] gcc

olivier.stern at swing.be olivier.stern at swing.be
Tue Jul 19 16:50:20 CEST 2005


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é :-)
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 :-)) :

Building executable /home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB...
exGrey2RGB.o(.text+0x1ade): In function `main':
: undefined reference to `gdcm::FileHelper::FileHelper(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
exGrey2RGB.o(.text+0x1b1f): In function `main':
: undefined reference to `gdcm::FileHelper::GetImageDataSize()'
exGrey2RGB.o(.text+0x1b30): In function `main':
: undefined reference to `gdcm::FileHelper::GetImageData()'
exGrey2RGB.o(.text+0x1b7d): In function `main':
: undefined reference to `gdcm::File::GetXSize()'
exGrey2RGB.o(.text+0x1b97): In function `main':
: undefined reference to `gdcm::File::GetYSize()'
exGrey2RGB.o(.text+0x1bb1): In function `main':
: undefined reference to `gdcm::File::GetXSpacing()'
exGrey2RGB.o(.text+0x1bcb): In function `main':
: undefined reference to `gdcm::File::GetYSpacing()'
exGrey2RGB.o(.text+0x1be5): In function `main':
: undefined reference to `gdcm::File::GetXOrigin()'
exGrey2RGB.o(.text+0x1bff): In function `main':
: undefined reference to `gdcm::File::GetYOrigin()'
exGrey2RGB.o(.text+0x1c19): In function `main':
: undefined reference to `gdcm::File::GetZOrigin()'
exGrey2RGB.o(.text+0x1c3a): In function `main':
: undefined reference to `gdcm::File::GetImageOrientationPatient(float*)'
exGrey2RGB.o(.text+0x24b7): In function `main':
: undefined reference to `gdcm::GDCM_UNKNOWN'
exGrey2RGB.o(.text+0x2506): In function `main':
: 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&)'
exGrey2RGB.o(.text+0x2588): In function `main':
: undefined reference to `gdcm::GDCM_UNKNOWN'
exGrey2RGB.o(.text+0x25d7): In function `main':
: 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&)'
exGrey2RGB.o(.text+0x3ef1): In function `main':
: undefined reference to `gdcm::GDCM_UNKNOWN'
exGrey2RGB.o(.text+0x3f3d): In function `main':
: 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&)'
exGrey2RGB.o(.text+0x3fbf): In function `main':
: undefined reference to `gdcm::GDCM_UNKNOWN'
exGrey2RGB.o(.text+0x400b): In function `main':
: 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&)'
exGrey2RGB.o(.text+0x408d): In function `main':
: undefined reference to `gdcm::GDCM_UNKNOWN'
exGrey2RGB.o(.text+0x40d9): In function `main':
: 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&)'
exGrey2RGB.o(.text+0x41f3): In function `main':
: undefined reference to `gdcm::FileHelper::SetImageData(unsigned char*, unsigned int)'
exGrey2RGB.o(.text+0x4203): In function `main':
: undefined reference to `gdcm::GDCM_UNKNOWN'
exGrey2RGB.o(.text+0x4252): In function `main':
: 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&)'
exGrey2RGB.o(.text+0x42e8): In function `main':
: undefined reference to `gdcm::FileHelper::SetImageData(unsigned char*, unsigned int)'
exGrey2RGB.o(.text+0x42fa): In function `main':
: undefined reference to `gdcm::FileHelper::WriteDcmExplVR(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status


----------------------------------------
ifstream -> std::ifstream
max      -> std::max

Mathieu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050719/1ccf4b06/attachment.html>


More information about the Dcmlib mailing list