build Bombono in bionic beaver
by pmv from LinuxQuestions.org on (#5BK80)
If I run scons I get:
Code:src/mgui/dvdimport.cpp: In function void DVD::OnPreparePage(DVD::ImportData&)':
src/mgui/dvdimport.cpp:214:82: error: ambiguous overload for operator<<' (operand types are str::stream' and const char [3]')
std::string desc = (str::stream(Mpeg::SecToHMS(vob.tmLen, true)) << ", "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from src/mgui/project/add.h:28:0,
from src/mgui/dvdimport.cpp:27:
src/mlib/string.h:54:18: note: candidate: str::stream& str::stream::operator<<(T) [with T = const char*]
stream& operator << (T t)
^~~~~~~~
In file included from /usr/include/boost/format/detail/compat_workarounds.hpp:60:0,
from /usr/include/boost/format.hpp:27,
from src/mlib/format.h:49,
from src/mbase/project/_extlibs_.h:37,
from src/mgui/_extlibs_.h:31,
from src/mgui/_pc_.h:29,
from src/mgui/dvdimport.cpp:22:
/usr/include/c++/7/ostream:682:5: note: candidate: typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = str::stream; _Tp = char [3]; typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type = std::basic_ostream<char>&]
operator<<(_Ostream&& __os, const _Tp& __x)
^~~~~~~~
scons: *** [build/src/mgui/dvdimport.o] Error 1
scons: building terminated because of errors.


Code:src/mgui/dvdimport.cpp: In function void DVD::OnPreparePage(DVD::ImportData&)':
src/mgui/dvdimport.cpp:214:82: error: ambiguous overload for operator<<' (operand types are str::stream' and const char [3]')
std::string desc = (str::stream(Mpeg::SecToHMS(vob.tmLen, true)) << ", "
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from src/mgui/project/add.h:28:0,
from src/mgui/dvdimport.cpp:27:
src/mlib/string.h:54:18: note: candidate: str::stream& str::stream::operator<<(T) [with T = const char*]
stream& operator << (T t)
^~~~~~~~
In file included from /usr/include/boost/format/detail/compat_workarounds.hpp:60:0,
from /usr/include/boost/format.hpp:27,
from src/mlib/format.h:49,
from src/mbase/project/_extlibs_.h:37,
from src/mgui/_extlibs_.h:31,
from src/mgui/_pc_.h:29,
from src/mgui/dvdimport.cpp:22:
/usr/include/c++/7/ostream:682:5: note: candidate: typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = str::stream; _Tp = char [3]; typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type = std::basic_ostream<char>&]
operator<<(_Ostream&& __os, const _Tp& __x)
^~~~~~~~
scons: *** [build/src/mgui/dvdimport.o] Error 1
scons: building terminated because of errors.