Boost logo

Boost-Build :

From: Marcello Pietrobon (pietrom_at_[hidden])
Date: 2007-07-03 17:15:00


Hi,

I am not sure if this is the right place for this post.
If not, please let me know where should I post this.

Using msvc71 on WinXP
Using stlport 5.1.3 and downloaded boost 1.34.1 (not from cvs )

I am getting in many places this linker error:
test_comparison.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
stlpd_std::basic_string<wchar_t,class
stlpd_std::char_traits<wchar_t>,class stlpd_std::allocator<wchar_t>
>::size(void)const " (__imp_?s
ize@?$basic_string@_WV?$char_traits@_W_at_stlpd_std@@V?$allocator@_W_at_2@@stlpd_std@@QBEIXZ)
referenced in function "class stlpd_std::basic_ostream<wchar_t,class
stlpd_std::char_traits<wchar_t> > & __cdecl
stlpd_std::operator<<<wchar_t,class stlpd_std::char_tr
aits<wchar_t>,class stlpd_std::allocator<wchar_t> >(class
stlpd_std::basic_ostream<wchar_t,class stlpd_std::char_traits<wchar_t> >
&,class stlpd_std::basic_string<wchar_t,class
stlpd_std::char_traits<wchar_t>,class stlpd_std::allocator<wchar_t> >
const &)
"
(??$?6_WV?$char_traits@_W_at_stlpd_std@@V?$allocator@_W_at_1@@stlpd_std@@YAAAV?$basic_ostream@_WV?$char_traits@_W_at_stlpd_std@@@0_at_AAV10@ABV?$basic_string@_WV?$char_traits@_W_at_stlpd_std@@V?$allocator@_W_at_2@@0@@Z)

I saw that when compiling the filesystem library, DateTime and other,
but I was surprised when I saw that also when compiling
libs\multi_index\test
as the author clearly reports no errors in a library configuration
similar to mine

I used the command (inside that directory )
bjam toolset=msvc-7.1 stdlib=stlport

Many libraries are compiling and linking correctly.
If I compile from the command line, without stlport, both with vc71 or
vc80 everything seems ok.
But I need to use stlport.

If you have any hints I will be thankful,
Marcello


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk