|
Boost Users : |
From: Sliwa, Przemyslaw (London) (Przemyslaw_Sliwa_at_[hidden])
Date: 2006-01-20 04:57:32
Thanks for help,
I would like to build (compile and link) some examples from the
filesystem directory.
Can anyone tell me how to do this? In which file I can find the compiler
and linker flags used by bjam for vc-7_1-stlport build?
Perhaps if I will not be able to link this will indicate some errors in
the compiler flags I am using in my program.
Thank
Pshemek
Kind regards
Pshemek
Przemyslaw Sliwa
Global Foreign Exchange
FX Risk Engine Development
Merrill Lynch
( +44 (0)20 7995 4182
) +44 (0)79 6325 2319
* Email: przemyslaw_sliwa_at_[hidden]
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Rene Rivera
Sent: 19 January 2006 17:23
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] STL-PORT and VC 7.1
Sliwa, Przemyslaw (London) wrote:
> This is the program taken from the tutorial I am trying to
compile/link:
> http://www.boost.org/libs/filesystem/example/simple_ls.cpp
From below I can't see which of the filesystem lib variants it's trying
to link to. Somewhere in your compile log you should have a "linking to
..." mentioning the filesystem lib. Could you post that.
> "_WIN32_WINNT=0x0501" /D "WINVER=0x0501" /D "_STLP_DEBUG" /D "_MBCS"
/FD
Well during building bjam sets: /D "_STLPORT_DEBUG=1", but I can't
remember if the value matters.
> Linking...
> main.obj : error LNK2019: unresolved external symbol "public: class
> _STL::basic_string<char,class _STL::char_traits<char>,class
The "_STL::..." is a sign that it's not using STLport somehow. Because
it should be using something like "stlp_std::...".
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------
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