{"action":"created","issue":{"url":"https://api.github.com/repos/f4b4/VisualGraph/issues/1","labels_url":"https://api.github.com/repos/f4b4/VisualGraph/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/f4b4/VisualGraph/issues/1/comments","events_url":"https://api.github.com/repos/f4b4/VisualGraph/issues/1/events","html_url":"https://github.com/f4b4/VisualGraph/issues/1","id":123604542,"number":1,"title":"VisualGraph does not compile with latest OGDF","user":{"login":"lukehutch","id":811305,"avatar_url":"https://avatars.githubusercontent.com/u/811305?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehutch","html_url":"https://github.com/lukehutch","followers_url":"https://api.github.com/users/lukehutch/followers","following_url":"https://api.github.com/users/lukehutch/following{/other_user}","gists_url":"https://api.github.com/users/lukehutch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehutch/subscriptions","organizations_url":"https://api.github.com/users/lukehutch/orgs","repos_url":"https://api.github.com/users/lukehutch/repos","events_url":"https://api.github.com/users/lukehutch/events{/privacy}","received_events_url":"https://api.github.com/users/lukehutch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T05:34:44Z","updated_at":"2016-01-03T01:29:33Z","closed_at":"2016-01-02T22:24:33Z","body":"Hi, I just tried building VisualGraph, and it doesn't work with the latest OGDF:\r\n\r\n```\r\n[luke@localhost build]$ make\r\n[  5%] Building CXX object oggl/CMakeFiles/oggl.dir/GraphCreator.cpp.o\r\nIn file included from /home/luke/Work/GraphLayout/VisualGraph/oggl/GraphCreator.cpp:4:0:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:30:55: error: ‘EdgeStyle’ in ‘class ogdf::GraphAttributes’ does not name a type\r\n     const char* ToString(const ogdf::GraphAttributes::EdgeStyle& edgeStyle);\r\n                                                       ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:31:55: error: ‘EdgeArrow’ in ‘class ogdf::GraphAttributes’ does not name a type\r\n     const char* ToString(const ogdf::GraphAttributes::EdgeArrow& edgeArrow);\r\n                                                       ^\r\nIn file included from /home/luke/Work/GraphLayout/VisualGraph/oggl/GraphCreator.cpp:4:0:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: In lambda function:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:73:53: error: ‘class ogdf::GraphAttributes’ has no member named ‘colorNode’\r\n                 << \"colorNode=\" << graphAttributes->colorNode(item).cstr() << lineSep\r\n                                                     ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:74:53: error: ‘class ogdf::GraphAttributes’ has no member named ‘labelNode’\r\n                 << \"labelNode=\" << graphAttributes->labelNode(item).cstr() << lineSep\r\n                                                     ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:76:71: error: ‘class ogdf::GraphAttributes’ has no member named ‘shapeNode’\r\n                 << \"shapeNode=\" << NodeShapeToString(graphAttributes->shapeNode(item)) << lineSep\r\n                                                                       ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: In lambda function:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:84:53: error: ‘class ogdf::GraphAttributes’ has no member named ‘colorEdge’\r\n                 << \"colorEdge=\" << graphAttributes->colorEdge(item).cstr() << lineSep\r\n                                                     ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:85:53: error: ‘class ogdf::GraphAttributes’ has no member named ‘labelEdge’\r\n                 << \"labelEdge=\" << graphAttributes->labelEdge(item).cstr() << lineSep\r\n                                                     ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:86:62: error: ‘class ogdf::GraphAttributes’ has no member named ‘styleEdge’\r\n                 << \"styleEdge=\" << ToString(graphAttributes->styleEdge(item)) << lineSep\r\n                                                              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:88:62: error: ‘class ogdf::GraphAttributes’ has no member named ‘arrowEdge’\r\n                 << \"arrowEdge=\" << ToString(graphAttributes->arrowEdge(item)) << lineSep\r\n                                                              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: At global scope:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:122:62: error: ‘EdgeStyle’ in ‘class ogdf::GraphAttributes’ does not name a type\r\n     inline const char* ToString(const ogdf::GraphAttributes::EdgeStyle& edgeStyle)\r\n                                                              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: In function ‘const char* oggl::ToString(const int&)’:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:127:14: error: ‘esNoPen’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::esNoPen: return \"esNoPen\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:128:14: error: ‘esSolid’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::esSolid: return \"esSolid\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:129:14: error: ‘esDash’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::esDash: return \"esDash\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:130:14: error: ‘esDot’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::esDot: return \"esDot\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:131:14: error: ‘esDashdot’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::esDashdot: return \"esDashdot\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:132:14: error: ‘esDashdotdot’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::esDashdotdot: return \"esDashdotdot\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: At global scope:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:137:62: error: ‘EdgeArrow’ in ‘class ogdf::GraphAttributes’ does not name a type\r\n     inline const char* ToString(const ogdf::GraphAttributes::EdgeArrow& edgeArrow)\r\n                                                              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: In function ‘const char* oggl::ToString(const int&)’:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:137:24: error: redefinition of ‘const char* oggl::ToString(const int&)’\r\n     inline const char* ToString(const ogdf::GraphAttributes::EdgeArrow& edgeArrow)\r\n                        ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:122:24: note: ‘const char* oggl::ToString(const int&)’ previously defined here\r\n     inline const char* ToString(const ogdf::GraphAttributes::EdgeStyle& edgeStyle)\r\n                        ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:141:14: error: ‘none’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::none: return \"none\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:142:14: error: ‘last’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::last: return \"last\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:143:14: error: ‘first’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::first: return \"first\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:144:14: error: ‘both’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::both: return \"both\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:145:14: error: ‘undefined’ is not a member of ‘ogdf::GraphAttributes’\r\n         case ogdf::GraphAttributes::undefined: return \"undefined\";\r\n              ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h: In function ‘const char* oggl::NodeShapeToString(int)’:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:152:13: error: ‘rectangle’ is not a member of ‘ogdf::GraphAttributes’\r\n         if (ogdf::GraphAttributes::rectangle == nodeShape) return \"rectangle\";\r\n             ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/Util.h:153:13: error: ‘oval’ is not a member of ‘ogdf::GraphAttributes’\r\n         if (ogdf::GraphAttributes::oval == nodeShape) return \"oval\";\r\n             ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/GraphCreator.cpp: In function ‘void oggl::CreateGrid(ogdf::Graph&, ogdf::GraphAttributes&, int, int)’:\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/GraphCreator.cpp:26:13: error: ‘nodeColor’ is not a member of ‘ogdf::GraphAttributes’\r\n             ogdf::GraphAttributes::nodeColor);\r\n             ^\r\n/home/luke/Work/GraphLayout/VisualGraph/oggl/GraphCreator.cpp:40:20: error: ‘class ogdf::GraphAttributes’ has no member named ‘colorNode’\r\n                 ga.colorNode(v) = colorBuf.data();\r\n                    ^\r\noggl/CMakeFiles/oggl.dir/build.make:86: recipe for target 'oggl/CMakeFiles/oggl.dir/GraphCreator.cpp.o' failed\r\nmake[2]: *** [oggl/CMakeFiles/oggl.dir/GraphCreator.cpp.o] Error 1\r\nCMakeFiles/Makefile2:85: recipe for target 'oggl/CMakeFiles/oggl.dir/all' failed\r\nmake[1]: *** [oggl/CMakeFiles/oggl.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/f4b4/VisualGraph/issues/comments/168449004","html_url":"https://github.com/f4b4/VisualGraph/issues/1#issuecomment-168449004","issue_url":"https://api.github.com/repos/f4b4/VisualGraph/issues/1","id":168449004,"user":{"login":"lukehutch","id":811305,"avatar_url":"https://avatars.githubusercontent.com/u/811305?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehutch","html_url":"https://github.com/lukehutch","followers_url":"https://api.github.com/users/lukehutch/followers","following_url":"https://api.github.com/users/lukehutch/following{/other_user}","gists_url":"https://api.github.com/users/lukehutch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehutch/subscriptions","organizations_url":"https://api.github.com/users/lukehutch/orgs","repos_url":"https://api.github.com/users/lukehutch/repos","events_url":"https://api.github.com/users/lukehutch/events{/privacy}","received_events_url":"https://api.github.com/users/lukehutch/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T01:29:33Z","updated_at":"2016-01-03T01:29:33Z","body":"Thanks!"}}