2

I'm trying to use Graphviz in a project in C++. I'm trying to follow the guide. The issue is when I try to write

#include <gvc.h>

I get

fatal error: gvc.h: No such file or directory

I've installed Graphviz and I can successfully run:

dot -Tps a.dot -o example.bmp

and get the desired image. I don't know what I should do to make it work with my project. It's unclear how to include that library in Eclipse or where to find the files. One of the things I tried was to put the source code of Graphviz in my project and use

#include "gvc.h"

but I just faced other include problems within in the library code. I've been searching for a solution for this for a while but couldn't find any.

Thanks!

Ahmed Fathy
  • 529
  • 4
  • 20

0 Answers0