Try swapping the order of the include files, that sometimes helps for this issue.

-Johan
You didn't say which!

On Mon, Aug 4, 2014 at 5:12 PM, john Culleton <John@...1202...> wrote:
I get this error:
--------------------------
  CXX    libdepixelize/kopftracer2011.o
In file included
from /usr/include/glibmm-2.4/glibmm.h:89:0, from
libdepixelize/kopftracer2011.cpp:29: /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.91pre1/src' make[2]: ***
[all] Error 2 make[2]: Leaving directory
`/usr/local/inkscape-0.91pre1/src' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving
directory `/usr/local/inkscape-0.91pre1' make:
*** [all] Error 2
----------------------------------------

I get another kind of error on gobj_ when
attempting to compile pre0.

I use Slackware Linux 14.1 64 bit.

Suggestions?

Make <glibmm.h> be the absolute first include in that file.