Boost logo

Boost Users :

Subject: [Boost-users] issue with property_tree/json_parser
From: Harikrishna (nvharikrishna_at_[hidden])
Date: 2019-01-25 16:47:27


Hi All,
I am trying to use boost json_parser. I have included json_parser.hpp in my
cpp file, I have not included any other code. But I am getting many
compilation errors like error: '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:
\u2018classic\u2019 is not a namespace-name

Can you help me resolve this issue?

-- 
Thanks
Harikrishna


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