Re: [Cppcms-users] ICU lib error in building cppcms 64bit environment
Brought to you by:
artyom-beilis
From: Aris S. <ari...@gm...> - 2010-09-02 22:52:21
|
Thank's, augustin, artyom; I have passed the "cmake" step using default ubuntu ICU package. But, after running "make" command, I got the following error: ... ... [ 11%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/date_time.cpp.o [ 11%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/format.cpp.o [ 11%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/formatter.cpp.o /opt/cppcms/booster/lib/locale/src/formatter.cpp: In member function ‘virtual std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> > booster::locale::impl::number_format<CharType>::format(booster::int64_t, size_t&) const’: /opt/cppcms/booster/lib/locale/src/formatter.cpp:65: error: call of overloaded ‘format(booster::int64_t&, icu_4_0::UnicodeString&)’ is ambiguous /usr/include/unicode/numfmt.h:247: note: candidates are: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(double, icu_4_0::UnicodeString&) const /usr/include/unicode/numfmt.h:260: note: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(int32_t, icu_4_0::UnicodeString&) const /usr/include/unicode/numfmt.h:273: note: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(int64_t, icu_4_0::UnicodeString&) const /opt/cppcms/booster/lib/locale/src/formatter.cpp: In member function ‘virtual std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> > booster::locale::impl::number_format<CharType>::format(booster::uint64_t, size_t&) const’: /opt/cppcms/booster/lib/locale/src/formatter.cpp:73: error: call of overloaded ‘format(booster::int64_t&, icu_4_0::UnicodeString&)’ is ambiguous /usr/include/unicode/numfmt.h:247: note: candidates are: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(double, icu_4_0::UnicodeString&) const /usr/include/unicode/numfmt.h:260: note: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(int32_t, icu_4_0::UnicodeString&) const /usr/include/unicode/numfmt.h:273: note: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(int64_t, icu_4_0::UnicodeString&) const /opt/cppcms/booster/lib/locale/src/formatter.cpp: In member function ‘virtual std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> > booster::locale::impl::number_format<CharType>::format(booster::uint32_t, size_t&) const’: /opt/cppcms/booster/lib/locale/src/formatter.cpp:91: error: call of overloaded ‘format(booster::int64_t&, icu_4_0::UnicodeString&)’ is ambiguous /usr/include/unicode/numfmt.h:247: note: candidates are: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(double, icu_4_0::UnicodeString&) const /usr/include/unicode/numfmt.h:260: note: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(int32_t, icu_4_0::UnicodeString&) const /usr/include/unicode/numfmt.h:273: note: icu_4_0::UnicodeString& icu_4_0::NumberFormat::format(int64_t, icu_4_0::UnicodeString&) const make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/formatter.cpp.o] Error 1 make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 make: *** [all] Error 2 I use: . 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux . CppCMS version At revision 1395 . Python 2.6.4rc2 . cmake version 2.6-patch 4 . PCRE version 7.8 2008-09-05 . gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 I guess, the errors above about booster::locale conflict with icu_4_0 namespace, so "formater.cpp" can't find the right function (format) in the booster::locale. How I can fix this? |