Error compiling REGEX under vc7.1 + stlport
People,
this is one of the errors I got when compiling boost regex with vc7.1 +
stlport:
vc-Link
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex-vc71-mt-p-1_31.dll
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex-vc71-mt-p-1_31.lib
Creating library
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex-vc71-mt-p-1_31.lib
and object
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex-vc71-mt-p-1_31.exp
winstances.obj : error LNK2001: unresolved external symbol "private:
unsigned int __fastcall
boost::cpp_regex_traits
we just had this talk.
update to the latest cvs build and use the makefile to compile it.
----------------------------------
Peace and love,
Tweety
mitea@sympatico.ca - tweety_04_01@users.sourceforge.net
YahooID: tweety_04_01
_____
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com
Sent: August 2, 2004 9:11 AM
To: boost-users@lists.boost.org
Subject: [Boost-users] Error compiling REGEX under vc7.1 + stlport
People,
this is one of the errors I got when compiling boost regex with vc7.1 +
stlport:
vc-Link
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex
-vc71-mt-p-1_31.dll
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex
-vc71-mt-p-1_31.lib
Creating library
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex
-vc71-mt-p-1_31.lib and object
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\release\boost_regex
-vc71-mt-p-1_31.exp
winstances.obj : error LNK2001: unresolved external symbol "private:
unsigned int __fastcall
boost::cpp_regex_traits
I did, and got errors in date_time also, then switched back to 1.31, twisted some things on the boost::regex code and finally got it compiled ok...... But another errors appeared, when I try to link it in my project I got errors about unresolved symbols, soh I put the #define's I found in your discussion, and got nowhere..... Any ideas? I can post the error codes, even the linker output here....... Regards, RFL boost-users-bounces@lists.boost.org gravou em 02/08/2004 11:14:56:
we just had this talk. update to the latest cvs build and use the makefile to compile it.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 9:11 AM To: boost-users@lists.boost.org Subject: [Boost-users] Error compiling REGEX under vc7.1 + stlport
People,
this is one of the errors I got when compiling boost regex with vc7. 1 + stlport:
vc-Link bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.lib Creating library bin\boost\libs\regex\build\boost_regex.dll\vc7. 1-stlport\release\boost_regex-vc71-mt-p-1_31.lib and object bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.exp winstances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits
:: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) regex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) w32_regex_traits.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) wide_posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) instances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) c_regex_traits.obj : error LNK2019: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) referenced in function "public: unsigned int __fastcall boost::cpp_regex_traits :: syntax_type(unsigned int)const " (?syntax_type@? $cpp_regex_traits@_W@boost@@QBIII@Z) c_regex_traits_common.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost:: cpp_regex_traits ::do_syntax_type(unsigned int)const " (? do_syntax_type@?$cpp_regex_traits@_W@boost@@ABIII@Z) cregex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll : fatal error LNK1120: 1 unresolved externals The odd thing is that when i compile boost withou stlport included it does not generate this erros, but it would be perfect to have
stlport+boost
Any ideas?
Thanks in advance, Rodrigo_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
yeah i know. the 1.31 build is useless with vc7.1 and stlport. upgrade to the latest cvs build and use the MAKEFILE not bjam. it will work then. ---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01 _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 11:56 AM To: boost-users@lists.boost.org Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport I did, and got errors in date_time also, then switched back to 1.31, twisted some things on the boost::regex code and finally got it compiled ok...... But another errors appeared, when I try to link it in my project I got errors about unresolved symbols, soh I put the #define's I found in your discussion, and got nowhere..... Any ideas? I can post the error codes, even the linker output here....... Regards, RFL boost-users-bounces@lists.boost.org gravou em 02/08/2004 11:14:56:
we just had this talk. update to the latest cvs build and use the makefile to compile it.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 9:11 AM To: boost-users@lists.boost.org Subject: [Boost-users] Error compiling REGEX under vc7.1 + stlport
People,
this is one of the errors I got when compiling boost regex with vc7. 1 + stlport:
vc-Link bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.lib Creating library bin\boost\libs\regex\build\boost_regex.dll\vc7. 1-stlport\release\boost_regex-vc71-mt-p-1_31.lib and object bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.exp winstances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits
:: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) regex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) w32_regex_traits.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) wide_posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) instances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) c_regex_traits.obj : error LNK2019: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) referenced in function "public: unsigned int __fastcall boost::cpp_regex_traits :: syntax_type(unsigned int)const " (?syntax_type@? $cpp_regex_traits@_W@boost@@QBIII@Z) c_regex_traits_common.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost:: cpp_regex_traits ::do_syntax_type(unsigned int)const " (? do_syntax_type@?$cpp_regex_traits@_W@boost@@ABIII@Z) cregex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll : fatal error LNK1120: 1 unresolved externals The odd thing is that when i compile boost withou stlport included it does not generate this erros, but it would be perfect to have
stlport+boost
Any ideas?
Thanks in advance, Rodrigo_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Any special command line options or just nmake /f ....... ??? How have you solved the problem of the unresolved symbols, while integrating regex with your project? Oh, can I compile through nmake and still benefit from stlport? Thanks a lot....... Rodrigo boost-users-bounces@lists.boost.org gravou em 02/08/2004 14:56:58:
yeah i know. the 1.31 build is useless with vc7.1 and stlport. upgrade to the latest cvs build and use the MAKEFILE not bjam. it will work then.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 11:56 AM To: boost-users@lists.boost.org Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport
I did, and got errors in date_time also, then switched back to 1.31, twisted some things on the boost::regex code and finally got it compiled ok......
But another errors appeared, when I try to link it in my project I got errors about unresolved symbols, soh I put the #define's I found in your discussion, and got nowhere.....
Any ideas? I can post the error codes, even the linker output
here.......
Regards, RFL
boost-users-bounces@lists.boost.org gravou em 02/08/2004 11:14:56:
we just had this talk. update to the latest cvs build and use the makefile to compile it.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 9:11 AM To: boost-users@lists.boost.org Subject: [Boost-users] Error compiling REGEX under vc7.1 + stlport
People,
this is one of the errors I got when compiling boost regex with vc7. 1 + stlport:
vc-Link bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.lib Creating library bin\boost\libs\regex\build\boost_regex.dll\vc7. 1-stlport\release\boost_regex-vc71-mt-p-1_31.lib and object bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.exp winstances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits
:: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) regex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) w32_regex_traits.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) wide_posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) instances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) c_regex_traits.obj : error LNK2019: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) referenced in function "public: unsigned int __fastcall boost::cpp_regex_traits :: syntax_type(unsigned int)const " (?syntax_type@? $cpp_regex_traits@_W@boost@@QBIII@Z) c_regex_traits_common.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost:: cpp_regex_traits ::do_syntax_type(unsigned int)const " (? do_syntax_type@?$cpp_regex_traits@_W@boost@@ABIII@Z) cregex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll : fatal error LNK1120: 1 unresolved externals The odd thing is that when i compile boost withou stlport included it does not generate this erros, but it would be perfect to have
stlport+boost
Any ideas?
Thanks in advance, Rodrigo_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
name /f vc7.1-stlport is enough no more link errors. ---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01 _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 2:42 PM To: boost-users@lists.boost.org Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport Any special command line options or just nmake /f ....... ??? How have you solved the problem of the unresolved symbols, while integrating regex with your project? Oh, can I compile through nmake and still benefit from stlport? Thanks a lot....... Rodrigo boost-users-bounces@lists.boost.org gravou em 02/08/2004 14:56:58:
yeah i know. the 1.31 build is useless with vc7.1 and stlport. upgrade to the latest cvs build and use the MAKEFILE not bjam. it will work then.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 11:56 AM To: boost-users@lists.boost.org Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport
I did, and got errors in date_time also, then switched back to 1.31, twisted some things on the boost::regex code and finally got it compiled ok......
But another errors appeared, when I try to link it in my project I got errors about unresolved symbols, soh I put the #define's I found in your discussion, and got nowhere.....
Any ideas? I can post the error codes, even the linker output here.......
Regards, RFL
boost-users-bounces@lists.boost.org gravou em 02/08/2004 11:14:56:
we just had this talk. update to the latest cvs build and use the makefile to compile it.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 9:11 AM To: boost-users@lists.boost.org Subject: [Boost-users] Error compiling REGEX under vc7.1 + stlport
People,
this is one of the errors I got when compiling boost regex with vc7. 1 + stlport:
vc-Link bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.lib Creating library bin\boost\libs\regex\build\boost_regex.dll\vc7. 1-stlport\release\boost_regex-vc71-mt-p-1_31.lib and object bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.exp winstances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits
:: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) regex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) w32_regex_traits.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) wide_posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) instances.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) c_regex_traits.obj : error LNK2019: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) referenced in function "public: unsigned int __fastcall boost::cpp_regex_traits :: syntax_type(unsigned int)const " (?syntax_type@? $cpp_regex_traits@_W@boost@@QBIII@Z) c_regex_traits_common.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost:: cpp_regex_traits ::do_syntax_type(unsigned int)const " (? do_syntax_type@?$cpp_regex_traits@_W@boost@@ABIII@Z) cregex.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) posix_api.obj : error LNK2001: unresolved external symbol "private: unsigned int __fastcall boost::cpp_regex_traits :: do_syntax_type(unsigned int)const " (?do_syntax_type@? $cpp_regex_traits@_W@boost@@ABIII@Z) bin\boost\libs\regex\build\boost_regex.dll\vc7.1- stlport\release\boost_regex-vc71-mt-p-1_31.dll : fatal error LNK1120: 1 unresolved externals The odd thing is that when i compile boost withou stlport included it does not generate this erros, but it would be perfect to have
stlport+boost
Any ideas?
Thanks in advance, Rodrigo_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
i meant nmake /f vc7.1-stlport
didn't sleep that well last night :(
----------------------------------
Peace and love,
Tweety
mitea@sympatico.ca - tweety_04_01@users.sourceforge.net
YahooID: tweety_04_01
________________________________
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of tweety
Sent: August 2, 2004 8:01 PM
To: boost-users@lists.boost.org
Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 +
stlport
name /f vc7.1-stlport is enough
no more link errors.
----------------------------------
Peace and love,
Tweety
mitea@sympatico.ca - tweety_04_01@users.sourceforge.net
YahooID: tweety_04_01
________________________________
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com
Sent: August 2, 2004 2:42 PM
To: boost-users@lists.boost.org
Subject: RE: [Boost-users] Error compiling REGEX under vc7.1
+ stlport
Any special command line options or just nmake /f .......
???
How have you solved the problem of the unresolved symbols,
while integrating regex with your project?
Oh, can I compile through nmake and still benefit from
stlport?
Thanks a lot.......
Rodrigo
boost-users-bounces@lists.boost.org gravou em 02/08/2004
14:56:58:
> yeah i know. the 1.31 build is useless with vc7.1 and
stlport.
> upgrade to the latest cvs build and use the MAKEFILE not
bjam. it
> will work then.
>
> ----------------------------------
> Peace and love,
> Tweety
> mitea@sympatico.ca - tweety_04_01@users.sourceforge.net
> YahooID: tweety_04_01
>
> From: boost-users-bounces@lists.boost.org
[mailto:boost-users-
> bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com
> Sent: August 2, 2004 11:56 AM
> To: boost-users@lists.boost.org
> Subject: RE: [Boost-users] Error compiling REGEX under
vc7.1 + stlport
>
> I did, and got errors in date_time also, then switched
back to 1.31,
> twisted some things on the boost::regex code and finally
got it
> compiled ok......
>
> But another errors appeared, when I try to link it in my
project I
> got errors about unresolved symbols, soh I put the
#define's I found
> in your discussion, and got nowhere.....
>
> Any ideas? I can post the error codes, even the linker
output here.......
>
> Regards,
> RFL
>
> boost-users-bounces@lists.boost.org gravou em 02/08/2004
11:14:56:
>
> > we just had this talk.
> > update to the latest cvs build and use the makefile to
compile it.
> >
> > ----------------------------------
> > Peace and love,
> > Tweety
> > mitea@sympatico.ca - tweety_04_01@users.sourceforge.net
> > YahooID: tweety_04_01
> >
> > From: boost-users-bounces@lists.boost.org
[mailto:boost-users-
> > bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com
> > Sent: August 2, 2004 9:11 AM
> > To: boost-users@lists.boost.org
> > Subject: [Boost-users] Error compiling REGEX under vc7.1
+ stlport
>
> >
> > People,
> >
> > this is one of the errors I got when compiling boost
regex with vc7.
> > 1 + stlport:
> >
> >
> >
> > vc-Link
bin\boost\libs\regex\build\boost_regex.dll\vc7.1-
> > stlport\release\boost_regex-vc71-mt-p-1_31.dll
> > bin\boost\libs\regex\build\boost_regex.dll\vc7.1-
> > stlport\release\boost_regex-vc71-mt-p-1_31.lib
> > Creating library
bin\boost\libs\regex\build\boost_regex.dll\vc7.
> > 1-stlport\release\boost_regex-vc71-mt-p-1_31.lib and
object
> > bin\boost\libs\regex\build\boost_regex.dll\vc7.1-
> > stlport\release\boost_regex-vc71-mt-p-1_31.exp
> > winstances.obj : error LNK2001: unresolved external
symbol "private:
> > unsigned int __fastcall
boost::cpp_regex_traits
Did that and compiled OK....... BUT, when trying to use it in VC71 got the same link errors you did...... Does it have something related to precompiled heades? []'s Rodrigo Falcetta Laperuta ___________________________________ Consultor - BRQ - SP Tel.: (11) 2126-7001 rflaperuta@brq.com - www.brq.com boost-users-bounces@lists.boost.org gravou em 03/08/2004 00:30:16:
i meant nmake /f vc7.1-stlport didn't sleep that well last night :(
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
________________________________
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of tweety Sent: August 2, 2004 8:01 PM To: boost-users@lists.boost.org Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport
name /f vc7.1-stlport is enough no more link errors.
---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
________________________________
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 2, 2004 2:42 PM To: boost-users@lists.boost.org Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport
Any special command line options or just nmake /f ....... ???
How have you solved the problem of the unresolved symbols, while integrating regex with your project? Oh, can I compile through nmake and still benefit from stlport?
Thanks a lot....... Rodrigo
boost-users-bounces@lists.boost.org gravou em 02/08/2004 14:56:58:
> yeah i know. the 1.31 build is useless with vc7.1 and stlport. > upgrade to the latest cvs build and use the MAKEFILE not bjam. it > will work then. > > ---------------------------------- > Peace and love, > Tweety > mitea@sympatico.ca - tweety_04_01@users.sourceforge.net > YahooID: tweety_04_01 > > From: boost-users-bounces@lists.boost.org [mailto:boost-users- > bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com > Sent: August 2, 2004 11:56 AM > To: boost-users@lists.boost.org > Subject: RE: [Boost-users] Error compiling REGEX under vc7.1 + stlport
> > I did, and got errors in date_time also, then switched back to 1.31, > twisted some things on the boost::regex code and finally got it > compiled ok...... > > But another errors appeared, when I try to link it in my project I > got errors about unresolved symbols, soh I put the #define's I found > in your discussion, and got nowhere..... > > Any ideas? I can post the error codes, even the linker output here....... > > Regards, > RFL > > boost-users-bounces@lists.boost.org gravou em 02/08/2004 11:14:56: > > > we just had this talk. > > update to the latest cvs build and use the makefile to compile it. > > > > ---------------------------------- > > Peace and love, > > Tweety > > mitea@sympatico.ca - tweety_04_01@users.sourceforge.net > > YahooID: tweety_04_01 > > > > From: boost-users-bounces@lists.boost.org [mailto:boost-users- > > bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com > > Sent: August 2, 2004 9:11 AM > > To: boost-users@lists.boost.org > > Subject: [Boost-users] Error compiling REGEX under vc7.1 + stlport > > > > > People, > > > > this is one of the errors I got when compiling boost regex with vc7. > > 1 + stlport: > > > > > > > > vc-Link bin\boost\libs\regex\build\boost_regex.dll\vc7.1- > > stlport\release\boost_regex-vc71-mt-p-1_31.dll > > bin\boost\libs\regex\build\boost_regex.dll\vc7.1- > > stlport\release\boost_regex-vc71-mt-p-1_31.lib > > Creating library bin\boost\libs\regex\build\boost_regex.dll\vc7. > > 1-stlport\release\boost_regex-vc71-mt-p-1_31.lib and object > > bin\boost\libs\regex\build\boost_regex.dll\vc7.1- > > stlport\release\boost_regex-vc71-mt-p-1_31.exp > > winstances.obj : error LNK2001: unresolved external symbol "private: > > unsigned int __fastcall boost::cpp_regex_traits
:: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > regex.obj : error LNK2001: unresolved external symbol "private: > > unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > w32_regex_traits.obj : error LNK2001: unresolved external symbol > > "private: unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > wide_posix_api.obj : error LNK2001: unresolved external symbol > > "private: unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > instances.obj : error LNK2001: unresolved external symbol "private: > > unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > c_regex_traits.obj : error LNK2019: unresolved external symbol > > "private: unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) referenced in function "public: > > unsigned int __fastcall boost::cpp_regex_traits :: > > syntax_type(unsigned int)const " (?syntax_type@? > > $cpp_regex_traits@_W@boost@@QBIII@Z) > > c_regex_traits_common.obj : error LNK2001: unresolved external > > symbol "private: unsigned int __fastcall boost:: > > cpp_regex_traits ::do_syntax_type(unsigned int)const " (? > > do_syntax_type@?$cpp_regex_traits@_W@boost@@ABIII@Z) > > cregex.obj : error LNK2001: unresolved external symbol "private: > > unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > posix_api.obj : error LNK2001: unresolved external symbol "private: > > unsigned int __fastcall boost::cpp_regex_traits :: > > do_syntax_type(unsigned int)const " (?do_syntax_type@? > > $cpp_regex_traits@_W@boost@@ABIII@Z) > > bin\boost\libs\regex\build\boost_regex.dll\vc7.1- > > stlport\release\boost_regex-vc71-mt-p-1_31.dll : fatal error > > LNK1120: 1 unresolved externals > > > > > > The odd thing is that when i compile boost withou stlport included > > it does not generate this erros, but it would be perfect to have > stlport+boost > > Any ideas? > > > > > > Thanks in advance, > > Rodrigo_______________________________________________ > > Boost-users mailing list > > Boost-users@lists.boost.org > > http://lists.boost.org/mailman/listinfo.cgi/boost-users > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
this is one of the errors I got when compiling boost regex with vc7.1 +
You get those errors if you build with STLPort *without* iostream support. Unfortunately there are so many build variations possible (with or without STLPort iostream, with or without /Zc:wchar_t, with or without __STL_DEBUG) that it's almost impossible to diagnose errors via email (as a few people on this list have already discovered - sorry about that). Simplest option: add the source (in libs/regex/src) directly to your project, or else create a lib target in your IDE and build from there. John.
this is one of the errors I got when compiling boost regex with vc7.1
boost-users-bounces@lists.boost.org gravou em 03/08/2004 07:10:48: +
You get those errors if you build with STLPort *without* iostream
support.
Unfortunately there are so many build variations possible (with or
STLPort iostream, with or without /Zc:wchar_t, with or without __STL_DEBUG) that it's almost impossible to diagnose errors via email (as a few
without people on
this list have already discovered - sorry about that). Yeah I´m one of those now ;-)
Simplest option: add the source (in libs/regex/src) directly to your project, or else create a lib target in your IDE and build from there.
The stlport_test project you sent tweety some time ago, worked fine adding the source to the project, but when I add the sources to my project it gives an error about already defined symbols (STL symbols) I know i'm pushing it on proposing this, but could you give some step-by-step solution on building that lib target in vc71, this gave me some errors also..... The main goal is to use STLPORT + BOOST::REGEX + SPIRIT + BOOST::SOMETHING_ELSE_I_DUNNO_YET in the project
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Best Regards and thanks in advance for the Help.... RFL
oh, i never got linker errors about duplicate symbols. i got missing symbols. you may have found a new problem. and i use stdafx too. ---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01 _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of rflaperuta@brq.com Sent: August 3, 2004 5:18 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Error compiling REGEX under vc7.1 + stlport boost-users-bounces@lists.boost.org gravou em 03/08/2004 07:10:48:
this is one of the errors I got when compiling boost regex with vc7.1 +
You get those errors if you build with STLPort *without* iostream support.
Unfortunately there are so many build variations possible (with or without STLPort iostream, with or without /Zc:wchar_t, with or without __STL_DEBUG) that it's almost impossible to diagnose errors via email (as a few people on this list have already discovered - sorry about that). Yeah I´m one of those now ;-)
Simplest option: add the source (in libs/regex/src) directly to your project, or else create a lib target in your IDE and build from there.
The stlport_test project you sent tweety some time ago, worked fine adding the source to the project, but when I add the sources to my project it gives an error about already defined symbols (STL symbols) I know i'm pushing it on proposing this, but could you give some step-by-step solution on building that lib target in vc71, this gave me some errors also..... The main goal is to use STLPORT + BOOST::REGEX + SPIRIT + BOOST::SOMETHING_ELSE_I_DUNNO_YET in the project
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Best Regards and thanks in advance for the Help.... RFL
Simplest option: add the source (in libs/regex/src) directly to your project, or else create a lib target in your IDE and build from there.
The stlport_test project you sent tweety some time ago, worked fine adding the source to the project, but when I add the sources to my project it gives an error about already defined symbols (STL symbols)
What symbols? If it's complaining about C runtime stuff, then most likely you need to change you code generation options (STLPort doesn't support the single threaded runtime options by default, and you probably need to use the debug runtimes in debug mode as well, using the debug-dll /MDd option is always a safe bet). Also make sure that you have disabled auto-linking to regex by defining BOOST_REGEX_NO_LIB as a project level define.
I know i'm pushing it on proposing this, but could you give some step-by-step solution on building that lib target in vc71, this gave me some errors also.....
Just build all the libs/regex/src/*.cpp files into a static lib, the dll version will probably only link if you build with /Zc:wchar_t /DBOOST_REGEX_DYN_LIB=1, however you will then be able to use it irrespective of whether your code uses /Zc:wchar_t or not. Oh, and when you build with STLPort, building with /Zc:wchar_t probably isn't supported (by STLPort that is), so you *may* not be able to build regex as a dll in that case unless you are using STLPort's iostreams (which I know does work). Oh and someone told me recently that STLPort without it's own iostreams doesn't work properly with VC7 (and 7.1?). Whew :-/ John.
Simplest option: add the source (in libs/regex/src) directly to your project, or else create a lib target in your IDE and build from there.
The stlport_test project you sent tweety some time ago, worked fine adding the source to the project, but when I add the sources to my project it gives an error about already defined symbols (STL symbols)
What symbols? If it's complaining about C runtime stuff, then most
you need to change you code generation options (STLPort doesn't support
single threaded runtime options by default, and you probably need to use
debug runtimes in debug mode as well, using the debug-dll /MDd option is always a safe bet).
Also make sure that you have disabled auto-linking to regex by defining BOOST_REGEX_NO_LIB as a project level define.
I know i'm pushing it on proposing this, but could you give some step-by-step solution on building that lib target in vc71, this gave me some errors also.....
Just build all the libs/regex/src/*.cpp files into a static lib, the dll version will probably only link if you build with /Zc:wchar_t /DBOOST_REGEX_DYN_LIB=1, however you will then be able to use it irrespective of whether your code uses /Zc:wchar_t or not. Oh, and when you build with STLPort, building with /Zc:wchar_t probably isn't supported (by STLPort that is), so you *may* not be able to build regex as a dll in
Ok, finally got it working with and without DYN_LINK.......... Pheeeeewwwwww! I've downloaded the latest snapshot from BoostConsulting and compiled with nmake /f vc71-stlport.mak, and had the STLPORT_PATH env set to the path where stlport resides Copied the files to a lib directory and pointed the include path to the regex include dir......... Everything works fine now!!!!!!! Thanks again for the patience, and for the Help I'm suspecting that my compile configuration is wrong specially regarding the STLPORT_PATH, thats because I got the same unresolved external symbol error in other boost libraries, I'll do some research on that............ Thanks for the Help Folks!! Regards Rodrigo Falcetta Laperuta boost-users-bounces@lists.boost.org gravou em 04/08/2004 07:11:38: likely the the that
case unless you are using STLPort's iostreams (which I know does work).
Oh and someone told me recently that STLPort without it's own iostreams doesn't work properly with VC7 (and 7.1?).
Whew :-/
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
I don't like to sound like a noob, I'm just curious. Why would you get those errors if you compile with stlport without iostream support (and what exactly does stlport without iostream support mean? I build stlport, too, so I can use iostreams)? ---------------------------------- Peace and love, Tweety mitea@sympatico.ca - tweety_04_01@users.sourceforge.net YahooID: tweety_04_01
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: August 3, 2004 6:11 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Error compiling REGEX under vc7.1 + stlport
this is one of the errors I got when compiling boost regex with vc7.1 +
You get those errors if you build with STLPort *without* iostream support.
Unfortunately there are so many build variations possible (with or without STLPort iostream, with or without /Zc:wchar_t, with or without __STL_DEBUG) that it's almost impossible to diagnose errors via email (as a few people on this list have already discovered - sorry about that).
Simplest option: add the source (in libs/regex/src) directly to your project, or else create a lib target in your IDE and build from there.
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
John Maddock
-
rflaperuta@brq.com
-
tweety