So I was just wondering how to install opengl for SBCL? I'm on a 64-bit Windows 8 notebook. I did use quicklisp and quickload but when I actually use it in a program I get an error like this:
; compilation unit finished
; Undefined functions:
; DRAW-FRAME INIT-GL
; caught 2 STYLE-WARNING conditions
and this is my code:
(require 'cl-opengl)
(require 'cl-glu)
(require 'lispbuilder-sdl)
(defun main-loop ()
(sdl:with-init ()
(sdl:window 800 800
:title-caption "OpenGL Test"
:opengl t
:opengl-attributes '((:sdl-gl-doublebuffer 1)
(:sdl-gl-depth-size 16)))
(setf (sdl:frame-rate) 20)
(init-gl)
(draw-frame)
(sdl:update-display)
(sdl:with-events ()
(:quit-event () t)
(:video-expose-event ()
(sdl:update-display))
(:idle ()
(draw-frame)
(sdl:update-display)))))