Open FirstLoveLife opened 5 years ago
BTW, png.h is found by mlocate:
~/.../P0267_RefImpl/Debug >>> locate libpng16/png.h ±[master]
/usr/include/libpng16/png.h
~/.../P0267_RefImpl/Debug >>>
I comment out
# find_path(PNG_INCLUDE_DIR libpng/png.h)
# target_include_directories(tests PUBLIC ${PNG_INCLUDE_DIR})
# find_library(PNG_LIB png)
# target_link_libraries(tests ${PNG_LIB})
as a workaround. But errors occur when make
:
/home/firstlove/dev/P0267_RefImpl/P0267_RefImpl/Samples/svg/svg.cpp:424:55: required from here
/home/firstlove/dev/P0267_RefImpl/P0267_RefImpl/Samples/svg/external/svgpp/include/svgpp/attribute_dispatcher.hpp:637:28: error: use of deleted function ‘svgpp::detail::on_exit_attributes_functor<ShapeContext, svgpp::referencing_element<void>, svgpp::processed_elements<boost::mpl::set12<svgpp::tag::element::svg, svgpp::tag::element::g, svgpp::tag::element::use_, svgpp::tag::element::circle, svgpp::tag::element::ellipse, svgpp::tag::element::line, svgpp::tag::element::path, svgpp::tag::element::
......
OS: Manjaro Linux x86_64 gcc version 8.2.1 20180831 (GCC)
Follow this tutorial https://github.com/cpp-io2d/P0267_RefImpl/blob/master/BUILDING.md: