openmedicus / gtk-sharp

DEPRECATED: Use https://github.com/GLibSharp/GtkSharp or https://github.com/GtkSharp/GtkSharp
Other
22 stars 6 forks source link

Problem with make throws error :( #34

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello everyone,

How do I fix?

...
mv -f .deps/widget.Tpo .deps/widget.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -pthread -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/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I../..   -g -O2 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT generated.lo -MD -MP -MF .deps/generated.Tpo -c -o generated.lo generated.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -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/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../.. -g -O2 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT generated.lo -MD -MP -MF .deps/generated.Tpo -c generated.c  -fPIC -DPIC -o .libs/generated.o
generated.c: In function ‘gtksharp_menuitem_invoke_get_label’:
generated.c:451:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   return (* class_struct->get_label) (inst);
          ^
generated.c: In function ‘gtksharp_range_override_get_range_size_request’:
generated.c:735:14: error: ‘GtkRangeClass {aka struct _GtkRangeClass}’ has no member named ‘get_range_size_request’
  class_struct->get_range_size_request = cb;
              ^
generated.c: In function ‘gtksharp_range_invoke_get_range_size_request’:
generated.c:743:18: error: ‘GtkRangeClass {aka struct _GtkRangeClass}’ has no member named ‘get_range_size_request’
  if (class_struct->get_range_size_request)
                  ^
generated.c:744:18: error: ‘GtkRangeClass {aka struct _GtkRangeClass}’ has no member named ‘get_range_size_request’
   (* class_struct->get_range_size_request) (inst, orientation, minimum, natural);
                  ^
Makefile:482: recipe for target 'generated.lo' failed
make[3]: *** [generated.lo] Error 1
make[3]: Leaving directory '/home/sourceskyboxer/gtk-sharp/gtk/glue'
Makefile:609: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sourceskyboxer/gtk-sharp/gtk'
Makefile:448: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sourceskyboxer/gtk-sharp'
Makefile:376: recipe for target 'all' failed
make: *** [all] Error 2

I am very disappointed because I am willing to upgrade new improved Gtk Sharp 3 and I am using under Ubuntu 16.04 ( Very stable operating system )

mikkeljohnsen commented 5 years ago

Please use: https://github.com/GSharpKit/GtkSharp