I may have fixed it in rev. 13357.

(I think glibmm has changed such that it is now bad to include any subfiles, one has to include the top file <glibmm.h> instead. I could very well be wrong, though, it fixed the issue for me on Windows with the versions in Partha's devlibs  for 64-bit)

cheers,
  Johan


On 11-5-2014 4:50, Vinícius dos Santos Oliveira wrote:
2014-05-11 2:40 GMT-03:00 john Culleton <John@...1202...>:
I got through the configure part all right and
compiled for a while. It blew up at this point:
---------------------------------------------
In file included
from /usr/include/glibmm-2.4/glibmm.h:89:0,
from /usr/include/gdkmm-2.4/gdkmm/pixbuf.h:9,
from libdepixelize/kopftracer2011.h:32, from
libdepixelize/kopftracer2011.cpp:35: /usr/include/glibmm-2.4/glibmm/threads.h:142: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:138:41:
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:139:41:
error: 'gobject_' was not declared in this scope
const GThread* gobj() const { return &gobject_; }
^ make[3]: *** [libdepixelize/kopftracer2011.o]
Error 1 make[3]: Leaving directory
`/usr/local/inkscape-0.91pre0/src' make[2]: ***
[all] Error 2 make[2]: Leaving directory
`/usr/local/inkscape-0.91pre0/src' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving
directory `/usr/local/inkscape-0.91pre0' make:
*** [all] Error 2
-----------------------------------------

So I guess I'll have to wait a while longer to
test the goodies.

Well, this is code that I introduced, then I think it's fair to me fix it.

Can you inform your distro (and distro version)? Also, give me the list of packages I need to have to compile Inkscape in your distro, to ease my task.

I'll install it on my local machine and fix the problem.

Also, GThread seems to be a deprecated, but I need an abstraction for threads to have the "process on background" feature for the costy "trace pixel art" feature. I don't know what else abstraction to use, because I need to use a multiplatform abstraction that integrates well with GLib(mm) and C++03 lacks any native threading features.

GThread caused a problem before and I changed the code to fix it, but I thought that no more problems would rise. Looks like I am wrong. For other devs here: any ideas?


--
Vinícius dos Santos Oliveira
https://about.me/vinipsmaker


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce


_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel