Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-09-07 12:26:37


Gérald FAUVELLE wrote:
> Hello,
>
> I've searched in both stlport and boost forums, but I couldn't find
> anything yet about my problem.
>
> I'm using boost 1.33, and I tried to compiled with STL port. Boost
> compiles fine (except boost python, but I'll have a look later) and
> when I link my program, I have the following errors :
>
> boost.lib(w32_regex_traits.obj) : error LNK2019: unresolved external
> symbol "__declspec(dllimport) public: __thiscall
> stlp_std::basic_string<unsigned short,class
> stlp_std::char_traits<unsigned short>,class
> stlp_std::allocator<unsigned short> >::basic_string<unsigned
> short,class stlp_std::char_traits<unsigned short>,class
> stlp_std::allocator<unsigned short> >(unsigned short const *,class
> stlp_std::allocator<unsigned short> const &)"
>
> Do you have an idea of what could be the problem, and how to solve it
> ?

Very strange, we do test with MSVC+STLport and I haven't seen that one
before ! Could this relate to the way you built STLport: maybe with wchar_t
as a native type? Boost.Regex assumes that wchar_t is not a native type
when using STLport, because that's STLport's default behaviour.

Hopefully this gives you some clue...?

John.


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