Reputation: 33
I use Conan in the project to install boost 1.74.0. When I try to call read_graphviz
function I get such error in GitHub actions while building:
undefined reference to `boost::detail::graph::read_graphviz_new
I include only <boost/graph/graphviz.hpp>
header from boost library.
On my computer everything is ok, but I installed boost on my own - without Conan.
Upvotes: 1
Views: 113
Reputation: 33
I just forgot to add target_link_libraries(project_name boost_graph boost_regex)
Upvotes: 1