Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002422graphvizBuild/Installpublic2014-02-18 05:002014-02-18 12:26
Assigned Toerg 
PlatformOSOS Version
Summary0002422: Visio support fails to build with latest release
DescriptionTrying to build graphviz 2.36.0 and even with latest snapshot graphviz-2.37.20140217.0545.tar.gz fails:

In file included from VisioGraphic.cpp:34:
VisioGraphic.h:176:7: warning: no newline at end of file
  CXX VisioRender.lo
In file included from VisioRender.h:22,
                 from VisioRender.cpp:32:
VisioGraphic.h:176:7: warning: no newline at end of file
VisioRender.cpp:236: error: 'textpara_t' has not been declared
VisioRender.cpp:236: error: prototype for 'void Visio::Render::AddText(GVJ_t*, pointf, int*)' does not match any in class 'Visio::Render'
VisioRender.h:61: error: candidates are: void Visio::Render::AddText(GVJ_t*, const Visio::Text*)
VisioRender.h:54: error: void Visio::Render::AddText(GVJ_t*, pointf, textspan_t*)
VisioRender.cpp: In member function 'void Visio::Render::AddText(GVJ_t*, pointf, int*)':
VisioRender.cpp:238: error: no matching function for call to 'Visio::Text::CreateText(GVJ_t*&, pointf&, int*&)'
VisioText.h:84: note: candidates are: static Visio::Text* Visio::Text::CreateText(GVJ_t*, pointf, textspan_t*)
make[3]: *** [VisioRender.lo] Error 1
make[3]: Leaving directory `/home/user/x/xyz/plugin/visio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/x/xyz/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/x/xyz'
make: *** [all] Error 2
Steps To Reproduce./configure --with-visio
TagsNo tags attached.
Attached Filestxt file icon sample-diff.txt (Attachment missing)

- Relationships

-  Notes
User avatar (0000685)
chris3 (reporter)
2014-02-18 06:03

I tried to fix this, see attached diff.
Never the less the following error messages appear, during creation of pictures:

Warning: No loadimage plugin for "png:visio"
Warning: No loadimage plugin for "png:visio"
Warning: No loadimage plugin for "png:visio"
Warning: No loadimage plugin for "png:visio"
Warning: No loadimage plugin for "png:visio"
Warning: No loadimage plugin for "png:visio"
Warning: No loadimage plugin for "png:visio"
User avatar (0000686)
erg (administrator)
2014-02-18 11:58

Missed conversion from textpara_t to textspan_t. Fixed in 2.27 as of 19 Feb 2014
User avatar (0000687)
erg (administrator)
2014-02-18 12:26

Obviously, chris3 wants to load an image into the visio output. This was never implemented. A quick check shows that the visio output supports image inclusion, so this becomes an open feature request.

- Issue History
Date Modified Username Field Change
2014-02-18 05:00 chris3 New Issue
2014-02-18 06:01 chris3 File Added: sample-diff.txt
2014-02-18 06:03 chris3 Note Added: 0000685
2014-02-18 11:58 erg Note Added: 0000686
2014-02-18 11:58 erg Assigned To => erg
2014-02-18 11:58 erg Status new => resolved
2014-02-18 11:58 erg Resolution open => fixed
2014-02-18 12:26 erg Note Added: 0000687
2014-02-18 12:26 erg Severity minor => feature
2014-02-18 12:26 erg Status resolved => confirmed
2014-02-18 12:26 erg Resolution fixed => open

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