Hi,<br> Though it may seem redundant/ridiculous, but for new-comers very simple problems pose big hurdle to getting started (I am a newbie myself). Here are my steps for running cells gtk ,it runs fine when "load.lisp
" is loaded from a clean cells-gtk. But as I tried to load it a second time I face the problem mentioned by Lelanthran:<br><br>Download and install gtk - in windows it is installed in C:\Program Files\Common Files\GTK.
<br> <br>Download <a href="ftp://common-lisp.net/pub/project/cells-gtk/cells-gtk-2006-02-16.tgz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ftp://common-lisp.net/pub/project/cells-gtk/cells-gtk-2006-02-16.tgz</a>.<br><br>Download CLisp 2.38 for win32 from <a href="http://prdownloads.sourceforge.net/clisp/clisp-2.38-win32-with-readline-and-gettext.zip?download" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://prdownloads.sourceforge.net/clisp/clisp-2.38-win32-with-readline-and-gettext.zip?download
</a><br><br>Extract clisp-2.38-win32-with-readline-and-gettext.zip in "C:\", so the lisp installation directory becomes C:\clisp-2.38. Now run the install.bat script, enter 'y' to all questions.<br><br>Extract
cells-gtk-2006-02-16.tgz
wherever you like. In my case it was "C:\subhasir\tmp".<br><br>Copy root\gtk-ffi\libcellsgtk.dll
from cells-gtk directory (i.e. C:\subhasir\tmp\cells-gtk-2006-02-16\root\gtk-ffi\libcellsgtk.dll) to the bin directory of your GTK installation (c:\Program Files\Common
Files\GTK\2.0\bin for an installation with defaults).<br><br>Edit the file load.lisp in the directory where cells-gtk was extracted (C:\subhasir\tmp\cells-gtk-2006-02-16\ in my case).<br>Modify Line#12 in the file and place the path-components to the cells-gtk directory. I have had problem with drive-letter - if "C:" is added at the beginning clisp will complain about the path. This is what I put there:
<br><span style="font-weight: bold;"> #+clisp (make-pathname :directory '(:absolute "subhasir" "tmp" "cells-gtk-2006-02-16")))) ; <=== CLISP users</span><br style="font-weight: bold;">
<br>Now start clisp. Go to the cells-gtk directory by entering '(cd "C:/subhasir/tmp/cells-gtk-2006-02-16")' in clisp console - note the front-slash as path-separator. [ You don't have to cd to cells-gtk directory if you have
asdf.lisp in your path ].<br>Enter '(load "load.lisp")' - and everything should compile fine. The last output should be:<br><br><span style="font-weight: bold;">0 errors, 0 warnings</span><br style="font-weight: bold;">
<br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;"> Done! Now try (test-gtk::gtk-demo)</span><br style="font-weight: bold;"><span style="font-weight: bold;">;; Loaded file C:\subhasir\tmp\cells-gtk-2006-02-16\load.lisp
</span><br style="font-weight: bold;"><span style="font-weight: bold;">T<br><span style="font-weight: bold;"><br><span style="font-weight: bold;"></span></span></span>Now enter (test-gtk::gtk-demo) in clisp console and you should see the cells-gtk splash screen appear.
<span style="font-weight: bold;"><span style="font-weight: bold;"><span style="font-weight: bold;"></span><br style="font-weight: bold;"></span></span> Now if I restart clisp and come-back to reload the cells-gtk, this error comes:
<br><span style="font-weight: bold;">;; Loading file C:\subhasir\tmp\cells-gtk-2006-02-16\root\gtk-ffi\gtk-ffi.fas .</span><br style="font-weight: bold;"><span style="font-weight: bold;">..</span><br style="font-weight: bold;">
<span style="font-weight: bold;">;; Loaded file C:\subhasir\tmp\cells-gtk-2006-02-16\root\gtk-ffi\gtk-ffi.fas</span><br style="font-weight: bold;"><span style="font-weight: bold;">;; Loading file C:\subhasir\tmp\cells-gtk-2006-02-16\root\gtk-ffi\gtk-
core.fas</span><br style="font-weight: bold;"><span style="font-weight: bold;">...</span><br style="font-weight: bold;"><span style="font-weight: bold;">** - Continuable Error</span><br style="font-weight: bold;"><span style="font-weight: bold;">
FFI::FOREIGN-LIBRARY-FUNCTION: no dynamic object named "g_free" in library</span><br style="font-weight: bold;"><span style="font-weight: bold;"> :DEFAULT</span><br style="font-weight: bold;"><span style="font-weight: bold;">
If you continue (by typing 'continue'): Skip foreign object creation</span><br style="font-weight: bold;"><span style="font-weight: bold;">The following restarts are also available:</span><br style="font-weight: bold;"><span style="font-weight: bold;">
RETRY :R1</span><br style="font-weight: bold;"><span style="font-weight: bold;">Retry performing #<ASDF:LOAD-OP NIL #x19F45AE5> on #<ASDF:CL-SOURCE-FILE</span><br style="font-weight: bold;"><span style="font-weight: bold;">
"gtk-core" #x19F461C1>.</span><br style="font-weight: bold;"><span style="font-weight: bold;">ACCEPT :R2</span><br style="font-weight: bold;"><span style="font-weight: bold;">Continue, treating #<ASDF:LOAD-OP NIL #x19F45AE5> on #<ASDF:CL-SOURCE-FILE
</span><br style="font-weight: bold;"><span style="font-weight: bold;"> "gtk-core" #x19F461C1> as having been successful.</span><br style="font-weight: bold;"><span style="font-weight: bold;">SKIP :R3 skip (LET # # ...)
</span><br style="font-weight: bold;"><span style="font-weight: bold;">STOP :R4 stop loading file C:\subhasir\tmp\cells-gtk-2006-02-16\l</span><br style="font-weight: bold;"><span style="font-weight: bold;">
oad.lisp</span><br style="font-weight: bold;"><span style="font-weight: bold;">ABORT :R5 ABORT<br><br></span>Thanks and regards,<br> Su<br><br>