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 作为库与 vc++ 链接。我该怎么做?我已经给出了 lib 和 include 的路径,但它也不起作用。
graphviz 是一个 C 库,而不是 C++ 库。包裹#include在extern "C" {...}:
#include
extern "C" {...}
extern "C" { // tell C++ that this is a C library #include "graphviz.h" }