我编译了svgpp的一些测试代码,但有错误:forbids declaration of ‘BOOST_DELETED_FUNCTION’ with no type
我已经安装了boost,错误是这样的:
/ home / jiantang / download / svgpp-master / src / test /../../ include / svgpp / policy / error.hpp:136:99: 错误:ISO C ++禁止声明“ BOOST_DELETED_FUNCTION”,而没有 类型[-fpermissive]
BOOST_DELETED_FUNCTION(unknown_css_property_error&运算符= (unknown_css_property_error const&))
当我通过命令编译时:g++ full_parse_main.cpp -lboost_system.
仍然会导致此错误
/usr/include/svgpp/detail/adapt_context.hpp:46:109:错误:预期 成员声明末尾的“;”
BOOST_DELETED_FUNCTION(bind_context_parameters_wrapper&operator = (bind_context_parameters_wrapper const&))