I've just installed the OGDF library for graph visualization using the guide here. I built, compiled, and linked the library to a small VisualStudio project, however when I attempt to instantiate a Graph, VisualStudio breaks with the error: "Run-Time Check Failure #2 - Stack around the variable 'G' was corrupted."
Has anybody encountered this issue before, or could anybody point me in the right direction regarding debugging problems like these?
The code that generates this issue is redundant, but I'll add it for good measure:
#include "stdafx.h"
#include <ogdf/basic/Graph.h>
using namespace ogdf;
int main()
{
Graph G;
return 0;
}
Thanks!