From d0ba5b4cc3558571c7892c483e680ea3fb8214ca Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 3 Mar 2014 16:16:01 -0500 Subject: [PATCH] Fix gvmap mains to use edgepaint library in Windows --- cmd/gvmap/cluster.c | 12 ++++++++++++ cmd/gvmap/gvmap.c | 1 + 2 files changed, 13 insertions(+) diff --git a/cmd/gvmap/cluster.c b/cmd/gvmap/cluster.c index 2db2a60a2..0f056ef2e 100644 --- a/cmd/gvmap/cluster.c +++ b/cmd/gvmap/cluster.c @@ -37,6 +37,18 @@ #include "DotIO.h" #include "colorutil.h" +#ifdef WIN32 /*dependencies*/ + #pragma comment( lib, "cgraph.lib" ) + #pragma comment( lib, "gvc.lib" ) + #pragma comment( lib, "ingraphs.lib" ) + #pragma comment( lib, "sparse.lib" ) + #pragma comment( lib, "sfdp.lib" ) + #pragma comment( lib, "edgepaintlib.lib" ) + #pragma comment( lib, "neatogen.lib" ) + #pragma comment( lib, "rbtree.lib" ) + #pragma comment( lib, "cdt.lib" ) +#endif /* not WIN32_DLL */ + enum {POINTS_ALL = 1, POINTS_LABEL, POINTS_RANDOM}; enum {maxlen = 10000000}; enum {MAX_GRPS = 10000}; diff --git a/cmd/gvmap/gvmap.c b/cmd/gvmap/gvmap.c index 40b02a798..3b2b9f40d 100644 --- a/cmd/gvmap/gvmap.c +++ b/cmd/gvmap/gvmap.c @@ -55,6 +55,7 @@ static char swork[maxlen]; #pragma comment( lib, "gvc.lib" ) #pragma comment( lib, "pathplan.lib" ) #pragma comment( lib, "neatogen.lib" ) + #pragma comment( lib, "edgepaintlib.lib" ) #pragma comment( lib, "circogen.lib" ) #pragma comment( lib, "twopigen.lib" ) #pragma comment( lib, "fdpgen.lib" ) -- 2.40.0