Loading the OpenGL package (was: Games with Squeak)

Andreas Raab andreas.raab at gmx.de
Fri Oct 13 22:55:16 UTC 2006


Diego Fernandez wrote:
> Anyway, I'm trying to load OpenGL-ar.36.mcz in Squeak 3.9 but I get:
> Syntax Error:
> glBindBufferARB(target, buffer)
>     "This method was generated by OGLExtManager"
>     <Argument expected ->apicall: void 'glBindBufferARB' (long ulong)>
> 
> Any clue on how to solve this error? (It looks that it's created with
> a "special" compiler)

Install the FFI from SqueakMap.

> And another question...
> As I wrote in the previous mail I've started to do some SDL bindings.
> But I think that maybe it's a waste of time, since today nearly all
> machines have OpenGL, and Squeak already has objects to deal with
> sound and joysticks.... so instead of using SDL for 2D graphics is
> better to use OpenGL for the same thing, what do yo thing about that?

Don't know. Depends on what you're doing and where you are going. SDL 
might be just fine for what you need to do. That said, OpenGL offers a 
lot of value in the long term.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list