|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[lex] Documentation outdated?Hi,
I am a boost:spirit newbie, so I try to work through the documentation starting with the lex module. Some problems at the very beginning: #include <time.h> #include <iostream> // #include <boost/spirit/include/lex_lexertl.hpp> THIS HEADER DOES NOT EXIST #include <boost/spirit/include/lex_lexer_lexertl.hpp> // maybe this one is meant? int main ( int argc, char** argv ) { boost:spirit::lex::lexertl::lexer<> test; return 0; } Resulting in: spirit_test.cpp|10| error: ‘boost::spirit::lex::lexertl’ has not been declared I am using libboost_all_dev (1.40.0.1) from the debian unstable repository What am I doing wrong? Many thanks in advance, Kay ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Spirit-general mailing list Spirit-general@... https://lists.sourceforge.net/lists/listinfo/spirit-general |
|
|
Re: [lex] Documentation outdated?> I am a boost:spirit newbie, so I try to work through the documentation
> starting with the lex module. Some problems at the very beginning: > > #include <time.h> > #include <iostream> > > // #include <boost/spirit/include/lex_lexertl.hpp> THIS HEADER DOES NOT > EXIST > #include <boost/spirit/include/lex_lexer_lexertl.hpp> // maybe this > one is meant? > > > int main ( int argc, char** argv ) > { > boost:spirit::lex::lexertl::lexer<> test; > return 0; > } > > Resulting in: > spirit_test.cpp|10| error: ‘boost::spirit::lex::lexertl’ has not been > declared > > I am using libboost_all_dev (1.40.0.1) from the debian unstable > repository > What am I doing wrong? Spirit2 distributed with since Boost 1.37 is a beta version. We will release Spirit 2.1 with Boost V1.41 any time soon. You can grab the bits either from trunk or the release branch. The docs can be previewed here: http://tinyurl.com/ojalum (link from SVN). Does this problem still exist with this (newer) version? Regards Hartmut ------------------- Meet me at BoostCon http://boostcon.com ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Spirit-general mailing list Spirit-general@... https://lists.sourceforge.net/lists/listinfo/spirit-general |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |