[Gambas-user] Compilation error

Gianluigi gradobag at gradobag.it
Fri Jan 12 15:52:08 CET 2024


This appear in my terminal:

gapplication.cpp: In static member function ‘static void 
gApplication::init(int*, char***)’:
gapplication.cpp:1059:43: error: ‘G_APPLICATION_DEFAULT_FLAGS’ was not 
declared in this scope; did you mean ‘G_APPLICATION_GET_CLASS’?
  1059 |         _app = gtk_application_new(NULL, 
G_APPLICATION_DEFAULT_FLAGS);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
       | G_APPLICATION_GET_CLASS
make[5]: *** [Makefile:1158: gb_gtk3_la-gapplication.lo] Errore 1
make[4]: *** [Makefile:1212: all-recursive] Errore 1
make[3]: *** [Makefile:469: all-recursive] Errore 1
make[2]: *** [Makefile:401: all] Errore 2
make[1]: *** [Makefile:446: all-recursive] Errore 1
make: *** [Makefile:387: all] Errore 2

Regards

Gianluigi



More information about the User mailing list