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
    `c:/clisp-2.36/library/'.

  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
    asdf:*system-definition-search-functions*)




  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.

3 Comments:

At Fri Jul 08, 05:21:00 PM 2016, Anonymous Anonymous 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:52:00 PM 2016, Anonymous Anonymous 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, Anonymous Anonymous 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

<< Home