Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始使用 GraphViz 的图形库开发一个小型 C++ 程序,并注意到实际上有三个不同的 API libgraph:libcgraph和libagraph. 怎么回事?
libgraph
libcgraph
libagraph
我想知道它们之间有什么区别,使用哪一个以及在哪里查找 API 文档。我查看了 GraphViz文档和邮件列表档案,但我发现了许多损坏的链接、许多错误或误导性的信息,现在我很困惑。
看起来应该使用libcgraph,使用 和 include 给出的标志进行pkg-config libcgraph --cflags --libs编译#include <cgraph.h>。
pkg-config libcgraph --cflags --libs
#include <cgraph.h>