Boost logo

Boost Users :

From: Tom Matelich (tmatelich_at_[hidden])
Date: 2003-05-21 11:40:11


We've used Intel 6-7.1, with boost and STLPort for the last 9 months. I
also make sure to use the latest Platform SDK. There were a few issues here
and there, but things mostly went fine.

Is your STLPort built with Intel or MSVC? Here are our instructions for
building STLPort from our wiki:

* edit stlport/stl_user_config,uncomment the macro _STLP_NEW_PLATFORM_SDK
defined.
* on the command line, go to the src subdirectory
* run nmake -f intel50.mak clean all (make sure in your global include path
that the SDK inlclude path comes before the VC98 path otherwise you will get
build errors)
* If successful, run nmake -f intel50.mak all install
* In MSVC, go to tools/options/Directories, and make [path to
msvc]/VC98/include/stlport the first entry in the list.

After that: What command line options are you using? Are you using MSVC or
Makefiles?

I just went and looked at your errors again... It says std::. That implies
you are not using STLPort, because theirs comes up saying STLP:: (or
something like that).

> -----Original Message-----
> From: Andre du Toit [mailto:adutoit_at_[hidden]]
> Sent: Wednesday, May 21, 2003 11:45 AM
> To: boost-users
> Subject: [Boost-Users] Intel compiler, Boost and STLPort (3rd try)
>
>
> Ahem, could someone please answer my simple question:
>
> Is is possible to compile programs which use Boost and
> STLPort (instead
> of Microsoft Foundation Classes) with the Intel compiler, on Windows?
>
> I am getting all kinds of weird errors which relate to streaming
> operators, which makes me think that my usage of STLPort might be
> involved? On the other hand, if I use MSCV6 instead of Intel
> compiler
> (7.0) I do not get the same errors. It seems that some of
> our in-house
> software can't be compiled with MSVC6 because of problems
> this specific
> compiler has with templates. The same code compiles without
> problem on
> the latest GCC compilers.
>
> My latest source of joy is the following (about which I am totally
> clueless) :
>
> C:\PROGRAM FILES\BOOST_1_30_0\boost/lexical_cast.hpp(147): error: no
> operator "<<" matches these operands
> operand types are: std::basic_stringstream<wchar_t,
> std::char_traits<wchar_t>, std::allocator<wchar_t>> << const
> std::basic_string<char, std::char_traits<char>, std::allocator<char>>
> return stream << input;
> ^
> detected during:
> instantiation of "bool={bool}
> boost::detail::lexical_stream<Target,
> Source>::operator<<(const Source
> &) [with Target=unsigned short, Source=std::basic_string<char,
> std::char_traits<char>, std::allocator<char>>]" at line 192
> instantiation of "Target
> boost::lexical_cast<Target,Source>(Source) [with
> Target=unsigned short,
> Source=std::basic_string<char, std::char_traits<char>,
> std::allocator<char>>]" at line 30 of "C:\PROGRAM
> FILES\BOOST_1_30_0\boost/date_time/
> time_parsing.hpp"
> instantiation of "time_duration
> boost::date_time::parse_delimited_time_duration<time_duration>(const
> std::string &) [with time_duration=boost::posix_time::time_duration]"
> C:\PROGRAM FILES\BOOST_1_30_0\boost/lexical_cast.hpp(153): error: no
> operator ">>" matches these operands
> operand types are: std::basic_stringstream<char,
> std::char_traits<char>, std::allocator<char>> >> boost::int64_t
> stream >> output &&
> ^
> detected during:
> instantiation of "bool={bool}
> boost::detail::lexical_stream<Target,
> Source>::operator>>(InputStreamable &) [with
> Target=boost::int64_t={__int64}, Source=std::basic_string<char,
> std::char_traits<char>, std::allocator<char>>, InputStreamab
> le=boost::int64_t={__int64}]" at line 192
> instantiation of "Target
> boost::lexical_cast<Target,Source>(Source) [with
> Target=boost::int64_t={__int64}, Source=std::basic_string<char,
> std::char_traits<char>, std::allocator<char>>]" at line 47 of
> "C:\PROGRAM FILES\BOOST_1_30_0\boost/
> date_time/time_parsing.hpp"
> instantiation of "time_duration
> boost::date_time::parse_delimited_time_duration<time_duration>(const
> std::string &) [with time_duration=boost::posix_time::time_duration]"
>
> Greetings,
> Andre.
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Get A Free Psychic Reading! Your Online Answer To Life's
> Important Questions.
> http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/EbFolB/TM
> --------------------------------------------------------------
> -------~->
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>

-----------------------------------------------------------------------
DISCLAIMER: Information contained in this message and/or
attachment(s) may contain confidential information of Zetec, Inc.
If you have received this transmission in error, please notify
the sender by return email.
-----------------------------------------------------------------------


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net