[generating binding from fltk.i]
Adding path '../../'
Module 'bind' loaded
Module 'bind-lua5' loaded
Module 'bind-lua' loaded
Reading fltk.i
6201 lines, 32056 tokens
Processing fltk.i
New name 'val' of type 'int val[6]' (I used -d)
fltk.i (183) at token '}' : ';' expected
Generating LUA binding
[compiling bind-fltk-ext.cxx]
bind-fltk-ext.cxx: In function `int lua_fltk__Fl_Widget__callback(lua_State*)':
bind-fltk-ext.cxx:32: error: `lua_to_Fl_Widget' undeclared (first use this
function)
bind-fltk-ext.cxx:32: error: (Each undeclared identifier is reported only once
for each function it appears in.)
gmake: *** [bind-fltk-ext.o] Error 1
rm fltk.i
sge:764$
I got the make file to make a copy of fltk.i so I could look at it.
lines 181-183 are:
typedef struct label_t {
int val[6];
} label_t;