From: Sam S. <sd...@gn...> - 2008-07-11 19:03:29
|
DMac wrote: > Sam said: "chances are, this will not work even if you get by this hurdle > because gtk.lisp contains ffi forms." > > I guess this is the case. indeed. please install the latest clisp either from sources or from cygwin. > GNU CLISP 2.33 (2004-03-17) (built on winsteingoldlap [10.0.19.22]) 4 years and 13 releases out of date. > I guess that means I need to compile it in. yes. you will need a full C development environment. please read http://clisp.podval.org/impnotes/modules.html and follow the instructions (you will need to use the clisp-link script, is it a part of your distribution?) > I add this line to compile.lisp: (cf "gtk.lisp") > > I run CompileCLC.bat > > And I get the following: > > <From Console> > Compiling file C:\Program Files\LispBox\asdf.lisp ... > > Wrote file C:\Program Files\LispBox\CLISP 2.33\asdf.fas > 0 errors, 0 warnings > > Compiling file C:\Program Files\LispBox\base.lisp ... > > Wrote file C:\Program Files\LispBox\CLISP 2.33\base.fas > 0 errors, 0 warnings > > Compiling file C:\Program Files\LispBox\controller.lisp ... > WARNING in (DEFMETHOD ASDF:FIND-COMPONENT :AROUND ...)-12-1-1 in lines 48..53 : > variable VERSION is not used. > Misspelled or missing IGNORE declaration? > > Wrote file C:\Program Files\LispBox\CLISP 2.33\controller.fas > 0 errors, 1 warning > > Compiling file C:\Program Files\LispBox\gtk.lisp ... > *** - DEFPACKAGE GTK: unknown option :MODERN > 0 errors, 0 warnings > </From Consol> > > Now there's that defpackage "unknown option" again. please run clisp without all those clc frills. at the clisp prompt, type (compile-file "..../gtk.lisp") what happens? this is pure curiosity on my part, this step will not bring you closer to your goal :-) > Can you make anything of this? to use an FFI module, e.g., gtk2, you need to follow the instructions in the aforementioned page. the easiest way may be to get cygwin, clisp sources, build clisp with $ ./configure --with-mingw --with-module=gtk2 --with-gtk2-prefix=.... I hope Reini will be able to help you further, I have not used woe32 for a few years now. Sam. |