aprsmap
aprsmap copied to clipboard
problem compiling on raspberry pi zero w & Raspbian 10 buster
pi@rpiac:~/AC/aprsmap $ ./waf
Waf: Entering directory `/home/pi/AC/aprsmap/build'
[1/5] c: aprsis.c -> build/aprsis.c.0.o
In file included from /usr/include/osmgpsmap-1.0/osm-gps-map-widget.h:46,
from /usr/include/osmgpsmap-1.0/osm-gps-map-layer.h:43,
from /usr/include/osmgpsmap-1.0/osm-gps-map.h:24,
from ../station.h:7,
from ../aprsis.c:19:
/usr/include/osmgpsmap-1.0/osm-gps-map-track.h:81:77: error: unknown type name ‘GdkRGBA’; did you mean ‘GdkGC’?
void osm_gps_map_track_set_color (OsmGpsMapTrack *track, GdkRGBA *color);
^~~~~~~
GdkGC
/usr/include/osmgpsmap-1.0/osm-gps-map-track.h:82:77: error: unknown type name ‘GdkRGBA’; did you mean ‘GdkGC’?
void osm_gps_map_track_get_color (OsmGpsMapTrack *track, GdkRGBA *color);
^~~~~~~
GdkGC
Waf: Leaving directory `/home/pi/AC/aprsmap/build'
Build failed
-> task failed (exit status 1):
{task 3054309328L: c aprsis.c -> aprsis.c.0.o}
['/usr/bin/gcc', '-O0', '-g3', '-Wall', '-Werror', '-DGTK_DISABLE_SINGLE_INCLUDES', '-DGDK_DISABLE_DEPRECATED', '-DGTK_DISABLE_DEPRECATED', '-DGSEAL_ENABLE', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-I/home/pi/AC/aprsmap/build', '-I/home/pi/AC/aprsmap', '-I/usr/include', '-I/usr/include/gtk-2.0', '-I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include', '-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/libmount', '-I/usr/include/blkid', '-I/usr/include/harfbuzz', '-I/usr/include/fribidi', '-I/usr/include/glib-2.0', '-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '-I/usr/include/uuid', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/osmgpsmap-1.0', '-I/usr/include/gtk-3.0', '-I/usr/include/at-spi2-atk/2.0', '-I/usr/include/at-spi-2.0', '-I/usr/include/dbus-1.0', '-I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include', '-I/usr/include/libsoup-2.4', '-I/usr/include/libxml2', '-DHAVE_STDLIB_H=1', '-DHAVE_MATH_H=1', '-DHAVE_GTK=1', '-DHAVE_GMODULE=1', '-DHAVE_GTHREAD=1', '-DHAVE_LIBSOUP_2_4=1', '-DHAVE_OSMGPSMAP=1', '-DHAVE_FAP=1', '-DHAVE_SQL=1', '-DHAVE_GTHREAD2=1', '../aprsis.c', '-c', '-o', 'aprsis.c.0.o']
pi@rpiac:~/AC/aprsmap $
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
At this stage it's probably not worth trying to fix, and re-writing the whole thing to use Gtk3.