[Gardeners] CLisp GUI application creation "hand holding"

LeAnthony Mathews leanthonymathews at gmail.com
Wed Dec 21 05:40:45 CST 2005


O.K. after taking a day or two off trying to get the wxCL GUI examples to
run on my windows XP machine I have given it another try here are my issues:

1..using the slime init file:
site-init.lisp

I added the line:

(register-source-directory "C:\lispbox-0.6\packages\wxcl\")

which is is the path with wxCL .asd file for my computer


2.  using the defpackage.lisp inside ..\wxcl\source\defpackage.lisp
I added:

(:export #: C:\lispbox-0.6\packages\wxcl\lib\wxc-msw2.6.2.dll
which is the the exact path to the wxcl .dll

3. I loaded emacs/slime/cl(works very well)

4. I load hello-world.lisp from the examples in the wxcl directory

5. I compile and I get the following error.

  #P"C:\\lispbox-0.6\\packages\\wxcl\\examples\\hello-world.lisp" @4>: there
is no package with name #1="WXCL-WINDOWS"

   [Condition of type SYSTEM::SIMPLE-PACKAGE-ERROR]


My thought is it is the way I am introducing the .asd into the
site-init.lisp file.  Here are the alternate (register-source-directory) i
tried:

(register-source-directory (lispbox-file (make-pathname :directory
'(:relative "packages"))))

(register-source-directory "C:\lispbox-0.6\packages\wxcl\")

(register-source-directory "C:/lispbox-0.6/packages/wxcl/")

I don't think it is loading the package.  Can anyone suggest a solution.  I
really want to get this to work.  Thanks

On 12/18/05, Josh Stone <void at josho.org> wrote:
>
> On Sun, 2005-12-18 at 17:41 -0600, Andy Cristina wrote:
>
> >
> > To do this, you push "C:/cl/cl-ppcre-1.0/" into the
> > asdf:*central-registry* list.
> >
>
> As mentioned in my previous post, this does not work with lispbox,
> because of Peter's (helpful, I think) modifications to asdf.  In
> lispbox, if you do:
>
> (register-source-directory "C:/cl/")
>
> Then it will work fine.  It would be nice if this was documented in some
> place *other* than http://www.cliki.net/LispBox .  I discovered
> #'register-source-directory in the source, and only found the cliki
> entry when I googled for the function name.
>
> -Josh Stone-
>
> _______________________________________________
> Gardeners mailing list
> Gardeners at lispniks.com
> http://www.lispniks.com/mailman/listinfo/gardeners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lispniks.com/pipermail/gardeners/attachments/20051221/66bab076/attachment.html


More information about the Gardeners mailing list