i first compiled
(succesfully) stlport 4.6.2.
then i ran "bjam
"-sTOOLS=vc7.1-stlport" install" and it failed compiling the regex
library.
then i manually went
to the libs\regex\build folder and ran "nmake /f vc7.1-stlport clean install"
and it compiled the first thing ok and the 2nd time around threw a LOT of linker
errors (well, only ~49, but they're stl-style-long :D). I set correctly the
STLPORT_VERSION and the STLPORT_PATH env vars, the tools were loaded ok, the
INCLUDE env var had stlport's include dir first... AND IT COMPILED OK the first
one... here's a screenshot of the last page of errors. please help
me...
winstances.obj :
error LNK2019: unresolved external symbol "__declspec(dllimport
) public:
__thiscall _STL::basic_string<wchar_t,class
_STL::char_traits<wchar_t>
,class _STL::allocator<wchar_t>
>::basic_string<wchar_t,class _STL::char_traits<
wchar_t>,class
_STL::allocator<wchar_t> >(wchar_t const *,unsigned int,class
_ST
L::allocator<wchar_t> const &)" (__imp_??0?$basic_string@_WV?$char_traits@_W@_ST
L@@V?$allocator@_W@2@@_STL@@QAE@PB_WIABV?$allocator@_W@1@@Z)
referenced in funct
ion "public: class _STL::basic_string<wchar_t,class
_STL::char_traits<wchar_t>,c
lass _STL::allocator<wchar_t> >
__fastcall boost::reg_expression<wchar_t,class
b
oost::regex_traits<wchar_t>,class _STL::allocator<wchar_t>
>::str(void)const " (
?str@?$reg_expression@_WV?$regex_traits@_W@boost@@V?$allocator@_W@_STL@@@boost@@
QBI?AV?$basic_string@_WV?$char_traits@_W@_STL@@V?$allocator@_W@2@@_STL@@XZ)
winstances.obj
: error LNK2019: unresolved external symbol "__declspec(dllimport
) public:
int __thiscall _STL::basic_string<wchar_t,class
_STL::char_traits<wcha
r_t>,class _STL::allocator<wchar_t>
>::compare(class _STL::basic_string<wchar_t,
class
_STL::char_traits<wchar_t>,class _STL::allocator<wchar_t> > const
&)const
" (__imp_?compare@?$basic_string@_WV?$char_traits@_W@_STL@@V?$allocator@_W@2@@_S
TL@@QBEHABV12@@Z) referenced in function
"public: int __fastcall boost::reg_expr
ession<wchar_t,class
boost::regex_traits<wchar_t>,class
_STL::allocator<wchar_t>
>::compare(class
boost::reg_expression<wchar_t,class
boost::regex_traits<wchar_
t>,class _STL::allocator<wchar_t> >
const &)const " (?compare@?$reg_expression@_
WV?$regex_traits@_W@boost@@V?$allocator@_W@_STL@@@boost@@QBIHABV12@@Z)
winstances.obj
: error LNK2019: unresolved external symbol "__declspec(dllimport
) public:
class _STL::basic_string<wchar_t,class
_STL::char_traits<wchar_t>,clas
s _STL::allocator<wchar_t> >
& __thiscall _STL::basic_string<wchar_t,class
_STL:
:char_traits<wchar_t>,class _STL::allocator<wchar_t>
>::assign(unsigned int,wcha
r_t)" (__imp_?assign@?$basic_string@_WV?$char_traits@_W@_STL@@V?$allocator@_W@2@
@_STL@@QAEAAV12@I_W@Z)
referenced in function "private: struct boost::re_detail:
:re_syntax_base *
__fastcall boost::reg_expression<wchar_t,class
boost::regex_tr
aits<wchar_t>,class _STL::allocator<wchar_t>
>::compile_set_aux(class boost::re_
detail::jstack<class
_STL::basic_string<wchar_t,class _STL::char_traits<wchar_t>
,class
_STL::allocator<wchar_t> >,class _STL::allocator<wchar_t> >
&,class boost
::re_detail::jstack<class
_STL::basic_string<wchar_t,class _STL::char_traits<wch
ar_t>,class
_STL::allocator<wchar_t> >,class _STL::allocator<wchar_t> >
&,class
boost::re_detail::jstack<unsigned long,class
_STL::allocator<wchar_t> >
&,class
boost::re_detail::jstack<class
_STL::basic_string<wchar_t,class _STL::char_trait
s<wchar_t>,class
_STL::allocator<wchar_t> >,class _STL::allocator<wchar_t> >
&,b
ool,struct boost::re_detail::_narrow_type const &)" (?compile_set_aux@?$reg_expr
ession@_WV?$regex_traits@_W@boost@@V?$allocator@_W@_STL@@@boost@@AAIPAUre_syntax
_base@re_detail@2@AAV?$jstack@V?$basic_string@_WV?$char_traits@_W@_STL@@V?$alloc
ator@_W@2@@_STL@@V?$allocator@_W@2@@42@0AAV?$jstack@KV?$allocator@_W@_STL@@@42@0
_NABU_narrow_type@42@@Z)
vc71-stlport/boost_regex-vc71-mt-p-1_31.dll
: fatal error LNK1120: 49 unresolved
externals
NMAKE : fatal error
U1077: 'link' : return code '0x460'
Stop.