trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2013

Errors while compiling tdebase

From: Vince Reher <vreher@...>
Date: Sun, 10 Nov 2013 12:46:37 -0800
I have been trying to compile Trinity from source on a relatively current Gentoo system and am running into the following errors:

In file included from /offline/1-1/TDE/main/tdebase/kcontrol/tdm/main.cpp:342:0:
/offline/1-1/TDE/BUILD/tdebase-3.5.13/kcontrol/background/main.moc:
In member function ‘virtual void* KBackground::tqt_cast(const char*)’: 
/offline/1-1/TDE/BUILD/tdebase-3.5.13/kcontrol/background/main.moc:81:41: error: cannot call member function ‘virtual void* TDECModule::qt_cast(const char*)’ without object

and similar errors for tqt_invoke, tqt_emit, and tqt_property.  

I tried GCC versions 4.7.3, 4.6.3, 4.5.3 and experience the same error.  It also occurs regardless of whether I am compiling with current git sources or the Trinity release 3.5.13.2 tarballs I found at http://depot-trinity.dotriver.eu/releases/3.5.13.2.

Anybody else experience this?  I tried playing around with the source code (not really knowing what I am doing) to get beyond the error but that just got me linker errors instead.  Building TDE had been going pretty smoothly until this.