Hello, im not an experienced lisper and especially new to c-bindings.
I try to handle vertex arrays in cl-opengl and have some problems with the type-specifiers. I try to explain it on the redbook example varray.lisp:
When compiling it it get the following error: -+ Errors (1) `-- SB-INT:SIMPLE-READER-PACKAGE-ERROR at 1100 (line 33, column 22) on #<SB-SYS:FD-STREAM for "file /home/jonnyb/zeug/progs/cl-opengl/examples/redbook/varray.lisp" {B797599}>: Symbol "VERTEX-POINTER" not found in the CL-OPENGL package.
When i change the package name "gl:" to "%gl:" in the line: (gl:vertex-pointer 2 :int 0 vertices) and also in the lines: (gl:color-pointer 3 :float 0 colors))) (gl:interleaved-arrays :c3f-v3f 0 intertwined) i can avoid these errors.
But then the debugger pops up with the following: The value (25 25 100 325 175 25 175 325 250 25 ...) is not of type SB-SYS:SYSTEM-AREA-POINTER. [Condition of type TYPE-ERROR]
This leads me to the following questions: Whats the difference between the "%gl:" und the "gl" package? it spent some time on it but didnt get it Does anybody know how to fix that?^^ Does this example run on somebody elses machine?
Im running it in sbcl on linux. Thank you for your help!