Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001982graphvizGraph Librariespublic2010-10-26 00:462011-04-28 04:03
ReporterJinbo 
Assigned ToArif Bilgin 
PrioritynormalSeveritycriticalReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Windows-xpOS Version
Summary0001982: Problem about the "agread" function in graphviz
Description



I try to use the graphviz as library with vs 2008



I use the include files and libs of debug version created by installing graphviz-2.26.3.msi



However, when I placed the program--simple.c (in the libguid) in the vs 2008, although the build is successful, when I run the program, it crashed at function "agread ":
         g = agread(fp);



I have also tried to build the source file of graphviz by vs 2008, however, there are many building errors.
Steps To Reproduce

#include <gvc.h>

int main(int argc, char **argv)
{
    GVC_t *gvc;
    graph_t *g;
    FILE *fp;
    gvc = gvContext();
    if (argc > 1)
        fp = fopen(argv[1], "r");
    else
        fp = stdin;
    g = agread(fp);
    gvLayout(gvc, g, "dot");
    gvRender(gvc, g, "plain", stdout);
    gvFreeLayout(gvc, g);
    agclose(g);
    return (gvFreeContext(gvc));
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2065
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.26.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => Arif Bilgin


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker