Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001270graphvizBuild/Installpublic2008-03-03 02:522011-04-28 04:03
ReporterMario Ray Mahardhika 
Assigned Toerg 
PrioritynormalSeveritycriticalReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-5.1.2600OS Version
Summary0001270: conflicting types for 'snprintf' when building with mingw
Description



I've followed instructions to build graphviz on Windows as stated here:
http://www.graphviz.org/doc/winbuild.html [^]



But on make, I got "conflicting types for 'snprintf'" and the compilation stops.
Additional Information

[erg] Despite the suggestions we give at

    http://www.graphviz.org/doc/winbuild.html [^]

we really don't support building Graphviz from source on Windows, especially given the number of possible
platforms (raw Windows, uwin, mingw, cygwin). That said, Glen Low claims that he will soon have the
Makefiles in shape, so that one can just run

   configure
   make

on mingw, and Graphviz will build correctly.

[glen low] The sources as of 20080303 should build correctly in MinGW. The following configure line will work
<CD>
./configure --disable-swig --without-x --without-tclsh --with-ipsepcola
make
make install
</CD>

The only thing is for --with-ipsepcola and any other C++ code, you'll have to rename your /usr/lib/libstdc++.la to something else before building.

The install will be to /usr/local. All the binary files and libraries are in bin and include dynamic libraries as well as lefty (a graph viewer), and the binaries are independent of MinGW.

Do let me know how your own build goes.

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1302
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (3 Mar 2008)
VERSION     2.16.1
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 => erg


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