Under Bullseye Raspi Os, but I believe the problem is the gtk
apt-get -y install libusb-1.0-0-dev libgtk2.0-dev
What should be done? mute the warnings? or try with another gtk library
Not sure how to procedee from here
Output:
/rpi-AR1100# make
g++ -DAPP_VERSION="1.1" `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libusb-1.0` -O3 -c AR1100.cpp -o AR1100.o
g++ -DAPP_VERSION="1.1" `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libusb-1.0` -O3 -MM AR1100.cpp > AR1100.d
g++ -DAPP_VERSION="1.1" `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libusb-1.0` -O3 -c main.cpp -o main.o
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from main.cpp:6:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from main.cpp:6:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
| ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from main.cpp:6:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from main.cpp:6:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^~~~~~~~
g++ -DAPP_VERSION="1.1" `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libusb-1.0` -O3 -MM main.cpp > main.d
g++ -DAPP_VERSION="1.1" `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libusb-1.0` -O3 AR1100.o main.o -o AR1100 -L/usr/lib -L/usr/local/lib -lpthread `pkg-config --libs libusb-1.0` `pkg-config --libs gtk+-2.0`
Under Bullseye Raspi Os, but I believe the problem is the gtk
apt-get -y install libusb-1.0-0-dev libgtk2.0-dev
What should be done? mute the warnings? or try with another gtk library
Not sure how to procedee from here
Output: