[Newbies] Differences in OpenGL support on Linux vs. OS X?

Phil (list) pbpublist at gmail.com
Sat Jun 9 02:03:56 UTC 2012


On Jun 8, 2012, at 4:56 PM, Phil (list) wrote:

> Having said that and made the change to openGLLibraryName, now I'm getting a segfault on my first OpenGL call.  I'm running Ubuntu 12.04 64-bit desktop with 32-bit compat libs installed and running with proprietary X11/OpenGL (fglrx) drivers and libgl1-mesa-dev installed... do I need to symlink the library to a specific location or is there anything related to my configuration that sounds like the culprit?
> 
> Also, it finally dawned on me that I had too many variables in play troubleshooting this while trying to do everything at once (i.e. using a different vm/image/code) so I've installed Squeak 4.3 with the 'classic' VM (though I'm open to using any combination of VM and image that helps sort this out), using the current repo versions of FFI and OpenGL to try to keep the troubleshooting as straightforward as possible.

It turns out there are two flavors (builds) of the same VM and I picked the wrong one:

VM obtained via Ubuntu Software Center download:

squeakvm -version reports:
4.4.7-2357 #1 XShm Tue Apr 24 17:12:58 UTC 2012 gcc 4.6.3
Linux yellow 2.6.24-29-server #1 SMP Tue Oct 11 15:57:27 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
plugin path: /usr/lib/squeak/4.4.7-2357/ [default: /usr/lib/squeak/4.4.7-2357/]

Seg fault

===============================

VM obtained via Squeak all-in-one:

squeakvm -version  reports:
4.4.7-2357 #1 XShm Sun Jan 23 18:17:31 PST 2011 gcc 4.3.2
Linux vps2.piumarta.com 2.6.18-028stab053.10-ent #1 SMP Thu Feb 28 20:34:08 MSK 2008 i686 GNU/Linux
plugin path: /home/phil/Development/Smalltalk/phil-images/sq43/Squeak-4.3-All-in-One.app/Contents/Linux-i686/lib/squeak/4.4.7-2357/ [default: /home/phil/Development/Smalltalk/phil-images/sq43/Squeak-4.3-All-in-One.app/Contents/Linux-i686/lib/squeak/4.4.7-2357/]

Works

Looks like the first one is a 64-bit build and the second 32-bit which would probably explain it.

Thanks,
Phil


More information about the Beginners mailing list