Cannot use Graphviz as lib on windows with C++

Hi,

I’m trying to setup a usable graphviz lib setup on VS 2022. I added all the 35 lib provided in the windows zip, the header files. I can compile a little basic example, but at the linking i got this error :
|Error|LNK2001|unresolved external symbol _Agdirected
This one seems to be defined in cgraph.h as “CGRAPH_API extern Agdesc_t Agdirected;”
But cannot be found in one of the lib.
I guess I missed something in the process, but looking on stack overflow, I’m not the only one :thinking: