On 01/20/2011 10:44 AM, Andrew C wrote:
Greetings All!
I'm having a bit of trouble compiling gninjam, on my Debian Testing
system, both the 1.0 and 2.0 versions of libsigc++ appear to be
missing "Compatibility.h".
A google search tells me that the header file is now deprecated, but
'porting' the sigc calls to sigc++ 2.0 could be possible, namely by
going through the code and replacing all instances of "SigC::" with
"sigc::".
That's only one part. I'm afraid but I don't think this can be fixed
with simple search/replace. But all the files in question were created
with glade.
If you still have an old glade installation that can generate c-code,
you can try to re-create the files from gninjam.glade. Otherwise I
suggest to contact upstream and ask for a fix or simply use the ninam
curses interface: cninjam (comes with libinjam).
This unfortunately produces the error of:
gNinjamClient_glade.cc: In constructor
'gNinjamClient_glade::gNinjamClient_glade()':
gNinjamClient_glade.cc:498: error: missing template arguments before '(' token
gNinjamClient_glade.cc:499: error: missing template arguments before '(' token
gNinjamClient_glade.cc:500: error: missing template arguments before '(' token
etc etc.
It's because slots require a template alike:
sigc::slot<void, void*,..>
ciao,
robin