[Hexmap-user] problems with the test program...
Status: Beta
Brought to you by:
rsteinke
|
From: <bb...@bb...> - 2004-06-10 14:25:52
|
Hello!
i am on the process of writing a game related utility and stumbled in aw
over your project: its exactly what i need...
only: i am programming in perl, there don't seem to be some perl
bindings lying around, so it seems that my little person will need to
dive into this....
only... the last time i touched C was uhm.... 20 years ago....
now i tryed to validate the build by compiling and trying the test case,
but....:
test-gtk.c:1:21: gtk/gtk.h: Datei oder Verzeichnis nicht gefunden
test-gtk.c:2:28: gdk/gdkkeysyms.h: Datei oder Verzeichnis nicht gefunden
test-gtk.c:3:20: hexmap.h: Datei oder Verzeichnis nicht gefunden
test-gtk.c:4:28: hexdisplay-gtk.h: Datei oder Verzeichnis nicht gefunden
test-gtk.c:5:26: xpms/smile.xpm: Datei oder Verzeichnis nicht gefunden
test-gtk.c:6:27: xpms/waves1.xpm: Datei oder Verzeichnis nicht gefunden
test-gtk.c:7:27: xpms/waves2.xpm: Datei oder Verzeichnis nicht gefunden
test-gtk.c:9: error: Fehler beim Parsen before '*' token
test-gtk.c:11: error: Fehler beim Parsen before '*' token
test-gtk.c:11: Warnung: type defaults to `int' in declaration of `create_=
mainwin'
test-gtk.c:11: Warnung: data definition has no type or storage class
test-gtk.c:12: error: Fehler beim Parsen before '*' token
test-gtk.c:12: error: Fehler beim Parsen before '*' token
test-gtk.c:12: Warnung: type defaults to `int' in declaration of `setup_t=
est_hex_display'
test-gtk.c:12: Warnung: data definition has no type or storage class
test-gtk.c:13: error: Fehler beim Parsen before "got_a_keypress"
test-gtk.c:13: error: Fehler beim Parsen before '*' token
test-gtk.c:15: Warnung: type defaults to `int' in declaration of `got_a_k=
eypress'
test-gtk.c:15: Warnung: data definition has no type or storage class
test-gtk.c:16: error: Fehler beim Parsen before '*' token
test-gtk.c: In Funktion =BBmain=AB:
test-gtk.c:21: error: `GtkWidget' undeclared (first use in this function)
test-gtk.c:21: error: (Each undeclared identifier is reported only once
test-gtk.c:21: error: for each function it appears in.)
test-gtk.c:21: error: `window' undeclared (first use in this function)
test-gtk.c:21: error: `scrolled_window' undeclared (first use in this fun=
ction)
test-gtk.c:21: error: `display' undeclared (first use in this function)
test-gtk.c:21: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:21: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:22: error: `HexWalker' undeclared (first use in this function)
test-gtk.c:22: error: `walker' undeclared (first use in this function)
test-gtk.c:24: Warnung: implicit declaration of function `gtk_init'
test-gtk.c:27: Warnung: implicit declaration of function `gtk_window_set_=
default_size'
test-gtk.c:27: Warnung: implicit declaration of function `GTK_WINDOW'
test-gtk.c:28: Warnung: implicit declaration of function `gtk_scrolled_wi=
ndow_new'
test-gtk.c:28: Warnung: implicit declaration of function `GTK_ADJUSTMENT'
test-gtk.c:28: Warnung: implicit declaration of function `gtk_adjustment_=
new'
test-gtk.c:30: Warnung: implicit declaration of function `gtk_container_a=
dd'
test-gtk.c:30: Warnung: implicit declaration of function `GTK_CONTAINER'
test-gtk.c:32: Warnung: implicit declaration of function `g_assert'
test-gtk.c:32: Warnung: implicit declaration of function `HEX_IS_DISPLAY_=
GTK'
test-gtk.c:33: Warnung: implicit declaration of function `g_object_ref'
test-gtk.c:35: Warnung: implicit declaration of function `g_object_unref'
test-gtk.c:37: Warnung: implicit declaration of function `gtk_widget_add_=
events'
test-gtk.c:37: error: `GDK_KEY_PRESS_MASK' undeclared (first use in this =
function)
test-gtk.c:38: Warnung: implicit declaration of function `gtk_signal_conn=
ect_full'
test-gtk.c:38: Warnung: implicit declaration of function `GTK_OBJECT'
test-gtk.c:39: error: `GtkSignalFunc' undeclared (first use in this funct=
ion)
test-gtk.c:39: error: Fehler beim Parsen before "got_a_keypress"
test-gtk.c:42: Warnung: implicit declaration of function `gtk_widget_show=
'
test-gtk.c:46: Warnung: implicit declaration of function `hex_display_gtk=
_center_hex'
test-gtk.c:46: Warnung: implicit declaration of function `HEX_DISPLAY_GTK=
'
test-gtk.c:48: Warnung: implicit declaration of function `gtk_main'
test-gtk.c: Auf h=F6chster Ebene:
test-gtk.c:54: error: Fehler beim Parsen before '*' token
test-gtk.c: In Funktion =BBmainwin_destroy=AB:
test-gtk.c:57: Warnung: implicit declaration of function `gtk_main_quit'
test-gtk.c: Auf h=F6chster Ebene:
test-gtk.c:60: error: Fehler beim Parsen before '*' token
test-gtk.c:62: Warnung: return type defaults to `int'
test-gtk.c: In Funktion =BBcreate_mainwin=AB:
test-gtk.c:63: error: `GtkWidget' undeclared (first use in this function)
test-gtk.c:63: error: `window' undeclared (first use in this function)
test-gtk.c:65: Warnung: implicit declaration of function `gtk_window_new'
test-gtk.c:65: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this=
function)
test-gtk.c:67: Warnung: implicit declaration of function `gtk_signal_conn=
ect'
test-gtk.c:68: Warnung: implicit declaration of function `GTK_SIGNAL_FUNC=
'
test-gtk.c:68: error: `NULL' undeclared (first use in this function)
test-gtk.c: Auf h=F6chster Ebene:
test-gtk.c:73: error: Fehler beim Parsen before '*' token
test-gtk.c:74: error: Fehler beim Parsen before '*' token
test-gtk.c:75: Warnung: return type defaults to `int'
test-gtk.c: In Funktion =BBsetup_test_hex_display=AB:
test-gtk.c:76: error: `HexGrid' undeclared (first use in this function)
test-gtk.c:76: error: `grid' undeclared (first use in this function)
test-gtk.c:77: error: `GtkWidget' undeclared (first use in this function)
test-gtk.c:77: error: `disp' undeclared (first use in this function)
test-gtk.c:78: error: Syntaxfehler before "width"
test-gtk.c:79: error: `HexData' undeclared (first use in this function)
test-gtk.c:79: error: `background' undeclared (first use in this function=
)
test-gtk.c:79: error: `water' undeclared (first use in this function)
test-gtk.c:79: error: `light_forest' undeclared (first use in this functi=
on)
test-gtk.c:79: error: `heavy_forest' undeclared (first use in this functi=
on)
test-gtk.c:79: error: `swamp' undeclared (first use in this function)
test-gtk.c:79: error: `smile' undeclared (first use in this function)
test-gtk.c:80: error: `waves' undeclared (first use in this function)
test-gtk.c:80: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:80: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:80: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:80: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:80: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:80: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:81: error: `HexTile' undeclared (first use in this function)
test-gtk.c:81: error: `water_tile' undeclared (first use in this function=
)
test-gtk.c:81: error: `lt_for_tile' undeclared (first use in this functio=
n)
test-gtk.c:81: error: `hv_for_tile' undeclared (first use in this functio=
n)
test-gtk.c:81: error: `swamp_tile' undeclared (first use in this function=
)
test-gtk.c:81: error: `waves_tile' undeclared (first use in this function=
)
test-gtk.c:82: error: `next_tile' undeclared (first use in this function)
test-gtk.c:82: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:82: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:82: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:82: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:82: Warnung: left-hand operand of comma expression has no effe=
ct
test-gtk.c:83: error: Syntaxfehler before "map"
test-gtk.c:118: error: `gint' undeclared (first use in this function)
test-gtk.c:119: error: `HexColor' undeclared (first use in this function)
test-gtk.c:126: Warnung: implicit declaration of function `hex_data_new_f=
rom_color'
test-gtk.c:126: error: `blue' undeclared (first use in this function)
test-gtk.c:126: error: `hex_width' undeclared (first use in this function=
)
test-gtk.c:127: error: `lt_green' undeclared (first use in this function)
test-gtk.c:128: error: `dk_blue' undeclared (first use in this function)
test-gtk.c:129: error: `green' undeclared (first use in this function)
test-gtk.c:130: error: `dk_green' undeclared (first use in this function)
test-gtk.c:132: Warnung: implicit declaration of function `hex_data_new_f=
rom_xpm_d'
test-gtk.c:132: error: Fehler beim Parsen before "gchar"
test-gtk.c:133: error: Fehler beim Parsen before "gchar"
test-gtk.c:134: Warnung: implicit declaration of function `hex_data_new_e=
mpty_cached'
test-gtk.c:136: Warnung: implicit declaration of function `HEX_GRID'
test-gtk.c:136: Warnung: implicit declaration of function `hex_grid_new'
test-gtk.c:136: error: `black' undeclared (first use in this function)
test-gtk.c:136: error: `width' undeclared (first use in this function)
test-gtk.c:136: error: `height' undeclared (first use in this function)
test-gtk.c:138: Warnung: implicit declaration of function `HEX_TILE'
test-gtk.c:138: Warnung: implicit declaration of function `hex_obstacle_n=
ew'
test-gtk.c:138: error: `HEX_DIRECTION_SE' undeclared (first use in this f=
unction)
test-gtk.c:139: Warnung: implicit declaration of function `hex_tile_new'
test-gtk.c:143: Warnung: implicit declaration of function `hex_animation_=
new'
test-gtk.c:143: error: `TRUE' undeclared (first use in this function)
test-gtk.c:145: Warnung: implicit declaration of function `hex_data_unref=
'
test-gtk.c:155: error: `x' undeclared (first use in this function)
test-gtk.c:156: error: `y' undeclared (first use in this function)
test-gtk.c:157: error: `map' undeclared (first use in this function)
test-gtk.c:162: Warnung: implicit declaration of function `hex_grid_set_t=
ile'
test-gtk.c:174: Warnung: implicit declaration of function `g_warning'
test-gtk.c:202: Warnung: implicit declaration of function `hex_grid_set_s=
ize'
test-gtk.c:207: error: Fehler beim Parsen before "gchar"
test-gtk.c:209: error: `walker' undeclared (first use in this function)
test-gtk.c:209: Warnung: implicit declaration of function `hex_walker_new=
'
test-gtk.c:210: Warnung: implicit declaration of function `hex_walker_set=
_position'
test-gtk.c:212: Warnung: implicit declaration of function `hex_walker_con=
nect_grid'
test-gtk.c:218: Warnung: implicit declaration of function `hex_display_gt=
k_new'
test-gtk.c:220: Warnung: implicit declaration of function `g_signal_conne=
ct_data'
test-gtk.c:220: error: `GCallback' undeclared (first use in this function=
)
test-gtk.c:220: error: Fehler beim Parsen before "walker_moved"
test-gtk.c: Auf h=F6chster Ebene:
test-gtk.c:229: error: Fehler beim Parsen before "got_a_keypress"
test-gtk.c:229: error: Fehler beim Parsen before '*' token
test-gtk.c:232: Warnung: return type defaults to `int'
test-gtk.c: In Funktion =BBgot_a_keypress=AB:
test-gtk.c:233: error: `HexDirection' undeclared (first use in this funct=
ion)
test-gtk.c:233: error: Fehler beim Parsen before "direction"
test-gtk.c:235: error: `event' undeclared (first use in this function)
test-gtk.c:236: error: `GDK_KP_7' undeclared (first use in this function)
test-gtk.c:237: error: `GDK_KP_Home' undeclared (first use in this functi=
on)
test-gtk.c:238: error: `direction' undeclared (first use in this function=
)
test-gtk.c:238: error: `HEX_DIRECTION_NW' undeclared (first use in this f=
unction)
test-gtk.c:240: error: `GDK_KP_8' undeclared (first use in this function)
test-gtk.c:241: error: `GDK_KP_Up' undeclared (first use in this function=
)
test-gtk.c:242: error: `HEX_DIRECTION_N' undeclared (first use in this fu=
nction)
test-gtk.c:244: error: `GDK_KP_9' undeclared (first use in this function)
test-gtk.c:245: error: `GDK_KP_Page_Up' undeclared (first use in this fun=
ction)
test-gtk.c:246: error: `HEX_DIRECTION_NE' undeclared (first use in this f=
unction)
test-gtk.c:248: error: `GDK_KP_1' undeclared (first use in this function)
test-gtk.c:249: error: `GDK_KP_End' undeclared (first use in this functio=
n)
test-gtk.c:250: error: `HEX_DIRECTION_SW' undeclared (first use in this f=
unction)
test-gtk.c:252: error: `GDK_KP_2' undeclared (first use in this function)
test-gtk.c:253: error: `GDK_KP_Down' undeclared (first use in this functi=
on)
test-gtk.c:254: error: `HEX_DIRECTION_S' undeclared (first use in this fu=
nction)
test-gtk.c:256: error: `GDK_KP_3' undeclared (first use in this function)
test-gtk.c:257: error: `GDK_KP_Page_Down' undeclared (first use in this f=
unction)
test-gtk.c:258: error: `HEX_DIRECTION_SE' undeclared (first use in this f=
unction)
test-gtk.c:260: error: `GDK_Escape' undeclared (first use in this functio=
n)
test-gtk.c:262: error: `TRUE' undeclared (first use in this function)
test-gtk.c:264: error: `FALSE' undeclared (first use in this function)
test-gtk.c:267: Warnung: implicit declaration of function `hex_walker_mov=
e'
test-gtk.c:267: error: `walker' undeclared (first use in this function)
test-gtk.c: Auf h=F6chster Ebene:
test-gtk.c:273: error: Fehler beim Parsen before '*' token
test-gtk.c: In Funktion =BBwalker_moved=AB:
test-gtk.c:276: error: `disp' undeclared (first use in this function)
test-gtk.c:276: error: `walker' undeclared (first use in this function)
test-gtk.c: Auf h=F6chster Ebene:
test-gtk.c:275: Warnung: `walker_moved' defined but not used
don't really know how to solve these...
am using hexmap-0.3.1 on a linux debian-unstable system if that
matters...
--=20
ciao bboett
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
bb...@ad...
http://inforezo.u-strasbg.fr/~bboett
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|