From: ·······@gmail.com
Subject: How to install cl-opengl?
Date: 
Message-ID: <1175546884.093721.325770@y66g2000hsf.googlegroups.com>
Hi,
I'm trying to get cl-opengl to work with my sbcl, but I've had no luck
so far. I've downloaded cffi.lisp and cl-opengl. I've copied them to
~/.sbcl/systems and then made a .sbclrc in my home directory, but
nothing seems to work. I also couldn't find any directions online.
Has anybody gotten cl-opengl to work with sbcl?

Thanks in advance!

From: Luís Oliveira
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <m1r6r232o7.fsf@deadspam.com>
·······@gmail.com writes:
> I'm trying to get cl-opengl to work with my sbcl, but I've had no luck
> so far. I've downloaded cffi.lisp and cl-opengl. I've copied them to
> ~/.sbcl/systems and then made a .sbclrc in my home directory, but
> nothing seems to work. I also couldn't find any directions online.
> Has anybody gotten cl-opengl to work with sbcl?

First off, temporarily, I suggest grabbing both CFFI and cl-opengl
from here: <http://common-lisp.net/~loliveira/darcs/>

Then, with these instructions, you should be able to load both:
http://constantly.at/lisp/asdf/Using-asdf-to-load-systems.html

By the way, you need FreeGLUT (traditional GLUT won't work) to run the
examples and the cl-glut interface.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
From: Tudor
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <1175550039.403995.106590@l77g2000hsb.googlegroups.com>
On Apr 2, 5:08 pm, ·············@deadspam.com (Luís Oliveira) wrote:
> ·······@gmail.com writes:
> > I'm trying to get cl-opengl to work with my sbcl, but I've had no luck
> > so far. I've downloaded cffi.lisp and cl-opengl. I've copied them to
> > ~/.sbcl/systems and then made a .sbclrc in my home directory, but
> > nothing seems to work. I also couldn't find any directions online.
> > Has anybody gotten cl-opengl to work with sbcl?
>
> First off, temporarily, I suggest grabbing both CFFI and cl-opengl
> from here: <http://common-lisp.net/~loliveira/darcs/>
>
> Then, with these instructions, you should be able to load both:http://constantly.at/lisp/asdf/Using-asdf-to-load-systems.html
>
> By the way, you need FreeGLUT (traditional GLUT won't work) to run the
> examples and the cl-glut interface.
>
> --
> Luís Oliveirahttp://student.dei.uc.pt/~lmoliv/

I've gotten to the point where I have to install freeGLUT, and then it
borks
with the following output:

·····@tudor-desktop:~/freeGLUT/freeglut-2.4.0$ make all
make  all-recursive
make[1]: Entering directory `/home/tudor/freeGLUT/freeglut-2.4.0'
Making all in src
make[2]: Entering directory `/home/tudor/freeGLUT/freeglut-2.4.0/src'
source='freeglut_callbacks.c' object='libglut_la-
freeglut_callbacks.lo' libtool=yes \
        depfile='.deps/libglut_la-freeglut_callbacks.Plo'
tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
        depmode=gcc3 /bin/bash ../depcomp \
        /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../include    -g -O2 -Wall -pedantic -Werror -c -o
libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo
'./'`freeglut_callbacks.c
rm -f .libs/libglut_la-freeglut_callbacks.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -pedantic -
Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -
MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo  -fPIC -DPIC -
o .libs/libglut_la-freeglut_callbacks.lo
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
directory
../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
directory
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:432: error: expected ')' before 'layer'
../include/GL/freeglut_std.h:491: error: expected ')' before 'query'
../include/GL/freeglut_std.h:492: error: expected ')' before 'query'
../include/GL/freeglut_std.h:494: error: expected ')' before 'query'
../include/GL/freeglut_std.h:509: error: expected ')' before 'size'
../include/GL/freeglut_std.h:510: error: expected ')' before 'size'
../include/GL/freeglut_std.h:511: error: expected ')' before 'radius'
../include/GL/freeglut_std.h:512: error: expected ')' before 'radius'
../include/GL/freeglut_std.h:513: error: expected ')' before 'base'
../include/GL/freeglut_std.h:514: error: expected ')' before 'base'
../include/GL/freeglut_std.h:516: error: expected ')' before
'innerRadius'
../include/GL/freeglut_std.h:517: error: expected ')' before
'innerRadius'
../include/GL/freeglut_std.h:530: error: expected ')' before 'size'
../include/GL/freeglut_std.h:531: error: expected ')' before 'size'
../include/GL/freeglut_std.h:539: error: expected ')' before 'query'
../include/GL/freeglut_std.h:544: error: expected ')' before 'query'
../include/GL/freeglut_std.h:553: error: expected declaration
specifiers or '...' before 'GLfloat'
../include/GL/freeglut_std.h:553: error: expected declaration
specifiers or '...' before 'GLfloat'
../include/GL/freeglut_std.h:553: error: expected declaration
specifiers or '...' before 'GLfloat'
../include/GL/freeglut_std.h:554: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'glutGetColor'
In file included from ../include/GL/freeglut.h:18,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_ext.h:97: error: expected ')' before
'option_flag'
../include/GL/freeglut_ext.h:108: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'glutStrokeHeight'
../include/GL/freeglut_ext.h:117: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:117: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:118: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:118: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:119: error: expected ')' before 'radius'
../include/GL/freeglut_ext.h:120: error: expected ')' before 'radius'
In file included from freeglut_callbacks.c:29:
freeglut_internal.h:95:24: error: GL/glx.h: No such file or directory
In file included from freeglut_callbacks.c:29:
freeglut_internal.h:176: error: expected specifier-qualifier-list
before 'GLint'
cc1: warnings being treated as errors
freeglut_internal.h:178: warning: struct has no members
freeglut_internal.h:189: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:211: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:305: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'SFG_WindowContextType'
freeglut_internal.h:322: error: expected specifier-qualifier-list
before 'SFG_WindowContextType'
freeglut_internal.h:342: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:503: error: expected specifier-qualifier-list
before 'XVisualInfo'
freeglut_internal.h:507: warning: struct has no members
freeglut_internal.h:521: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:539: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:565: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:605: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:607: warning: struct has no members
freeglut_internal.h:617: error: expected ':', ',', ';', '}' or
'__attribute__' before '*' token
freeglut_internal.h:627: error: expected specifier-qualifier-list
before 'GLfloat'
freeglut_internal.h:628: warning: struct has no members
freeglut_internal.h:640: error: expected specifier-qualifier-list
before 'GLfloat'
freeglut_internal.h:643: warning: struct has no members
freeglut_internal.h:650: error: expected specifier-qualifier-list
before 'GLfloat'
freeglut_internal.h:732: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
freeglut_internal.h:750: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:750: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:753: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:754: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:819: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fgCheckActiveMenu'
freeglut_callbacks.c: In function 'glutDisplayFunc':
freeglut_callbacks.c:49: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutReshapeFunc':
freeglut_callbacks.c:61: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutKeyboardFunc':
freeglut_callbacks.c:71: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpecialFunc':
freeglut_callbacks.c:80: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutIdleFunc':
freeglut_callbacks.c:89: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:90: error: 'SFG_State' has no member named
'IdleCallback'
freeglut_callbacks.c: In function 'glutTimerFunc':
freeglut_callbacks.c:101: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:103: error: 'SFG_State' has no member named
'FreeTimers'
freeglut_callbacks.c:105: error: 'SFG_State' has no member named
'FreeTimers'
freeglut_callbacks.c:118: error: 'SFG_State' has no member named
'Timers'
freeglut_callbacks.c:124: error: 'SFG_State' has no member named
'Timers'
freeglut_callbacks.c: In function 'fghVisibility':
freeglut_callbacks.c:134: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutVisibilityFunc':
freeglut_callbacks.c:144: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutKeyboardUpFunc':
freeglut_callbacks.c:159: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpecialUpFunc':
freeglut_callbacks.c:168: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutJoystickFunc':
freeglut_callbacks.c:179: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:183: error: 'SFG_WindowState' has no member named
'JoystickPollRate'
freeglut_callbacks.c:185: error: 'SFG_WindowState' has no member named
'JoystickLastPoll'
freeglut_callbacks.c:186: error: 'SFG_WindowState' has no member named
'JoystickPollRate'
freeglut_callbacks.c:188: error: 'SFG_WindowState' has no member named
'JoystickLastPoll'
freeglut_callbacks.c:189: error: 'SFG_WindowState' has no member named
'JoystickLastPoll'
freeglut_callbacks.c: In function 'glutMouseFunc':
freeglut_callbacks.c:197: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMouseWheelFunc':
freeglut_callbacks.c:206: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMotionFunc':
freeglut_callbacks.c:216: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutPassiveMotionFunc':
freeglut_callbacks.c:226: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutEntryFunc':
freeglut_callbacks.c:235: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutCloseFunc':
freeglut_callbacks.c:244: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutWMCloseFunc':
freeglut_callbacks.c:250: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMenuDestroyFunc':
freeglut_callbacks.c:257: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMenuStateFunc':
freeglut_callbacks.c:267: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:268: error: 'SFG_State' has no member named
'MenuStateCallback'
freeglut_callbacks.c: In function 'glutMenuStatusFunc':
freeglut_callbacks.c:276: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:277: error: 'SFG_State' has no member named
'MenuStatusCallback'
freeglut_callbacks.c: In function 'glutOverlayDisplayFunc':
freeglut_callbacks.c:285: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutWindowStatusFunc':
freeglut_callbacks.c:294: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpaceballMotionFunc':
freeglut_callbacks.c:303: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpaceballRotateFunc':
freeglut_callbacks.c:312: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpaceballButtonFunc':
freeglut_callbacks.c:321: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutButtonBoxFunc':
freeglut_callbacks.c:330: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutDialsFunc':
freeglut_callbacks.c:339: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutTabletMotionFunc':
freeglut_callbacks.c:348: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutTabletButtonFunc':
freeglut_callbacks.c:357: error: 'SFG_State' has no member named
'Initialised'
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: Leaving directory `/home/tudor/freeGLUT/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tudor/freeGLUT/freeglut-2.4.0'
make: *** [all] Error 2
·····@tudor-desktop:~/freeGLUT/freeglut-2.4.0$ make
make  all-recursive
make[1]: Entering directory `/home/tudor/freeGLUT/freeglut-2.4.0'
Making all in src
make[2]: Entering directory `/home/tudor/freeGLUT/freeglut-2.4.0/src'
source='freeglut_callbacks.c' object='libglut_la-
freeglut_callbacks.lo' libtool=yes \
        depfile='.deps/libglut_la-freeglut_callbacks.Plo'
tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
        depmode=gcc3 /bin/bash ../depcomp \
        /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../include    -g -O2 -Wall -pedantic -Werror -c -o
libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo
'./'`freeglut_callbacks.c
rm -f .libs/libglut_la-freeglut_callbacks.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -pedantic -
Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -
MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo  -fPIC -DPIC -
o .libs/libglut_la-freeglut_callbacks.lo
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
directory
../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
directory
In file included from ../include/GL/freeglut.h:17,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:432: error: expected ')' before 'layer'
../include/GL/freeglut_std.h:491: error: expected ')' before 'query'
../include/GL/freeglut_std.h:492: error: expected ')' before 'query'
../include/GL/freeglut_std.h:494: error: expected ')' before 'query'
../include/GL/freeglut_std.h:509: error: expected ')' before 'size'
../include/GL/freeglut_std.h:510: error: expected ')' before 'size'
../include/GL/freeglut_std.h:511: error: expected ')' before 'radius'
../include/GL/freeglut_std.h:512: error: expected ')' before 'radius'
../include/GL/freeglut_std.h:513: error: expected ')' before 'base'
../include/GL/freeglut_std.h:514: error: expected ')' before 'base'
../include/GL/freeglut_std.h:516: error: expected ')' before
'innerRadius'
../include/GL/freeglut_std.h:517: error: expected ')' before
'innerRadius'
../include/GL/freeglut_std.h:530: error: expected ')' before 'size'
../include/GL/freeglut_std.h:531: error: expected ')' before 'size'
../include/GL/freeglut_std.h:539: error: expected ')' before 'query'
../include/GL/freeglut_std.h:544: error: expected ')' before 'query'
../include/GL/freeglut_std.h:553: error: expected declaration
specifiers or '...' before 'GLfloat'
../include/GL/freeglut_std.h:553: error: expected declaration
specifiers or '...' before 'GLfloat'
../include/GL/freeglut_std.h:553: error: expected declaration
specifiers or '...' before 'GLfloat'
../include/GL/freeglut_std.h:554: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'glutGetColor'
In file included from ../include/GL/freeglut.h:18,
                 from freeglut_callbacks.c:28:
../include/GL/freeglut_ext.h:97: error: expected ')' before
'option_flag'
../include/GL/freeglut_ext.h:108: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'glutStrokeHeight'
../include/GL/freeglut_ext.h:117: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:117: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:118: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:118: error: expected declaration
specifiers or '...' before 'GLdouble'
../include/GL/freeglut_ext.h:119: error: expected ')' before 'radius'
../include/GL/freeglut_ext.h:120: error: expected ')' before 'radius'
In file included from freeglut_callbacks.c:29:
freeglut_internal.h:95:24: error: GL/glx.h: No such file or directory
In file included from freeglut_callbacks.c:29:
freeglut_internal.h:176: error: expected specifier-qualifier-list
before 'GLint'
cc1: warnings being treated as errors
freeglut_internal.h:178: warning: struct has no members
freeglut_internal.h:189: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:211: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:305: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'SFG_WindowContextType'
freeglut_internal.h:322: error: expected specifier-qualifier-list
before 'SFG_WindowContextType'
freeglut_internal.h:342: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:503: error: expected specifier-qualifier-list
before 'XVisualInfo'
freeglut_internal.h:507: warning: struct has no members
freeglut_internal.h:521: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:539: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:565: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:605: error: expected specifier-qualifier-list
before 'GLboolean'
freeglut_internal.h:607: warning: struct has no members
freeglut_internal.h:617: error: expected ':', ',', ';', '}' or
'__attribute__' before '*' token
freeglut_internal.h:627: error: expected specifier-qualifier-list
before 'GLfloat'
freeglut_internal.h:628: warning: struct has no members
freeglut_internal.h:640: error: expected specifier-qualifier-list
before 'GLfloat'
freeglut_internal.h:643: warning: struct has no members
freeglut_internal.h:650: error: expected specifier-qualifier-list
before 'GLfloat'
freeglut_internal.h:732: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
freeglut_internal.h:750: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:750: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:753: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:754: error: expected declaration specifiers or
'...' before 'GLboolean'
freeglut_internal.h:819: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fgCheckActiveMenu'
freeglut_callbacks.c: In function 'glutDisplayFunc':
freeglut_callbacks.c:49: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutReshapeFunc':
freeglut_callbacks.c:61: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutKeyboardFunc':
freeglut_callbacks.c:71: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpecialFunc':
freeglut_callbacks.c:80: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutIdleFunc':
freeglut_callbacks.c:89: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:90: error: 'SFG_State' has no member named
'IdleCallback'
freeglut_callbacks.c: In function 'glutTimerFunc':
freeglut_callbacks.c:101: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:103: error: 'SFG_State' has no member named
'FreeTimers'
freeglut_callbacks.c:105: error: 'SFG_State' has no member named
'FreeTimers'
freeglut_callbacks.c:118: error: 'SFG_State' has no member named
'Timers'
freeglut_callbacks.c:124: error: 'SFG_State' has no member named
'Timers'
freeglut_callbacks.c: In function 'fghVisibility':
freeglut_callbacks.c:134: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutVisibilityFunc':
freeglut_callbacks.c:144: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutKeyboardUpFunc':
freeglut_callbacks.c:159: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpecialUpFunc':
freeglut_callbacks.c:168: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutJoystickFunc':
freeglut_callbacks.c:179: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:183: error: 'SFG_WindowState' has no member named
'JoystickPollRate'
freeglut_callbacks.c:185: error: 'SFG_WindowState' has no member named
'JoystickLastPoll'
freeglut_callbacks.c:186: error: 'SFG_WindowState' has no member named
'JoystickPollRate'
freeglut_callbacks.c:188: error: 'SFG_WindowState' has no member named
'JoystickLastPoll'
freeglut_callbacks.c:189: error: 'SFG_WindowState' has no member named
'JoystickLastPoll'
freeglut_callbacks.c: In function 'glutMouseFunc':
freeglut_callbacks.c:197: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMouseWheelFunc':
freeglut_callbacks.c:206: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMotionFunc':
freeglut_callbacks.c:216: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutPassiveMotionFunc':
freeglut_callbacks.c:226: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutEntryFunc':
freeglut_callbacks.c:235: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutCloseFunc':
freeglut_callbacks.c:244: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutWMCloseFunc':
freeglut_callbacks.c:250: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMenuDestroyFunc':
freeglut_callbacks.c:257: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutMenuStateFunc':
freeglut_callbacks.c:267: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:268: error: 'SFG_State' has no member named
'MenuStateCallback'
freeglut_callbacks.c: In function 'glutMenuStatusFunc':
freeglut_callbacks.c:276: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c:277: error: 'SFG_State' has no member named
'MenuStatusCallback'
freeglut_callbacks.c: In function 'glutOverlayDisplayFunc':
freeglut_callbacks.c:285: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutWindowStatusFunc':
freeglut_callbacks.c:294: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpaceballMotionFunc':
freeglut_callbacks.c:303: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpaceballRotateFunc':
freeglut_callbacks.c:312: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutSpaceballButtonFunc':
freeglut_callbacks.c:321: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutButtonBoxFunc':
freeglut_callbacks.c:330: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutDialsFunc':
freeglut_callbacks.c:339: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutTabletMotionFunc':
freeglut_callbacks.c:348: error: 'SFG_State' has no member named
'Initialised'
freeglut_callbacks.c: In function 'glutTabletButtonFunc':
freeglut_callbacks.c:357: error: 'SFG_State' has no member named
'Initialised'
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: Leaving directory `/home/tudor/freeGLUT/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tudor/freeGLUT/freeglut-2.4.0'
make: *** [all] Error 2
From: ··@frank-buss.de
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <1175551008.567749.31130@p77g2000hsh.googlegroups.com>
On 2 Apr., 23:40, "Tudor" <·······@gmail.com> wrote:
> In file included from ../include/GL/freeglut.h:17,
>                  from freeglut_callbacks.c:28:
> ../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
> directory
> ../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
> directory

You need to install the OpenGL libraries and headers, too. Your
postings looks like you are using Ubuntu, I think there are a package
for this and maybe even for freeglut.

--
Frank Buss, ··@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
From: Tudor
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <1175551414.072837.312400@o5g2000hsb.googlegroups.com>
On Apr 2, 5:56 pm, ····@frank-buss.de wrote:
> On 2 Apr., 23:40, "Tudor" <·······@gmail.com> wrote:
>
> > In file included from ../include/GL/freeglut.h:17,
> >                  from freeglut_callbacks.c:28:
> > ../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
> > directory
> > ../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
> > directory
>
> You need to install the OpenGL libraries and headers, too. Your
> postings looks like you are using Ubuntu, I think there are a package
> for this and maybe even for freeglut.
>
> --
> Frank Buss, ····@frank-buss.dehttp://www.frank-buss.de,http://www.it4-systems.de

There are a ton of opengl packages; I don't know which ones to get :/.
A list, if you don't use ubuntu:
freeglut3 - OpenGL Utility Toolkit
freeglut3-dbg - OpenGL Utility Toolkit debugging information
freeglut3-dev - OpenGL Utility Toolkit development files
gle-doc - OpenGL tubing and extrusion library documentation
glut-doc - documentation and examples for the OpenGL Utility Toolkit
glutg3-dev - the OpenGL Utility Toolkit development files
kipi-plugins - image manipulation/handling plugins for KIPI aware
programs
libdrm-dev - Userspace interface to kernel DRM services -- development
files
libdrm2 - Userspace interface to kernel DRM services -- runtime
libgl1-mesa-dev - A free implementation of the OpenGL API -- GLX
development support files
libgl1-mesa-dri - A free implementation of the OpenGL API -- DRI
modules
libgl1-mesa-glx - A free implementation of the OpenGL API -- GLX
runtime
libgl1-mesa-swx11 - A free implementation of the OpenGL API -- runtime
libgl1-mesa-swx11-dbg - A free implementation of the OpenGL API --
debugging package
libgl1-mesa-swx11-dev - A free implementation of the OpenGL API --
development support files
libgle-doc - OpenGL tubing and extrusion library documentation
libgle3 - OpenGL tubing and extrusion library
libgle3-dev - OpenGL tubing and extrusion library development files
libglew-dev - The OpenGL Extension Wrangler - development environment
libglew1 - The OpenGL Extension Wrangler - runtime environment
libglitz-glx1 - Glitz OpenGL library GLX backend
libglitz-glx1-dev - Glitz OpenGL library GLX backend development
libraries and headers
libglitz1 - Glitz OpenGL image compositing library
libglitz1-dev - OpenGL image compositing library development libraries
and headers
libglu1-mesa - The OpenGL utility library (GLU)
libglu1-mesa-dev - The OpenGL utility library -- development support
files
libglut3 - the OpenGL Utility Toolkit
libglut3-dev - development libraries and headers for GLUT
libosmesa6 - Mesa Off-screen rendering extension
libqt4-gui - Qt 4 core GUI functionality runtime library
libtiff-tools - TIFF manipulation and conversion tools
mesa-common-dev - Developer documentation for Mesa
python-qt4 - Python bindings for Qt4
rss-glx - Really Slick Screensavers GLX Port
x11proto-gl-dev - X11 OpenGL extension wire protocol
xscreensaver-gl - GL(Mesa) screen hacks for xscreensaver
nvidia-settings - Tool of configuring the NVIDIA graphics driver
3ddesktop - "Three-dimensional" desktop switcher
achilles - An artificial life and evolution simulator
blender-ogrexml - Blender Exporter for Ogre
boson - an OpenGL wargame for KDE
boson-data - Datas for Boson, a real-time strategy game
briquolo - 3D BreakOut clone
cl-sdl-demos - CL-SDL and OpenGL example programs
cl-sdl-opengl - Support for OpenGL in Common Lisp, via CL-SDL
clanlib-doc - Reference documentation and tutorials for ClanLib
clanlib-examples - Examples for ClanLib
conquest-gl - a real-time, multi-player space warfare game (OpenGL
client)
crack-attack - multiplayer OpenGL puzzle game like "Tetris Attack"
criticalmass - Shoot-em-up a la galaxian
csmash - CannonSmash, a table tennis simulation game
driconf - DRI configuration applet
egoboo - 3D dungeon crawling adventure in the spirit of NetHack
egoboo-data - Egoboo data files.
entity-gl - XML-based GUI builder for GTK+ (OpenGL bindings)
foobillard - a 3D billiards game using OpenGL
fp-units-gfx - Free Pascal -- graphics libraries units
ftgl-dev - Library to render text in OpenGL using FreeType
gauche-gl - Gauche bindings for OpenGL
gem - Graphics Environment for Multimedia - PureData library
ggz-sdl-games - GGZ Gaming Zone: game clients collection for SDL
ghc6-hopengl - HOpenGL libraries for the Glasgow Haskell Compilation
system
ghemical - A GNOME molecular modelling environment
gliv - image viewer using gdk-pixbuf and OpenGL
glutg3 - the OpenGL Utility Toolkit
gngb - GameBoy Emulator
gnubik - 3D Rubik's cube game
gstreamer0.10-gl - GStreamer plugin for OpenGL output
gtkglarea5 - Gimp Toolkit OpenGL area widget shared library
gtkglarea5-dev - Gimp Toolkit OpenGL area widget include files and
static library
junior-games-gl - Debian Jr. 3D Games (hardware acceleration required)
k3d - 3D modeling and animation system
libalut-dev - OpenAL Utility Toolkit development files
libalut0 - OpenAL Utility Toolkit
libcegui-mk2-0c2a - Crazy Eddie's GUI (libraries)
libcegui-mk2-0c2a-dbg - Crazy Eddie's GUI (debugging libraries)
libcegui-mk2-dev - Crazy Eddie's GUI (development files)
libclan2c2a-gl - OpenGL module for ClanLib game SDK
libclan2c2a-gui - GUI module for ClanLib game SDK
libclan2c2a-jpeg - JPEG module for ClanLib game SDK
libclan2c2a-lua - Lua module for ClanLib game SDK
libclan2c2a-mikmod - MikMod module for ClanLib game SDK
libclan2c2a-network - Network module for ClanLib game SDK
libclan2c2a-png - PNG module for ClanLib game SDK
libclan2c2a-sound - Sound module for ClanLib game SDK
libclan2c2a-ttf - TTF module for ClanLib game SDK
libclan2c2a-vorbis - Vorbis module for ClanLib game SDK
libclanlib-dev - ClanLib game SDK development files
libclanlib2c2a - ClanLib game SDK core runtime
libcoin40-dev - high-level 3D graphics devkit with Open Inventor and
VRML97 support
libcoin40c2 - high-level 3D graphics kit with Open Inventor and VRML97
support - runtime
libdeps-renderer-tulip-perl - DEPS renderer plugin using Tulip
libdevil-dev - Cross-platform image loading and manipulation toolkit
libformsgl-dev - Header files and static libraries for the OpenGL
XForms library
libformsgl1 - The OpenGL XForms graphical interface widget library
libfox1.2c2 - The FOX C++ GUI Toolkit
libfox1.4 - The FOX C++ GUI Toolkit
libgl1-mesa-glide3 - A free implementation of the OpenGL API -- glide
runtime
libgl1-mesa-glide3-dev - A free implementation of the OpenGL API --
glide development support files
libglpng - PNG loader for OpenGL
libglpng-dev - PNG loader for OpenGL - development files
libglui-dev - A GLUT-based C++ user interface library
libgtkada-gl-2.8 - Ada binding for OpenGL
From: Tudor
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <1175551692.209710.96970@y80g2000hsf.googlegroups.com>
On Apr 2, 6:03 pm, "Tudor" <·······@gmail.com> wrote:
> On Apr 2, 5:56 pm, ····@frank-buss.de wrote:
>
> > On 2 Apr., 23:40, "Tudor" <·······@gmail.com> wrote:
>
> > > In file included from ../include/GL/freeglut.h:17,
> > >                  from freeglut_callbacks.c:28:
> > > ../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
> > > directory
> > > ../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
> > > directory
>
> > You need to install the OpenGL libraries and headers, too. Your
> > postings looks like you are using Ubuntu, I think there are a package
> > for this and maybe even for freeglut.
>
> > --
> > Frank Buss, ····@frank-buss.dehttp://www.frank-buss.de,http://www.it4-systems.de
>
> There are a ton of opengl packages; I don't know which ones to get :/.
> A list, if you don't use ubuntu:
> freeglut3 - OpenGL Utility Toolkit
> freeglut3-dbg - OpenGL Utility Toolkit debugging information
> freeglut3-dev - OpenGL Utility Toolkit development files
> gle-doc - OpenGL tubing and extrusion library documentation
> glut-doc - documentation and examples for the OpenGL Utility Toolkit
> glutg3-dev - the OpenGL Utility Toolkit development files
> kipi-plugins - image manipulation/handling plugins for KIPI aware
> programs
> libdrm-dev - Userspace interface to kernel DRM services -- development
> files
> libdrm2 - Userspace interface to kernel DRM services -- runtime
> libgl1-mesa-dev - A free implementation of the OpenGL API -- GLX
> development support files
> libgl1-mesa-dri - A free implementation of the OpenGL API -- DRI
> modules
> libgl1-mesa-glx - A free implementation of the OpenGL API -- GLX
> runtime
> libgl1-mesa-swx11 - A free implementation of the OpenGL API -- runtime
> libgl1-mesa-swx11-dbg - A free implementation of the OpenGL API --
> debugging package
> libgl1-mesa-swx11-dev - A free implementation of the OpenGL API --
> development support files
> libgle-doc - OpenGL tubing and extrusion library documentation
> libgle3 - OpenGL tubing and extrusion library
> libgle3-dev - OpenGL tubing and extrusion library development files
> libglew-dev - The OpenGL Extension Wrangler - development environment
> libglew1 - The OpenGL Extension Wrangler - runtime environment
> libglitz-glx1 - Glitz OpenGL library GLX backend
> libglitz-glx1-dev - Glitz OpenGL library GLX backend development
> libraries and headers
> libglitz1 - Glitz OpenGL image compositing library
> libglitz1-dev - OpenGL image compositing library development libraries
> and headers
> libglu1-mesa - The OpenGL utility library (GLU)
> libglu1-mesa-dev - The OpenGL utility library -- development support
> files
> libglut3 - the OpenGL Utility Toolkit
> libglut3-dev - development libraries and headers for GLUT
> libosmesa6 - Mesa Off-screen rendering extension
> libqt4-gui - Qt 4 core GUI functionality runtime library
> libtiff-tools - TIFF manipulation and conversion tools
> mesa-common-dev - Developer documentation for Mesa
> python-qt4 - Python bindings for Qt4
> rss-glx - Really Slick Screensavers GLX Port
> x11proto-gl-dev - X11 OpenGL extension wire protocol
> xscreensaver-gl - GL(Mesa) screen hacks for xscreensaver
> nvidia-settings - Tool of configuring the NVIDIA graphics driver
> 3ddesktop - "Three-dimensional" desktop switcher
> achilles - An artificial life and evolution simulator
> blender-ogrexml - Blender Exporter for Ogre
> boson - an OpenGL wargame for KDE
> boson-data - Datas for Boson, a real-time strategy game
> briquolo - 3D BreakOut clone
> cl-sdl-demos - CL-SDL and OpenGL example programs
> cl-sdl-opengl - Support for OpenGL in Common Lisp, via CL-SDL
> clanlib-doc - Reference documentation and tutorials for ClanLib
> clanlib-examples - Examples for ClanLib
> conquest-gl - a real-time, multi-player space warfare game (OpenGL
> client)
> crack-attack - multiplayer OpenGL puzzle game like "Tetris Attack"
> criticalmass - Shoot-em-up a la galaxian
> csmash - CannonSmash, a table tennis simulation game
> driconf - DRI configuration applet
> egoboo - 3D dungeon crawling adventure in the spirit of NetHack
> egoboo-data - Egoboo data files.
> entity-gl - XML-based GUI builder for GTK+ (OpenGL bindings)
> foobillard - a 3D billiards game using OpenGL
> fp-units-gfx - Free Pascal -- graphics libraries units
> ftgl-dev - Library to render text in OpenGL using FreeType
> gauche-gl - Gauche bindings for OpenGL
> gem - Graphics Environment for Multimedia - PureData library
> ggz-sdl-games - GGZ Gaming Zone: game clients collection for SDL
> ghc6-hopengl - HOpenGL libraries for the Glasgow Haskell Compilation
> system
> ghemical - A GNOME molecular modelling environment
> gliv - image viewer using gdk-pixbuf and OpenGL
> glutg3 - the OpenGL Utility Toolkit
> gngb - GameBoy Emulator
> gnubik - 3D Rubik's cube game
> gstreamer0.10-gl - GStreamer plugin for OpenGL output
> gtkglarea5 - Gimp Toolkit OpenGL area widget shared library
> gtkglarea5-dev - Gimp Toolkit OpenGL area widget include files and
> static library
> junior-games-gl - Debian Jr. 3D Games (hardware acceleration required)
> k3d - 3D modeling and animation system
> libalut-dev - OpenAL Utility Toolkit development files
> libalut0 - OpenAL Utility Toolkit
> libcegui-mk2-0c2a - Crazy Eddie's GUI (libraries)
> libcegui-mk2-0c2a-dbg - Crazy Eddie's GUI (debugging libraries)
> libcegui-mk2-dev - Crazy Eddie's GUI (development files)
> libclan2c2a-gl - OpenGL module for ClanLib game SDK
> libclan2c2a-gui - GUI module for ClanLib game SDK
> libclan2c2a-jpeg - JPEG module for ClanLib game SDK
> libclan2c2a-lua - Lua module for ClanLib game SDK
> libclan2c2a-mikmod - MikMod module for ClanLib game SDK
> libclan2c2a-network - Network module for ClanLib game SDK
> libclan2c2a-png - PNG module for ClanLib game SDK
> libclan2c2a-sound - Sound module for ClanLib game SDK
> libclan2c2a-ttf - TTF module for ClanLib game SDK
> libclan2c2a-vorbis - Vorbis module for ClanLib game SDK
> libclanlib-dev - ClanLib game SDK development files
> libclanlib2c2a - ClanLib game SDK core runtime
> libcoin40-dev - high-level 3D graphics devkit with Open Inventor and
> VRML97 support
> libcoin40c2 - high-level 3D graphics kit with Open Inventor and VRML97
> support - runtime
> libdeps-renderer-tulip-perl - DEPS renderer plugin using Tulip
> libdevil-dev - Cross-platform image loading and manipulation toolkit
> libformsgl-dev - Header files and static libraries for the OpenGL
> XForms library
> libformsgl1 - The OpenGL XForms graphical interface widget library
> libfox1.2c2 - The FOX C++ GUI Toolkit
> libfox1.4 - The FOX C++ GUI Toolkit
> libgl1-mesa-glide3 - A free implementation of the OpenGL API -- glide
> runtime
> libgl1-mesa-glide3-dev - A free implementation of the OpenGL API --
> glide development support files
> libglpng - PNG loader for OpenGL
> libglpng-dev - PNG loader for OpenGL - development files
> libglui-dev - A GLUT-based C++ user interface library
> libgtkada-gl-2.8 - Ada binding for OpenGL

Sorry, I forgot to add that ubuntu tells me that I already have the
latest freeglut.
From: Lars Rune Nøstdal
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <4611bdc7$0$29070$c83e3ef6@nn1-read.tele2.net>
On Mon, 02 Apr 2007 15:08:12 -0700, Tudor wrote:

Try:

> freeglut3-dev

-- 
Lars Rune Nøstdal
http://nostdal.org/
From: Lars Rune Nøstdal
Subject: Re: How to install cl-opengl?
Date: 
Message-ID: <4611be20$0$29070$c83e3ef6@nn1-read.tele2.net>
On Tue, 03 Apr 2007 02:36:55 +0000, Lars Rune Nøstdal wrote:

> On Mon, 02 Apr 2007 15:08:12 -0700, Tudor wrote:
> 
> Try:
> 
>> freeglut3-dev
>

uhm, nevermind if you already have the package installed ..

-- 
Lars Rune Nøstdal
http://nostdal.org/