Sydney Weidman wrote:
> I can't seem to compile a simple project with glade--. Also the glade
> interface doesn't seem to generate anything except a .glade file. I have
> to manually run glade-- on the generated file to create any source code,
> after which glade-- tells me that glade should generate the code without
> using the comman line(?).
>
> When I run autogen.sh (or the dummy Makefile) on the manually generated
> files, I always get this error:
>
> creating Makefile
> c++ -DPACKAGE=\"setgame-plus\" -DVERSION=\"0.0\" -I. -I.
> -I/usr/lib/gtkmm/include -I/usr/include -I/usr/include
> -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++/include
> -c setgame-plus.cc
> In file included from app1.hh:13,
> from setgame-plus.cc:10:
> app1_glade.hh:22: parse error before `{'
> app1_glade.hh:25: syntax error before `;'
> app1_glade.hh:27: syntax error before `;'
> app1_glade.hh:29: syntax error before `;'
> app1_glade.hh:31: syntax error before `;'
> app1_glade.hh:33: syntax error before `;'
> app1_glade.hh:34: syntax error before `;'
> app1_glade.hh:36: syntax error before `;'
> app1_glade.hh:37: syntax error before `;'
> app1_glade.hh:38: syntax error before `;'
> app1_glade.hh:40: syntax error before `;'
> app1_glade.hh:42: syntax error before `;'
> app1_glade.hh:44: syntax error before `;'
> app1_glade.hh:46: syntax error before `;'
> app1_glade.hh:47: syntax error before `;'
> app1_glade.hh:49: syntax error before `;'
> app1_glade.hh:50: syntax error before `;'
> app1_glade.hh:51: syntax error before `;'
> app1_glade.hh:52: syntax error before `;'
> app1_glade.hh:53: syntax error before `;'
> app1_glade.hh:55: syntax error before `;'
> app1_glade.hh:56: syntax error before `;'
> app1_glade.hh:57: syntax error before `;'
> app1_glade.hh:59: syntax error before `;'
> app1_glade.hh:60: syntax error before `;'
> app1_glade.hh:61: syntax error before `;'
> app1_glade.hh:62: syntax error before `*'
> app1_glade.hh:63: syntax error before `*'
> app1_glade.hh:64: syntax error before `*'
> app1_glade.hh:65: syntax error before `*'
> app1_glade.hh:70: destructors must be member functions
> app1_glade.hh:71: parse error before `}'
> In file included from setgame-plus.cc:10:
> app1.hh:16: base class `App1_Glade' has incomplete type
> setgame-plus.cc: In function `int main(int, char **)':
> setgame-plus.cc:15: `Gnome_Main' undeclared (first use this function)
> setgame-plus.cc:15: (Each undeclared identifier is reported only once
> setgame-plus.cc:15: for each function it appears in.)
> setgame-plus.cc:15: parse error before `('
> setgame-plus.cc:18: `m' undeclared (first use this function)
> gmake: *** [setgame-plus.o] Error 1
> bash$
>
> Any ideas what I might be doing wrong?
>
> Thanks in advance for your help.
>
> Regards,
> Syd.
>
> +---------------------------------------------------------------------+
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the line "unsubscribe glade-devel" in the body of the message.
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.