Re: regex static lib for x86 emulator
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@G@boost@@QAA@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@mapfile@re_detail@boost@@QAAXPBD@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@mapfile@re_detail@boost@@QAAXPBD@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@re_detail@boost@@QAA@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@file_iterator@re_detail@boost@@QAAXXZ)
regexs.lib(src.obj) : error LNK2019: unresolved external symbol "public:
static class std::basic_string
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.
It seems almost impossible to build regex lib to Pocket PC platform.
I am getting following errors:
[snipped]
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@G@boost@@QAA@XZ)"
doesn't make much sense to me.
Nor me, the only time I've seen something like that is if you are building a dll, but a symble declared dllexport is absent from any of the source files - for example if a source file was missing from your project file.
Others are not supported by Pocket PC 2003 SDK.Although unicode version of corresssponding API is supported.
Please suggest any solution .
The only thing I can think of is to uncomment the line: // #define BOOST_REGEX_NO_W32 In boost/regex/user.hpp and disable the direct win32 support altogether (so it just calls the C runtime API's instead). John.
participants (2)
-
John Maddock
-
Reuti_Raman_Babu@sdc.canon.co.in