I am running into an issue that only seems to occur on Windows. I have created a simple graph, with a single node and am trying to use graphviz to create the layout. I have loaded the dot_plugin as shown below:
#define IMPORTED_SYMBOL extern “C” __declspec(dllimport)
#define EXPORTED_SYMBOL extern “C” __declspec(dllexport)
// You must load the plugins explicitly
IMPORTED_SYMBOL gvplugin_library_t gvplugin_dot_layout_LTX_library;
QGVGvcPrivate::QGVGvcPrivate(GVC_t *context)
{
setContext(context);
}
void QGVGvcPrivate::setContext(GVC_t *context)
{
_context = context;
gvAddLibrary(_context, &gvplugin_dot_layout_LTX_library);
}
Interestingly though, I am seeing a crash when trying to execute the layout. It is worth noting that we do not have any issues when compiling and executing this code in linux. Any help would be greatly appreciated!