Hi Sebastian,
On Sat, 2013-08-17 at 00:13 +0200, Sebastian Götte wrote:
Hi, This week I mainly squashed some bugs. The current code [0] still requires -std=c++11 in the CXXFLAGS. Connector creation is working properly now, without stray points left over afterwards. Points can be selected in groups which can be transformed (scale, shear, rotate, translate etc.). Simple orthogonal routing and straight routing work. Libavoid routing works as far as there are no objects to be avoided (I did not yet test it with objects to be avoided). Multiple connectors can be connected to the same endpoint.
I tried the code but wasn't able to actually draw any connectors. Since then I've upgraded to Fedora 19. Now I cannot compile connector-context.cpp. (It compiled under Fedora 18 I think.) I get the following error:
CXX connector-context.o In file included from /usr/include/glibmm-2.4/glibmm.h:89:0, from /usr/include/gdkmm-2.4/gdkmm/pixbuf.h:9, from ./ui/tool/control-point.h:13, from ./ui/tool/selectable-control-point.h:12, from ui/tool/connector-point-control.h:12, from connector-context.cpp:97: /usr/include/glibmm-2.4/glibmm/threads.h:203:11: error: field ‘gobject_’ has incomplete type GThread gobject_; ^ /usr/include/glibmm-2.4/glibmm/threads.h: In member function ‘GThread* Glib::Threads::Thread::gobj()’: /usr/include/glibmm-2.4/glibmm/threads.h:199:29: error: ‘gobject_’ was not declared in this scope GThread* gobj() { return &gobject_; } ^ /usr/include/glibmm-2.4/glibmm/threads.h: In member function ‘const GThread* Glib::Threads::Thread::gobj() const’: /usr/include/glibmm-2.4/glibmm/threads.h:200:41: error: ‘gobject_’ was not declared in this scope const GThread* gobj() const { return &gobject_; } ^
I've noticed that pixbuf.h is included in several other Inkcape source files which do compile. I am not going to have time to investigate further until I get back from vacation after next week.
Tav