Boost logo

Boost Users :

From: Reuti_Raman_Babu_at_[hidden]
Date: 2003-12-02 08:00:23


Thank for the earlier responses.

It seems almost impossible to build regex lib to Pocket PC platform.

I am getting following errors:

regexs.lib(src.obj) : error LNK2001: unresolved external symbol "public:
__cdecl boost::w32_regex_traits<unsigned short>::w32_regex_traits<unsigned
short>(void)" (??0?$w32_regex_traits_at_G@boost@@QAA_at_XZ)
regexs.lib(src.obj) : error LNK2019: unresolved external symbol
CreateFileMappingA referenced in function "public: void __cdecl
boost::re_detail::mapfile::open(char const *)"
(?open_at_mapfile@re_detail_at_boost@@QAAXPBD_at_Z)
regexs.lib(src.obj) : error LNK2019: unresolved external symbol CreateFileA
referenced in function "public: void __cdecl
boost::re_detail::mapfile::open(char const *)"
(?open_at_mapfile@re_detail_at_boost@@QAAXPBD_at_Z)
regexs.lib(src.obj) : error LNK2019: unresolved external symbol
FindFirstFileA referenced in function "public: __cdecl
boost::re_detail::file_iterator::file_iterator(char const *)"
(??0file_iterator_at_re_detail_at_boost@@QAA_at_PBD@Z)
regexs.lib(src.obj) : error LNK2019: unresolved external symbol
FindNextFileA referenced in function "public: void __cdecl
boost::re_detail::file_iterator::next(void)"
(?next_at_file_iterator_at_re_detail_at_boost@@QAAXXZ)
regexs.lib(src.obj) : error LNK2019: unresolved external symbol "public:
static class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __fastcall
boost::re_detail::w32_traits_base::error_string(unsigned int)" (?erro

This error description

"regexs.lib(src.obj) : error LNK2001: unresolved external symbol "public:
__cdecl boost::w32_regex_traits<unsigned short>::w32_regex_traits<unsigned
short>(void)" (??0?$w32_regex_traits_at_G@boost@@QAA_at_XZ)"

doesn't make much sense to me.

Others are not supported by Pocket PC 2003 SDK.Although unicode version of
corresssponding API is supported.

Please suggest any solution .

Regards,
Reuti

                                                                                                                  
                      "John Maddock"
                      <john_at_johnmaddock To: <Reuti_at_[hidden]>
                      .co.uk> cc:
                                               Subject: Re: regex static lib for x86 emulator
                      11/20/2003 06:57
                      PM
                                                                                                                  
                                                                                                                  

> I can build static library for ARM processor.
> But when building for X86 emulator I am getting following error.
>
> LINK : fatal error LNK1104: cannot open file 'boost_regex_vc6_sss.lib'
>
> Please help.

You shouldn't see that when building the source, only when trying to link a
dll of exe that uses the lib - but in any case defining BOOST_REGEX_NO_LIB
when building your code will stop the headers from looking for a lib to
link
to, and allow you to specify your own lib to link to.

I hope that makes it clear :-)

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