[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] new OpenGL egg

From: Felix Winkelmann
Subject: Re: [Chicken-users] new OpenGL egg
Date: Fri, 16 Jan 2004 07:14:09 +0100
User-agent: Opera7.21/Win32 M2 build 3218

Am Thu, 15 Jan 2004 17:08:38 -0500 (EST) hat Daniel B. Faken <address@hidden> geschrieben:


  I'm new to chicken, but it would appear somethings wrong with either
build 1.30 or the example with the OpenGL egg:
  glut .scm contains:
;;;; glut.scm


__declare(export_constants, yes)
__declare(substitute, "^GLUT_;glut:")
__declare(substitute, "^glut;glut:")

  but the example makes reference to glut:DOUBLE.  When I run this under
'csi', it says glut:DOUBLE is unknown, but it can recognize glut::DOUBLE -
so it would appear the 'substitute' is operating twice: first converting
GLUT_DOUBLE to glut:DOUBLE and converting this to glut::DOUBLE..

Indeed. If you replace the two substitution forms with

__declare(substitute, "^(glut|GLUT_);glut:")

everything should work correctly.

(You will have to change glut.scm, glu.scm and gl.scm, then run
`csi -setup opengl' once more)

  Anyway, thanks for the chicken!

You're welcome! Thanks for giving it a try.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]