
py-lepton - issue #5
_glColorPointer not found (Mac OS 10.5.4, MacBookPro, GeForce 8600M GT, python 2.6.2)
What steps will reproduce the problem?
Download and install lepton-1.0b2.tar.gz into python 2.6.2 (build log available in attached file; build appeared to be successful but I ran no other tests)
svn update caseman-read-only, cd mech, python run_game.py
I got this traceback:
Traceback (most recent call last): File "run_game.py", line 10, in <module> from mechazoid import main File "/Applications/pyglet/web-examples/caseman-read-only/mech/mechazoid/main.py", line 1, in <module> import game File "/Applications/pyglet/web-examples/caseman-read-only/mech/mechazoid/game.py", line 4, in <module> import building File "/Applications/pyglet/web-examples/caseman-read-only/mech/mechazoid/building.py", line 3, in <module> import lepton.renderer ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/lepton/renderer.so, 2): Symbol not found: _glColorPointer Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/lepton/renderer.so Expected in: dynamic lookup
Exit 1
What version of the product are you using? On what operating system?
lepton-1.0b2 Mac OS 10.5.4 MacBookPro (Intel Core Duo) GeForce 8600M GT python 2.6.2
- lepton-install-output 19.94KB
Comment #1
Posted on Nov 4, 2009 by Swift CamelThis seems to imply that the installed driver does not support OpenGL 1.1, which seems very odd. I only have a MacBook with an ATI and one with a GeForce 9400M to test and I don't have this issue. If you go into the system profiler, under Software > Frameworks, what version of OpenGL is claimed to be supported? The software basically assumes 1.4 or better, though the billboard renderer should work with 1.1 or better.
BTW: Where did you hear about mechazoid? It's basically an aborted project, but there might be some nuggets in there worth stealing 8^)
Comment #2
Posted on Nov 4, 2009 by Happy Monkeywhat version of OpenGL is claimed to be supported?
OpenGL:
Version: 1.5.10 Last Modified: 11/25/08 7:19 AM Get Info String: OpenGL 1.5.10.7.0 Location: /System/Library/Frameworks/OpenGL.framework Private: No
BTW: Where did you hear about mechazoid?
Some combination of reading pyglet-users (IIRC someone pointed to your code as good pyglet example code), google search (perhaps for "texture splatting"), or google code search (for uses of various pyglet functions).
Comment #3
Posted on Jul 27, 2010 by Quick BirdI had this problem, but it went away when I moved my pyglet imports:
"""from pyglet import image from pyglet.gl import *"""
before all lepton related imports.
Status: New
Labels:
Type-Defect
Priority-Medium