Skip to content

Releases: BSeppke/vigracl

First official release (June 2014)

03 Jun 14:02
Compare
Choose a tag to compare

This is the first release of the vigra-Common-LISP bindings!

The formerly private development of a vigra-wrapper to (commercial) AllegroCommonLisp only has evolved to work with all major and freely available LISPs, like e.g. CLISP and SBCL. Therefore, you must have already installed the vigra.
Additionally it relies on the following dependencies, which need to be installed over asdf before the VigraCL may be used:

  • asdf
  • alexandria (needed by cffi)
  • babel (needed by cffi)
  • trivial-features (needed by cffi)
  • cffi (needed by waaf-cffi)
  • waaf-cffi
  • trivial-shell

After setting up asdf and installing, you may add the folder of your VigraCL-Repository to the others w.r.t. the asdf-system. E.g. my ~/.sbclrc (which is loaded, when SBCL is started) looks like:

(require 'asdf)
(push #P"/development/lisp-packages/babel/" asdf:*central-registry_)
(push #P"
/development/lisp-packages/alexandria/" asdf:_central-registry_)
(push #P"/development/lisp-packages/trivial-features/" asdf:_central-registry_)
(push #P"
/development/lisp-packages/trivial-shell/" asdf:_central-registry_)
(push #P"/development/lisp-packages/cffi/" asdf:_central-registry_)
(push #P"
/development/lisp-packages/waaf-cffi/" asdf:_central-registry_)
(push #P"~/development/vigracl/" asdf:_central-registry*)

Then you should be able to run the examples provided by the package using e.g.

sbcl --load examples.lisp

which should build the vigra_c-wrapper library under linux and mac on the first call and should copy the correct binaries for Windows. Note, that for Windows, you also need to have installed the MS VC-Runtime (2010) in order to get these binaries running.

Have fun with this first public release. Fur further reading, I recommend one tutorial I gave a few years ago:
Seppke, Benjamin ; Dreschler-Fischer, Leonie: Tutorial: Computer Vision with Allegro Common Lisp and the VIGRA Library using VIGRACL. In: Proceedings of the 3rd European Lisp Symposium, 2010