On 11/13/06 6:55 PM, Jakub Kozisek wrote:
Hello,
I took old PositionalArgs, did minimal changes and installed it into 3.9 image. After applying this changes and loading FFI package, OpenGL package loads without any problems (hope it will be working too :).
Now there is another thing needed to be done - going through the code and update it (like "Smalltalk platformName" in OpenGL class>>new, and so on).
If anybody have time to clean it, feel free to be my hero :), if not, I will try to do my best although it will take me longer.
Bye!
Jakub http://www.nabble.com/file/4145/PositionalArgs39.1.cs PositionalArgs39.1.cs
Just curious if anyone has an updated version of this that works in 3.10.2/Pharo?
Thanks, Phil
Diego Fernandez wrote:
Thanks!! :) I will try to make a Squeak 3.9 compatible version, from the one found in Croquet.
On 11/3/06, Alexander LazarevićAlexander@lazarevic.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I even found a short description I once wrote at that time about PositionalArgs and the OpenGLApi.
http://www.lazarevic.de/PositionalArgs.html
Regards, Alex
PS: Again, this was all for 3.7. PPS: It seems that only FireFox displays all of the Unicode characters (check, etc.) in the right way.
Alexander Lazarević schrieb:
Hi,
When I played with OpenGL in Squeak (3.7) I used
http://www.lazarevic.de/download/squeak/PositionalArgs37.2.cs
to load in a vanilla 3.7 image to be able to load the OpenGLApi afterwards. I don't know how much has changed in 3.9, but it may be worth a try to load this into a 3.9 image and get the current OpenGL
Api
from CroquetSource after that?
Regards, Alex
Bert Freudenberg schrieb:
Am 14.10.2006 um 00:55 schrieb Andreas Raab:
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.
Ah, no, that's the positional arg syntax extension ... it lets you
write
a Smalltalk method named "glBindBufferARB(target, buffer)", which becomes the symbol #'glBindBufferARB()/2'.
Each of these methods is installed twice, the other in this case is #glBindBufferARB:with:.
Hmm, might be easier to download croquet, delete these methods, and fileout the rest.
- Bert -
-----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFS2g+YiF2wSTEZ9gRAsgWAJ9tnUR7o/ptiZDugUzhf2i/yrVJvQCdF6dc br4lSJ4+U3ko/TXyxfh32lM= =GBur -----END PGP SIGNATURE-----