|
Boost Users : |
Subject: [Boost-users] Sexpr Parser example of utree compiles error--function and symbol cannot be resolved
From: é£å¨æ¼ (1328959980_at_[hidden])
Date: 2011-11-27 13:13:48
Hi, I am new to the boost, I download the boost 1.49.0 and try to build the utree example â Sexpr Parser(environment: eclipse +CDT + gcc4.5.2), but It failed and I got the error info about the âsexpr_gemerator.hppâ as follows:
Function âattr_castâ could not be resolved
Function âcallâ could not be resolved
Symbol âboo_policiesâ could not be resolved
Symbol âString_inserterâ could not be resolved
Actually, I check the header, It already has â#include <boost/spirit/include/karma.hpp>â which will finally include â#include <boost/spirit/home/karma/numeric/bool.hpp>â, where karma::attr_cast is defined
Does anyone know the reason? how can I make the example run successfully? thanks
By the way, I can build other exmple like âmini-xml parserâ in the doc library.
Best,
Feng
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