Hi
I managed to get the 0.2 version compiled. The requirement for gtk3 is now
3.20 So I had to upgrade that too. (I used 3.18)
When I compile toe pspp source I get errors on the type uint:
i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./gl -I./gl
-DINSTALLDIR=\"/usr/i686-w64-mingw32/sys-root/mingw/bin\" -I./src -I./lib
-I./src/language/stats -I./src/language/expressions
-I./src/language/expressions -Isrc -Isrc/ui/gui/include -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16 -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtksourceview-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -mms-bitfields
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/atk-1.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo
-I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2
-I/usr/i686-w64-mingw32/sys-root/mingw/include
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/gdk-pixbuf-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
-I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0
-I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -Wall
-DGDK_MULTIHEAD_SAFE=1 -O2 -g -pipe -Wall -fexceptions
--param=ssp-buffer-size=4 -mms-bitfields -MT
src/ui/gui/src_ui_gui_psppire-psppire-data-sheet.o -MD -MP -MF
src/ui/gui/.deps/src_ui_gui_psppire-psppire-data-sheet.Tpo -c -o
src/ui/gui/src_ui_gui_psppire-psppire-data-sheet.o `test -f
'src/ui/gui/psppire-data-sheet.c' || echo
'./'`src/ui/gui/psppire-data-sheet.c
src/ui/gui/psppire-data-sheet.c:113:9: error: unknown type name 'uint'
uint button, uint state, gpointer p)
^~~~
src/ui/gui/psppire-data-sheet.c:113:22: error: unknown type name 'uint'
uint button, uint state, gpointer p)
^~~~
src/ui/gui/psppire-data-sheet.c:189:63: error: unknown type name 'uint'
show_cases_column_popup (PsppireDataSheet *sheet, int column, uint button,
uint state,
^~~~
src/ui/gui/psppire-data-sheet.c:189:76: error: unknown type name 'uint'
show_cases_column_popup (PsppireDataSheet *sheet, int column, uint button,
uint state,
^~~~
src/ui/gui/psppire-data-sheet.c:381:40: error: unknown type name 'uint'
button_post_create (GtkWidget *button, uint i, gpointer user_data)
^~~~
src/ui/gui/psppire-data-sheet.c: In function 'set_dictionary':
src/ui/gui/psppire-data-sheet.c:404:30: error: 'button_post_create'
undeclared (first use in this function)
"post-button-create-func", button_post_create,
^~~~~~~~~~~~~~~~~~
src/ui/gui/psppire-data-sheet.c:404:30: note: each undeclared identifier is
reported only once for each function it appears in
In file included from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gobject/gobject.h:28:0,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gobject/gbinding.h:29,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib-object.h:23,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gio/gioenums.h:28,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gio/giotypes.h:28,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/gio/gio.h:26,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0/gdk/gdk.h:32,
from
/usr/i686-w64-mingw32/sys-root/mingw/include/gtk-3.0/gtk/gtk.h:30,
from src/ui/gui/include/gtk/gtk.h:26,
from src/ui/gui/psppire-data-sheet.h:21,
from src/ui/gui/psppire-data-sheet.c:19:
src/ui/gui/psppire-data-sheet.c: In function 'psppire_data_sheet_init':
src/ui/gui/psppire-data-sheet.c:445:19: error: 'show_cases_column_popup'
undeclared (first use in this function)
G_CALLBACK (show_cases_column_popup), sheet);
^
src/ui/gui/psppire-data-sheet.c:448:19: error: 'show_cases_row_popup'
undeclared (first use in this function)
G_CALLBACK (show_cases_row_popup), sheet);
^
At top level:
src/ui/gui/psppire-data-sheet.c:363:1: warning: 'indicate_filtered_case'
defined but not used [-Wunused-function]
indicate_filtered_case (GtkWidget *widget, cairo_t *cr, PsppireDataStore
*store)
^~~~~~~~~~~~~~~~~~~~~~
Makefile:10528: recipe for target
'src/ui/gui/src_ui_gui_psppire-psppire-data-sheet.o' failed
make[2]: *** [src/ui/gui/src_ui_gui_psppire-psppire-data-sheet.o] Error 1
make[2]: Leaving directory
'/home/harry/pspp-master-20170918/pspp-1.1.0-g32ea29'
Makefile:12011: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/harry/pspp-master-20170918/pspp-1.1.0-g32ea29'
Makefile:5716: recipe for target 'all' failed
make: *** [all] Error 2
Didn't search for the reason yet.
Have fun
2017-09-17 19:16 GMT+02:00 John Darrington <[email protected]>:
> Harry,
>
> Can you try the attached tarball and see it it's any better?
>
> J'
>
> --
> Avoid eavesdropping. Send strong encrypted email.
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> See http://sks-keyservers.net or any PGP keyserver for public key.
>
>
_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev