Results 1 to 1 of 1
Hallo,
I've got a problem with Anjuta auto generated project file:
// generated 2007/6/19 17:01:51 BST by czeslawoo@STH-czeslawoo.(none)
// using glademm V2.6.0
//
// newer (non customized) versions of this ...
- 06-20-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 1
Anjuta/Glade header file problem
Hallo,
I've got a problem with Anjuta auto generated project file:
// generated 2007/6/19 17:01:51 BST by czeslawoo@STH-czeslawoo.(none)
// using glademm V2.6.0
//
// newer (non customized) versions of this file go to hhhhh.cc_new
// This file is for your program, I won't touch it again!
#include <config.h>
#include <gnome--/main.h> ///!!!!!!THIS ONE!!!!!!!!!!
#include <glib/gi18n.h>
#include "window1.hh"
int main(int argc, char **argv)
{
#if defined(ENABLE_NLS)
bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
#endif //ENABLE_NLS
Gnome::Main m(PACKAGE, VERSION, argc, argv);
window1 *window1 = new class window1();
m.run(*window1);
delete window1;
return 0;
}
I didn't have folder like this in my include dir, what I find out was thats header file is part of libgnomemm.
I made symlink:
ln -s /usr/include/libgnomemm/main.h /usr/include/gnome--/main.h
And that was fine compiler bought that.
But I end up with no matching function error
Autogen file is looking for a main function with 4 parameters but when I check libgnomemm/main.h header I didn't find that definition.
There is 4 main function there but with different number of parameters.
I wonder what is a couse of this problem and how can I fix it??
Is it Anjuta or Glade related??
Or mayby I made something wrong??
my versions are: Anjuta 1.2.4a, libgnomemm-2.6, Glade-2
cheers czeslawoo;


Reply With Quote