All,
I have a requirement to utilize STLport in my projects. I am
fairly confident that I have BOOST (v1.34.1) and STLport (v5.1.5) correctly
working with each other. Now I need to get QL (v0.9.0) correctly working with
BOOST and STLport – which is not going so well. I have tried a host of different
configurations (building STLport with/without iostreams, building STLport
with/without BOOST support, hacking BOOST jam files, etc…). Anyway,
nearly every configuration results in errors of the form:
error C2679: binary '<<' : no operator found which
takes a right-hand operand of type 'stlp_std::string' (or there is no
acceptable conversion)
One example of this error can be viewed in daycounter.hpp on
line 142:
inline std::ostream& operator<<(std::ostream&
out, const DayCounter &d)
{
return out << d.name(); ß This is the bad line!
}
I have built several applications with similar code and do
not have any issues. As such, I am thinking that there is something that I need
to do in the QL configuration to so that STLport can be used – which I
cannot find any information on.
My build system is as follows:
·
Microsoft Visual Studio 2005 (v8.0.50727
SP.050727-7600)
·
BOOST (v 1.34.1)
·
STLport (v 5.1.5)
·
Microsoft Windows XP Professional (v2002 SP-2)
·
Pentium D CPUs @ 3.4GHz and 2GB of RAM
Any help would be greatly appreciated. If additional
information is required, please let me know.
Regards,
David
Free forum by Nabble | Disable Popup Ads | Edit this page |