[cl-opengl-devel] Problem compiling for SBCL 1.0.13

Thomas Karolski Thomas.Karolski at googlemail.com
Sat Jun 28 09:51:16 UTC 2008


I am using SBCL 1.0.13 on a windows environment, with newest CFFI, 
Alexandria, Babel, trivial-features and cl-opengl (drawn per darcs where 
available).
However, when trying the command
(asdf:operate 'asdf:load-op 'cl-opengl)

I get the following error:
-------------------------------------------------
COMMON-LISP-USER>
(asdf:operate 'asdf:load-op 'cl-opengl)
[...]
; compiling (DEFGLEXTFUN ("glTexParameterIuivEXT" 
TEX-PARAMETER-IUIV-EXT) ...)
; compiling (DEFGLEXTFUN ("glGetTexParameterIivEXT" 
GET-TEX-PARAMETER-IIV-EXT) ...)
; compiling (DEFGLEXTFUN ("glGetTexParameterIuivEXT" 
GET-TEX-PARAMETER-IUIV-EXT) ...)
; compiling (DEFGLEXTFUN ("glClearColorIiEXT" CLEAR-COLOR-II-EXT) ...)
; compiling (DEFGLEXTFUN ("glClearColorIuiEXT" CLEAR-COLOR-IUI-EXT) ...)

; 
G:\Programme\eclipse\plugins\jasko.tim.lisp.libs_1.0.0\libs\cl-opengl\gl\funcs.fasl 
written
; compilation finished in 0:00:02
WARNING:
    COMPILE-FILE warned while performing #<COMPILE-OP NIL {BC49E41}> on
    #<CL-SOURCE-FILE "funcs" {B9E98F9}>.
erred while invoking #<COMPILE-OP NIL {BC49E41}> on
#<CL-SOURCE-FILE "funcs" {B9E98F9}>
    [Condition of type ASDF:COMPILE-FAILED]
	0: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {BC49E41}> on 
#<ASDF:CL-SOURCE-FILE "funcs" {B9E98F9}>.
	1: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {BC49E41}> on 
#<ASDF:CL-SOURCE-FILE "funcs" {B9E98F9}> as having been successful.
	2: [ABORT] Return to SLIME's top level.
	3: [CLOSE-CONNECTION] Close SLIME connection
	4: [ABORT] Exit debugger, returning to top level.
]> 2
-------------------------------------------------
A subsequent call to the same command, results in:
-------------------------------------------------
COMMON-LISP-USER>
(asdf:operate 'asdf:load-op 'cl-opengl)

; compiling file 
"G:\\Programme\\eclipse\\plugins\\jasko.tim.lisp.libs_1.0.0\\libs\\cl-opengl\\gl\\package.lisp" 
(written 27 JUN 2008 06:56:47 PM):
; compiling (DEFPACKAGE #:CL-OPENGL ...)

; 
G:\Programme\eclipse\plugins\jasko.tim.lisp.libs_1.0.0\libs\cl-opengl\gl\package.fasl 
written
; compilation finished in 0:00:00
; compiling file 
"G:\\Programme\\eclipse\\plugins\\jasko.tim.lisp.libs_1.0.0\\libs\\cl-opengl\\gl\\util.lisp" 
(written 27 JUN 2008 06:56:47 PM):
; compiling (IN-PACKAGE #:CL-OPENGL)
; compiling (DEFUN STARTS-WITH ...)
; compiling (DEFUN SIDE-EFFECT-FREE? ...)
; compiling (DEFMACRO ONCE-ONLY ...)
; compiling (DEFUN SYMBOLIC-TYPE->REAL-TYPE ...)
; compiling (DEFUN CFFI-TYPE-TO-GL ...)
; compiling (DEFMACRO WITH-OPENGL-ARRAY ...)
; compiling (DEFMACRO WITH-OPENGL-ARRAYS ...)
; compiling (DEFMACRO WITH-PIXEL-ARRAY ...)
; compiling (DEFMACRO WITH-OPENGL-SEQUENCE ...)
; compiling (DEFUN SYMBOLICATE-PACKAGE ...)
; compiling (DEFUN SYMBOLICATE ...)
; compiling (DEFMACRO WITH-UNIQUE-NAMES ...)
; compiling (DEFMACRO IMPORT-EXPORT ...)
; compiling (DEFMACRO DEFINLINE ...)
; compiling (DEFMACRO DEFINE-GET-FUNCTION ...)
; compiling (DEFMACRO DEFINE-ARRAY-POINTER ...)

; 
G:\Programme\eclipse\plugins\jasko.tim.lisp.libs_1.0.0\libs\cl-opengl\gl\util.fasl 
written
; compilation finished in 0:00:00
Execution of a form compiled with errors.
Form:
   (DEFCFUN (glNewList NEW-LIST LIBRARY OPENGL) VOID (LIST UINT) (MODE 
ENUM))
Compile-time error:
   (during macroexpansion of (DEFCFUN ("glNewList" NEW-LIST ...) ...))
The value NIL
is not of type
   (OR (VECTOR CHARACTER) (VECTOR NIL) UNSIGNED-BYTE BASE-STRING).
    [Condition of type SB-INT:COMPILED-PROGRAM-ERROR]
	0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {C254DB9}> on 
#<ASDF:CL-SOURCE-FILE "funcs" {B9E98F9}>.
	1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {C254DB9}> on 
#<ASDF:CL-SOURCE-FILE "funcs" {B9E98F9}> as having been successful.
	2: [ABORT] Return to SLIME's top level.
	3: [CLOSE-CONNECTION] Close SLIME connection
	4: [ABORT] Exit debugger, returning to top level.
]> 2
;
; compilation unit aborted
;   caught 1 fatal ERROR condition
-------------------------------------------------
Anyone got an idea as to how to solve this problem?

Thanks,
Thomas K.




More information about the cl-opengl-devel mailing list