我正在尝试使用升压json_parser
。我已经在boost/property_tree/json_parser.hpp
文件中添加了cpp
。
我没有包含任何其他代码。但是我收到许多编译错误,例如错误:
boost::spirit::classic' has not been declared and In function void boost::property_tree::json_parser::read_json_internal(std::basic_istream<typename Ptree::key_type::value_type, std::char_traits<typename Ptree::key_type::value_type> >&, Ptree&, const std::string&): [exec] /usr/include/boost/property_tree/detail/json_parser_read.hpp:288: error: 'classic' is not a namespace-name
您能帮助我解决此问题吗?