Lisp Knowledgebase

Title: Problem compiling OpenGL example code

ID: 17054


Product: LispWorks
Version: 5.0
OS: All

Description: Following instructions in examples/opengl/doc.txt, one does

(load "OPENGL:compile")

which signals a compile-time error

**++++ Error in (DEFCLASS CAPI:OPENGL-PANE):
 Defining class CAPI:OPENGL-PANE visible from package CAPI.


The instructions are wrong, because the CAPI package is protected from
definitions by default.

See Also:
Workaround: This form will compile the OpenGL code:

(let ((hcl:*packages-for-warn-on-redefinition*
      (remove "CAPI" hcl:*packages-for-warn-on-redefinition* :test 'string=)))
 (load "OPENGL:compile"))

Patch:

Hardware:N/A
Summary:
Bug#:
Patch Enhancement#:
Reported:

Company     Contact     Privacy Policy     Terms of Use