Moderator: Andres Valverde
gtkcboard.c: In function 'set_timer':
gtkcboard.c:81: warning: assignment from incompatible pointer type
In file included from gtkcboard.c:179:
gcb_common.c: In function 'gcb_new_board':
gcb_common.c:555: warning: incompatible implicit declaration of built-in function 'memset'
gcb_common.c: In function 'gcb_set_grid':
gcb_common.c:665: warning: incompatible implicit declaration of built-in function 'memset'
gcb_common.c: In function 'gcb_set_grid_highlight_pixmap':
gcb_common.c:729: warning: incompatible implicit declaration of built-in function 'memset'
gtkcboard.c: In function 'gtk_cboard_destroy':
gtkcboard.c:380: error: expected expression before 'GtkCBoard'
gtkcboard.c: In function 'gtk_cboard_realize':
gtkcboard.c:407: error: expected expression before 'GtkCBoard'
gtkcboard.c: In function 'gtk_cboard_expose':
gtkcboard.c:480: error: expected expression before 'GtkCBoard'
gtkcboard.c: In function 'gtk_cboard_button_press':
gtkcboard.c:497: error: expected expression before 'GtkCBoard'
gtkcboard.c: In function 'gtk_cboard_button_release':
gtkcboard.c:521: error: expected expression before 'GtkCBoard'
gtkcboard.c: In function 'gtk_cboard_motion_notify':
gtkcboard.c:539: error: expected expression before 'GtkCBoard'
make: *** [gtkcboard.lo] Error 1
hgm@hgm-xboard:~/gcboard-master$ make
/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -g -O2 -c gtkcboard.c
./libtool: line 680: X--mode=compile: command not found
./libtool: line 830: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 831: *** Future versions of Libtool will require -mode=MODE be specified.: command not found
./libtool: line 974: Xgcc: command not found
./libtool: line 974: X-DHAVE_CONFIG_H: command not found
./libtool: line 974: X-I.: command not found
./libtool: line 974: X-I.: command not found
./libtool: line 974: X-I.: command not found
./libtool: line 974: X-pthread: command not found
./libtool: line 974: X-D_REENTRANT: command not found
./libtool: line 974: X-I/usr/include/gtk-2.0: No such file or directory
./libtool: line 974: X-I/usr/lib/gtk-2.0/include: No such file or directory
./libtool: line 974: X-I/usr/include/atk-1.0: No such file or directory
./libtool: line 974: X-I/usr/include/cairo: No such file or directory
./libtool: line 974: X-I/usr/include/pango-1.0: No such file or directory
./libtool: line 974: X-I/usr/include/gio-unix-2.0/: No such file or directory
./libtool: line 974: X-I/usr/include/glib-2.0: No such file or directory
./libtool: line 974: X-I/usr/lib/glib-2.0/include: No such file or directory
./libtool: line 974: X-I/usr/include/pixman-1: No such file or directory
./libtool: line 974: X-I/usr/include/freetype2: No such file or directory
./libtool: line 974: X-I/usr/include/directfb: No such file or directory
./libtool: line 974: X-I/usr/include/libpng12: No such file or directory
./libtool: line 974: X-g: command not found
./libtool: line 974: X-O2: command not found
./libtool: line 974: X-Wp,-MD,.deps/gtkcboard.pp: No such file or directory
./libtool: line 974: X-c: command not found
./libtool: line 999: Xgtkcboard.c: command not found
X: user not authorized to run the X server, aborting.
./libtool: line 1027: libtool: compile: cannot determine name of library object from `': command not found
make: *** [gtkcboard.lo] Error 1
hgm@hgm-xboard:~/gcboard/ruby$ make
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/local/lib/site_ruby/1.8/x86_64-linux -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_GTKCBOARD_H -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -Wall -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -c rbgtkcboard.c
rbgtkcboard.c: In function ‘piece_set_pixmap’:
rbgtkcboard.c:232: warning: implicit declaration of function ‘RARRAY_LENINT’
gcc -shared -o gtkcboard.so rbgtkcboard.o -L. -L/usr/lib -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic -pthread -lruby1.8 -lgtkcboard -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lrt -ldl -lcrypt -lm -lc
hgm@hgm-xboard:~/gcboard/ruby$ sudo make install
/usr/bin/install -c -m 0755 gtkcboard.so /usr/local/lib/site_ruby/1.8/x86_64-linux
/usr/bin/install -c -m 644 ./lib/gtkcboard.rb /usr/local/lib/site_ruby/1.8
hgm@hgm-xboard:~/gcboard/ruby$ cd demo
hgm@hgm-xboard:~/gcboard/ruby/demo$ ./shogi.rb
ruby: symbol lookup error: /usr/local/lib/site_ruby/1.8/x86_64-linux/gtkcboard.so: undefined symbol: RARRAY_LENINT
hgm@hgm-xboard:~/gcboard/ruby$ ruby1.9 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf-gnome2 (LoadError)
from extconf.rb:1:in `<main>'
hgm@hgm-xboard:~/gcboard/ruby/demo$ ./shogi.rb
./shogi.rb:469:in `parse': Unexpected error: incorrect move by gnushogi: # 1. moves=40,39 time=30000,29256 ResponseTime=100+46 (RuntimeError)
from ./shogi.rb:445
from ./shogi.rb:887:in `call'
from ./shogi.rb:887:in `main'
from ./shogi.rb:887
musketeerchess2015 wrote:Hi
use the Musketeer Chess pieces to play shogi in a western staunton chess set.
http://www.musketeerchess.com
Return to Winboard and related Topics
Users browsing this forum: No registered users and 10 guests