Home > OS >  Compile SVGPP test program is error under ubuntu BOOST_DELETED_FUNCTION, but I have installed the bo
Compile SVGPP test program is error under ubuntu BOOST_DELETED_FUNCTION, but I have installed the bo

Time:09-26

Under the ubuntu14 compile SVGPP test program is error:
/home/jiantang/download/SVGPP - master/SRC/test/../.. ./include/SVGPP/policy/error HPP, 112:99: error: expected '; 'at the end of member declaration
/home/jiantang/download/SVGPP - master/SRC/test/../.. ./include/SVGPP/policy/error HPP, 136:98: error: declaration of "operator=" as the parameter
BOOST_DELETED_FUNCTION (unknown_css_property_error & amp; Operator=(unknown_css_property_error const&) )
^
/home/jiantang/download/SVGPP - master/SRC/test/../.. ./include/SVGPP/policy/error HPP, 136:99: error: ISO c + + forbids declaration of 'BOOST_DELETED_FUNCTION with no type [- fpermissive]
BOOST_DELETED_FUNCTION (unknown_css_property_error & amp; Operator=(unknown_css_property_error const&) )
^
/home/jiantang/download/SVGPP - master/SRC/test/../.. ./include/SVGPP/policy/error HPP, 136:99: error: expected '; 'at the end of member declaration
/home/jiantang/download/SVGPP - master/SRC/test/../.. ./include/SVGPP/policy/error HPP, 156:114: error: declaration of "operator=" as the parameter
BOOST_DELETED_FUNCTION (required_attribute_not_found_error & amp; Operator=(required_attribute_not_found_error const&) )
^
/home/jiantang/download/SVGPP - master/SRC/test/../.. ./include/SVGPP/policy/error HPP, 156:115: error: ISO c + + forbids declaration of 'BOOST_DELETED_FUNCTION with no type [- fpermissive]
BOOST_DELETED_FUNCTION (required_attribute_not_found_error & amp; Operator=(required_attribute_not_found_error const&) )

So I manually compile a specified file, and connect the boost library: g + + full_parse_main. CPP - lboost_system, still an error
BOOST_DELETED_FUNCTION (bind_context_parameters_wrapper & amp; Operator=(bind_context_parameters_wrapper const&) )
^
/usr/include/SVGPP/detail/adapt_context HPP, 71:106: error: declaration of "operator=" as the parameter
BOOST_DELETED_FUNCTION (adapted_policy_context_wrapper & amp; Operator=(adapted_policy_context_wrapper const&) )
^
/usr/include/SVGPP/detail/adapt_context HPP, 71:107: error: expected '; 'at the end of member declaration
BOOST_DELETED_FUNCTION (adapted_policy_context_wrapper & amp; Operator=(adapted_policy_context_wrapper const&) )

  • Related