I installed Ubuntu last weekend so I thought I would take some time to
install lispbuilder-sdl and make sure all is well.

I'm glad to say everything worked flawlessly! Here's some info on my
system and what I needed to do to get going from a clean Ubuntu
install.

Linux ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007
i686 GNU/Linux

(That is the 7.10 Gutsy version of Ubuntu from the alternate install ISO)

Get the right packages

sudo apt-get install sbcl
sudo apt-get install slime
sudo apt-get install emacs22-gtk
sudo apt-get install common-lisp-controller
sudo apt-get install libsdl1.2
sudo apt-get install libsdl1.2
sudo apt-get install libsdl1.2-dev

Get lispbuilder release as a tarball, for example from...

wget 
http://downloads.sourceforge.net/lispbuilder/lispbuilder-sdl-0.9.1.tar.gz?modtime=1183851384&big_mirror=0

Your .emacs file should read something like

(require 'slime)
(slime-setup)
(setq inferior-lisp-program "sbcl")

;(require 'slime)
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))

;; If you don't want eldoc-like behavior, comment out the following line
(slime-autodoc-mode)

In emacs

Alt-x slime
(require 'asdf-install)
(asdf-install:install "Desktop/lispbuilder-sdl-0.9.1.tar.gz")

Run some samples

CL-USER> (lispbuilder-sdl-examples:circle-1)
CL-USER> (lispbuilder-sdl-examples:mandelbrot)
CL-USER> (lispbuilder-sdl-examples:squashed)
CL-USER> (lispbuilder-sdl-examples:bmp-sample)

I haven't tested opengl and the other libaries yet, but will do shortly.

Justin
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to