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.
vc++でgraphvizをライブラリとしてリンクしたい。どうすればいいですか?私はすでにlibのパスを指定しており、機能していません。
graphviz は C ライブラリであり、C++ ライブラリではありません。でラップ#includeしextern "C" {...}ます:
#include
extern "C" {...}
extern "C" { // tell C++ that this is a C library #include "graphviz.h" }