I try to compile dcmtk-3.6.1_20140617 to 64 bit on Mac Os X 10.9.5 and it works.
When I try to create a Qt Project I receive this errors:
Code: Select all
Undefined symbols for architecture x86_64:
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const", referenced from:
dcmtk::log4cplus::internal::parse_bool(bool&, OFString const&) in liboflog.a(env.o)
"std::__1::__basic_string_common<true>::__throw_length_error() const", referenced from:
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(diregist.o)
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(dihsvimg.o)
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(dirgbimg.o)
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(diybrimg.o)
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(diargimg.o)
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(dicmyimg.o)
std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char> >::str() const in libdcmimage.a(diyf2img.o)
Code: Select all
Undefined symbols for architecture x86_64:
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::at(unsigned long) const", referenced from:
OFStandard::checkForMarkupConversion(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, unsigned long) in libofstd.a(ofstd.o)
OFStandard::convertToMarkupStream(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, OFStandard::E_MarkupMode, bool, unsigned long) in libofstd.a(ofstd.o)
OFStandard::checkForOctalConversion(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long) in libofstd.a(ofstd.o)
OFStandard::convertToOctalStream(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long) in libofstd.a(ofstd.o)
OFStandard::decodeBase64(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*&) in libofstd.a(ofstd.o)
DcmCodeString::checkVR(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long*, bool) in libdcmdata.a(dcvrcs.o)
OFDateTime::setISOFormattedDateTime(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libofstd.a(ofdatime.o)
...
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::find(char const*, unsigned long, unsigned long) const", referenced from:
DcmTime::getOFTimeFromString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, OFTime&, bool) in libdcmdata.a(dcvrtm.o)
DcmTime::getISOFormattedTimeFromString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, bool, bool, bool, bool) in libdcmdata.a(dcvrtm.o)
dcmtk::log4cplus::(anonymous namespace)::substVars(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, dcmtk::log4cplus::helpers::Properties const&, dcmtk::log4cplus::helpers::LogLog&, unsigned int) in liboflog.a(config.o)
dcmtk::log4cplus::spi::StringMatchFilter::decide(dcmtk::log4cplus::spi::InternalLoggingEvent const&) const in liboflog.a(filter.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::find(char, unsigned long) const", referenced from:
DcmByteString::verify(bool) in libdcmdata.a(dcbytstr.o)
normalizeString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, bool, bool, bool, char) in libdcmdata.a(dcbytstr.o)
DcmByteString::checkStringValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libdcmdata.a(dcbytstr.o)
OFStandard::decodeBase64(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char*&) in libofstd.a(ofstd.o)
DcmDateTime::checkStringValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libdcmdata.a(dcvrdt.o)
DcmCharString::verify(bool) in libdcmdata.a(dcchrstr.o)
DcmPersonName::checkStringValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libdcmdata.a(dcvrpn.o)
...
Thanks