Boost logo

Boost-Build :

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


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::char_traits<wchar_t>,class stlpd_std::allocator<wchar_t>
>::size(void)const " (__imp_?s
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 &)

I saw that when compiling the filesystem library, DateTime and other,
but I was surprised when I saw that also when compiling
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,

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at