caseman / py-lepton

Automatically exported from code.google.com/p/py-lepton
MIT License
2 stars 0 forks source link

_glColorPointer not found (Mac OS 10.5.4, MacBookPro, GeForce 8600M GT, python 2.6.2) #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. 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)

2. svn update caseman-read-only, cd mech, python run_game.py

3. 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-pack
ages/lepton/renderer.so,
2): Symbol not found: _glColorPointer
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/le
pton/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

Original issue reported on code.google.com by ores...@gmail.com on 2 Nov 2009 at 5:54

Attachments:

GoogleCodeExporter commented 9 years ago
This 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^)

Original comment by casey.du...@gmail.com on 4 Nov 2009 at 5:35

GoogleCodeExporter commented 9 years ago
> what 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).

Original comment by ores...@gmail.com on 4 Nov 2009 at 6:58

GoogleCodeExporter commented 9 years ago
I 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. 

Original comment by williams...@gmail.com on 27 Jul 2010 at 4:23