Lisp HUG Maillist Archive

opengl examples

Unable to parse email body. Email id is 6645

Re: opengl examples

Bob,

That function seems to come and go... here's the (official) definition:

#+linux
(unless (fboundp 'color::visual-info-id)
   (defun color::visual-info-id (object)
     (slot-value object 'color::id)))

If you still cannot run the examples you may have to do the following:

#+(and pthreads ffi-x11) (pushnew (find-package "OPENGL")  
fli::*packages-foreign-callers-keep-lock*)

and do

(compile-system "opengl" :force t)


best,

Mika

On 2.5.2007, at 16:27, bobcoyne@worldnet.att.net wrote:

>
> Hi,
>
> I get the warning below when I try compiling the opengl examples  
> that come with lispworks (running lispworks-personal-5-0-1-x86- 
> linux).  The examples don't run and get an error trying to call  
> that undefined function.
>
> I had previously encountered this same problem, a few years ago,  
> with an older version of lispworks and somehow gotten a patch file  
> to fix it.  Is this patch still needed?  Where can I get it?
>
> Compiling the file xm-lib.lisp (from opengl examples):
> The following function is undefined:
> COLOR::VISUAL-INFO-ID which is referenced by OPENGL::GET-X-VISUAL- 
> INFO-FROM-VISUAL
>
> Thanks,
> Bob

Mika Kuuskankare
Researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Tel: +358 (0)40 5415 233
Skype: mkuuskan
home page: www.siba.fi/~mkuuskan





Re: opengl examples

Bob,

This function seems to come and go... :-D ... here's the (official)  
definition:

#+linux
(unless (fboundp 'color::visual-info-id)
   (defun color::visual-info-id (object)
     (slot-value object 'color::id)))

If you still cannot run the examples you may have to do the following:

#+(and pthreads ffi-x11) (pushnew (find-package "OPENGL")  
fli::*packages-foreign-callers-keep-lock*)

and do

(compile-system "opengl" :force t)


best,

Mika

On 2.5.2007, at 16:27, bobcoyne@worldnet.att.net wrote:

>
> Hi,
>
> I get the warning below when I try compiling the opengl examples  
> that come with lispworks (running lispworks-personal-5-0-1-x86- 
> linux).  The examples don't run and get an error trying to call  
> that undefined function.
>
> I had previously encountered this same problem, a few years ago,  
> with an older version of lispworks and somehow gotten a patch file  
> to fix it.  Is this patch still needed?  Where can I get it?
>
> Compiling the file xm-lib.lisp (from opengl examples):
> The following function is undefined:
> COLOR::VISUAL-INFO-ID which is referenced by OPENGL::GET-X-VISUAL- 
> INFO-FROM-VISUAL
>
> Thanks,
> Bob

Mika Kuuskankare
Researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Tel: +358 (0)40 5415 233
Skype: mkuuskan
home page: www.siba.fi/~mkuuskan





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