Error: Layout type: "dot" not recognized. Use one of:

I’m trying to use graphviz as a library in Windows 10 however no matter what I try when I run gvLayout(gvc, graph, "dot");

I get that error message. I found this article on stack overflow and tried their fixes but when I try to reference gvplugin_dot_layout_LTX_library I get a linker error despite linking gvplugin_dot_layout.lib and verifying that gvplugin_dot_layout_LTX_library does exist in said lib.

Any help would be exremely appreciated as this has been very frustrating to try and debug

Same here