mvs-org / metaverse

The Metaverse individual chain service ETP coin and immutable data space for Hyperspace.

Home Page:https://mvs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oldder than MVS version v0.7.3 => JSON Parser: Missing Bind Placeholders.

betachen opened this issue · comments

under MVS v0.7.3 version source code has issue:

compiling error on json_parser 'placeholders::_1' caused by boost issue:/usr/local/include/boost/property_tree/json_parser/detail/parser.hpp:217:52: error: ‘_1’ was not declared in this scope.

If build with boost 1.59~1.63, will get compiling error on json_parser 'placeholders::_1' caused by boost bug:

/usr/local/include/boost/property_tree/json_parser/detail/parser.hpp:217:52: error: ‘_1’ was not declared in this scope.

Please upgrade to 1.64, or modify parser.hpp manually at first. Using:

sed -i -e '/#include <boost\/bind.hpp>/a #include <boost\/bind\/placeholders.hpp>' -e 's/boost::ref(callbacks), _1)/boost::ref(callbacks), boost::placeholders::_1)/g' parser.hpp

See boost issue/solution JSON Parser: Missing Bind Placeholders.

#189
replace completed ,then close.