0

In windows11. I have compiled the boost with mingw64. found_package(Boost REQUIRED) is correct. However,

find_package(Boost 1.69.0 COMPONENTS graph REQUIRED) got error, like this enter image description here

ziwenjie
  • 9
  • 3
  • The good news is: Boost Graph is _largely_ header-only. If you require one of the features that isn't (`read_graphviz` e.g.), then you can check whether the installed boost library includes the DLL for it. If not, that's the problem. – sehe Apr 09 '22 at 15:46
  • You can work around it pretty easily by just adding `libs/graph/src/read_graphviz_new.cpp` to your project directly. – sehe Apr 09 '22 at 15:47
  • Here's on old live example where I did just that http://coliru.stacked-crooked.com/a/a4e96613787bbd58 – sehe Apr 09 '22 at 15:52
  • I have a try, but it still has the same error in my cmakelist. – ziwenjie Apr 10 '22 at 03:21

0 Answers0