[Gambas-user] Compilation error

Benoît Minisini benoit.minisini at gambas-basic.org
Fri Jan 12 22:08:48 CET 2024


Le 12/01/2024 à 15:52, Gianluigi a écrit :
> 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
> 

It should be better now.

-- 
Benoît Minisini.



More information about the User mailing list