Lisp HUG Maillist Archive

Problems loading opengl example under 5.0

Following the instructions in doc.txt i loaded host.lisp then (load
"OPENGL:compile") which compiles a lot of stuff just fine then
deteriorates into the following...

I'm not sure what the problem is, the message isn't making sense to me
so i don't know how to fix it or work around it.

Thanks,

Brad

**++++ Error in (DEFCLASS CAPI:OPENGL-PANE):
  Defining class CAPI:OPENGL-PANE visible from package CAPI.
; OPENGL::ENSURE-CONTEXT
;;;*** Warning in (METHOD OPENGL:SWAP-BUFFERS (CAPI:OPENGL-PANE)):
Ignoring type declaration with illegal type CAPI:OPENGL-PANE
; (METHOD OPENGL:SWAP-BUFFERS (CAPI:OPENGL-PANE))
;;;*** Warning in (METHOD OPENGL:DESCRIBE-CONFIGURATION
(CAPI:OPENGL-PANE)): Ignoring type declaration with illegal type
CAPI:OPENGL-PANE
; (METHOD OPENGL:DESCRIBE-CONFIGURATION (CAPI:OPENGL-PANE))
; (DEFVAR OPENGL::*CURRENT-OPENGL-WINDOW*)
; (DEFVAR OPENGL::*OPENGL-WINDOW-LOCK*)
; OPENGL::FORCE-OPENGL-LOCK
; OPENGL:PROCESS-HAS-OPENGL-LOCK-P
; OPENGL:PROCESS-WITH-OPENGL-LOCK
;;;*** Warning in (METHOD OPENGL:START-RENDERING (CAPI:OPENGL-PANE)):
Ignoring type declaration with illegal type CAPI:OPENGL-PANE
; (METHOD OPENGL:START-RENDERING (CAPI:OPENGL-PANE))
;;;*** Warning in (METHOD OPENGL::STOP-RENDERING (CAPI:OPENGL-PANE)):
Ignoring type declaration with illegal type CAPI:OPENGL-PANE
; (METHOD OPENGL::STOP-RENDERING (CAPI:OPENGL-PANE))
; OPENGL:RENDERING-ON
;;;*** Warning in (METHOD CAPI-INTERNALS:REPRESENTATION-DESTROY
(CAPI:OPENGL-PANE)): Ignoring type declaration with illegal type
CAPI:OPENGL-PANE
; (METHOD CAPI-INTERNALS:REPRESENTATION-DESTROY (CAPI:OPENGL-PANE))
;;;*** Warning in (METHOD CAPI::OUTPUT-PANE-RESIZE :BEFORE
(CAPI:OPENGL-PANE T T T T)): Ignoring type declaration with illegal
type CAPI:OPENGL-PANE
; (METHOD CAPI::OUTPUT-PANE-RESIZE :BEFORE (CAPI:OPENGL-PANE T T T T))
; OPENGL:WITH-MATRIX-PUSHED
; (TOP-LEVEL-FORM 4)
; *** 1 error detected, no fasl file produced.

Error: The compilation resulted in these conditions:
(((DEFCLASS CAPI:OPENGL-PANE) #<SIMPLE-ERROR 200D3B87>) ((METHOD
OPENGL:SWAP-BUFFERS #) #<SIMPLE-WARNING 200DF5A3>) ((METHOD
OPENGL:DESCRIBE-CONFIGURATION #) #<SIMPLE-WARNING 200ECA7B>) ((METHOD
OPENGL:START-RENDERING #) #<SIMPLE-WARNING 2009B16B>) ((METHOD
OPENGL::STOP-RENDERING #) #<SIMPLE-WARNING 200CB60B>) ((METHOD
CAPI-INTERNALS:REPRESENTATION-DESTROY #) #<SIMPLE-WARNING 200F302F>)
((METHOD CAPI::OUTPUT-PANE-RESIZE :BEFORE #) #<SIMPLE-WARNING
2008E8CF>))
and generated no new fasl.
   1 (continue) Try compiling C:\Program
Files\LispWorks\lib\5-0-0-0\examples\opengl\capi.lisp again.
   2 Ignore these conditions.
   3 Ignore these and subsequent compilation conditions.
   4 Ignore these and all subsequent conditions.
   5 Try doing compile, load for system OPENGL again.
   6 Try loading opengl:compile again.
   7 Give up loading opengl:compile.
   8 Try loading another file instead of opengl:compile.
   9 (abort) Return to level 0.
  10 Return to top loop level 0.

Type :b for backtrace, :c <option number> to proceed,  or :? for other options

CL-USER 4 : 1 >


Re: Problems loading opengl example under 5.0

Brad Might wrote:
> 
> Following the instructions in doc.txt i loaded host.lisp then (load
> "OPENGL:compile") which compiles a lot of stuff just fine then
> deteriorates into the following...
> 
> I'm not sure what the problem is, the message isn't making sense to me
> so i don't know how to fix it or work around it.

Hi,
not that it helps you at all, but this does not work for me either on 
5.0.0., though it /did work/ on 4.4.6 (both on Windows XP).

-- 
Øyvin


Re: Problems loading opengl example under 5.0

Unable to parse email body. Email id is 6236

Updated at: 2020-12-10 08:47 UTC