Smorgasbord - Politics, Lisp, Rails, Fencing, etc.

My musings on assortment of things ranging from politics, computer technology and programming to sports.

Thursday, December 22, 2005

On this day:

Guide to Setting up wxCL

In this post I describe how to setup wxCL on a Windows machine.
LeAnthony Mathews was having a real hard time setting up wxCL, along with the Lisp in Box, so I decided to write step by step instructions to do so. These instructions are not meant to be used with Lisp in Box but they can be combined with it.

  1. Download clisp 2.36 and install it somewhere on the hard drive, say `c:/clisp-2.36'.

  2. Download asdf
    and put it somewhere, say in the folder called

  3. Download asdf-install,
    untar it (winzip can be used) into the `c:/clisp-2.36/library/' folder.

  4. Go to the home directory, say `C:/Documents and Settings/Owner'
    or it might be different depending upon your windows user name, and Create a file
    named `.clisprc.lisp', this is an initialization file for clisp.

    Add the following code:

    #-:asdf (load "C:/clisp-2.36/library/asdf")
    (pushnew "C:/clisp-2.35/library/asdf-install/" asdf:*central-registry* :test #'equal)
    #-:asdf-install (asdf:operate 'asdf:load-op :asdf-install)
    (pushnew 'asdf-install:sysdef-source-dir-search

  5. Start command prompt. Start clisp, either by just typing `clisp' if it is on your windows path variable, or by typing
    `c:/clisp-2.36/clisp. You should see that while starting clisp loads
    various asdf-install files, and finally .clisprc.lisp. If not, then you
    did not create the `.clisprc.lisp' file in the right place.

  6. Download latest release, currently wxcl-1.2.0.tar.gz and store it somewhere, say `C' drive. If the extension of the file doesn't appears as above then change it to end with `.tar.gz'.

  7. Now on your lisp prompt type

    (asdf-install:install "c:/wxcl-1.2.0.tar.gz")

    This will show you three options select the second one (personal
    installation). Now, asdf-install will hang don't worry use Ctrl-Z to
    quit clisp.

  8. Now if you look into the folder `C:/Documents and Settings/Owner'
    there will be a sub-folder named `.asdf-install-dir'. Go into it,
    inside it there is another sub folder `site', go into that, and now
    untar `wxcl-1.2.0.tar.gz' right there.
    Any asdf installable package can be uncompressed and put there, and
    asdf will find it.

  9. Now edit the file wxcl/src/defpackage.lisp so that the variable
    library name contains the absolute file path.

    (defconstant +library-name+ "../lib/wxc-msw2.6.2.dll")

    change the above to

    (defconstant +library-name+ "C:/Documents and Settings/Owner/.asdf-install-dir/site/wxcl/lib/wxc-msw2.6.2.dll")

  10. Now go to command prompt, change the directory so that you are in
    the wxcl/examples directory. Start clisp, and then type

    (load "hello-world.lisp")

  11. This will load and compile wxcl, and start the hello world
    example. Similarly you can load other examples.


At Wed Aug 06, 02:15:00 AM 2008, Anonymous Anonymous said...

wow gold
buy wow gold
cheap wow gold
world of warcraft gold
runescape money
buy runescape money
wow gold
cheap wow gold
buy wow gold
world of warcraft gold
guild wars
guild wars gold
buy guild wars gold
maple story
maple story mesos
maplestory mesos
age of conan
age of conan gold
buy age of conan gold
aoc gold
buy aoc gold
age of conan
age of conan gold
buy age of conan gold
aoc gold
buy aoc gold
age of conan
age of conan gold
buy age of conan gold
aoc gold
buy aoc gold

At Sun Sep 20, 05:52:00 AM 2009, Anonymous Anonymous said...













At Wed Mar 17, 11:59:00 PM 2010, Anonymous Anonymous said...

酒店兼職 酒店打工 打工兼差 台北酒店 酒店兼差 酒店經紀 禮服酒店 酒店工作 酒店上班 兼差 酒店應徵 酒店 打工兼職 打工

At Fri Jul 08, 05:21:00 PM 2016, Blogger ninest123 said...

air max, sac longchamp, ray ban sunglasses, longchamp pas cher, ugg boots, ray ban sunglasses, nike free, oakley sunglasses, nike free, chanel handbags, cheap oakley sunglasses, nike outlet, louboutin, longchamp, nike roshe run, air jordan pas cher, tiffany jewelry, longchamp outlet, longchamp outlet, michael kors, prada outlet, louis vuitton outlet, louboutin outlet, louis vuitton, uggs on sale, ugg boots, louis vuitton, polo ralph lauren outlet, oakley sunglasses, louis vuitton, kate spade outlet, louboutin pas cher, polo ralph lauren outlet, tory burch outlet, tiffany and co, oakley sunglasses, ray ban sunglasses, ralph lauren pas cher, christian louboutin outlet, nike air max, nike air max, louboutin shoes, replica watches, jordan shoes, oakley sunglasses, gucci outlet, prada handbags, burberry, replica watches, louis vuitton outlet

At Fri Jul 08, 05:33:00 PM 2016, Blogger ninest123 said...

ray ban uk, vanessa bruno, sac guess, air force, tn pas cher, coach outlet, michael kors, burberry outlet online, nike blazer, lululemon, vans pas cher, mulberry, michael kors, burberry, nike free run uk, nike roshe, ray ban pas cher, michael kors outlet, hollister pas cher, hollister, north face, hermes, new balance pas cher, coach purses, true religion outlet, nike air max, replica handbags, ugg boots, michael kors outlet, hogan, nike air max, true religion jeans, abercrombie and fitch, kate spade handbags, lacoste pas cher, true religion jeans, michael kors outlet, converse pas cher, coach outlet, timberland, nike air max, michael kors, ugg boots, michael kors outlet, true religion jeans, north face, michael kors, ralph lauren uk, oakley pas cher, michael kors outlet

At Fri Jul 08, 05:52:00 PM 2016, Blogger ninest123 said...

wedding dresses, giuseppe zanotti, instyler, mont blanc, converse outlet, longchamp, babyliss, north face outlet, north face outlet, insanity workout, gucci, vans, hollister, asics running shoes, chi flat iron, ralph lauren, baseball bats, bottega veneta, timberland boots, mac cosmetics, valentino shoes, abercrombie and fitch, mcm handbags, hollister, lululemon, nike air max, hollister, celine handbags, herve leger, ghd, louboutin, soccer jerseys, p90x workout, beats by dre, vans shoes, ray ban, nike air max, nike trainers, new balance, ferragamo shoes, nike huarache, reebok shoes, lancel, nfl jerseys, nike roshe, oakley, iphone cases, jimmy choo shoes, birkin bag, soccer shoes

At Fri Jul 08, 05:52:00 PM 2016, Blogger ninest123 said...

bottes ugg, ugg pas cher, louis vuitton, pandora jewelry, moncler, moncler, doudoune canada goose, replica watches, louis vuitton, moncler, juicy couture outlet, moncler, juicy couture outlet, ugg,uggs,uggs canada, canada goose, ugg,ugg australia,ugg italia, pandora charms, canada goose, links of london, canada goose outlet, pandora charms, canada goose uk, canada goose, marc jacobs, moncler, wedding dresses, louis vuitton, canada goose outlet, karen millen, louis vuitton, moncler outlet, sac louis vuitton pas cher, coach outlet, moncler, swarovski, ugg boots uk, toms shoes, moncler, pandora jewelry, canada goose, montre pas cher, thomas sabo, supra shoes, hollister, swarovski crystal


Post a Comment

Links to this post:

Create a Link

<< Home