[squeak-dev] OpenGL procedural textures generator (by David Faught) for Squeak 4.4

Bert Freudenberg bert at freudenbergs.de
Fri Mar 8 14:44:34 UTC 2013


On 2013-03-08, at 09:56, Nikolay Suslov <nsuslovi at gmail.com> wrote:

> Hello Chris,
> 
> It seems to be, that OpenGL lib could not be found by VM. 
> Sorry, could not test it running on Linux for now.. but there was the same problem with Croquet running on Linux, the solution was to provide the correct OpenGL lib links to VM. 

Actually, the solution was using the correct library name in the image. 

>>   1) The difference in the osVersion being checked for ('linux') vs.
>> what mine is, ('linux-gnu').  This would cause the 'GL' option to be
>> taken, is that right?

Yes, this would cause the wrong library name to be chosen. "libGL.so.1" should be correct. You should verify by decompiling any of the gl* methods in OpenGL's "Keyword API" category. They should show the right library name for your machine. 

You should also verify the name with 

	ldd so.vm-display-X11 | grep libGL

from the library directory your VM is using.

If this is still not working then you should make sure FFI works in the first place (you're not mixing 64 bits and 32 bits, are you?) and the GL library is in a place that the systems knows to look for.

It should be completely unnecessary to add a library symlink to make this work.

- Bert -




More information about the Squeak-dev mailing list