Hi Patrick,
I've tried to run pi3d on windos7 64-bit with the following conditions,
- Python version 3.3.2
- Pygame from https://bitbucket.org/pygame/pygame/downloads (pygame-1.9.2a0-hg_56e0eadfc267.win32-py3.3.msi)
- Numpy-1.9.0-py3.3
- Pillow-2.0.0.win32-py3.3.exe
- pi3d from https://github.com/tipam/pi3d (download zip file) and install with cmd python setup.py install, it install to C:\python33\Lib\site-packages and then I modifed pi3d/constants/__init__.py line:87,88
And the error shown as below.
Hmm, that could be the same eglInitialize() failing issue. How many different locations did you find libegl.dll files? I will attach a testing application that I've been playing with. Hopefully it will give a bit more info that we can use to help diagnose the issue. You will have to manually change the ANGLE files to test by changing the subscripts in line 55 then re-running it each time I'm afraid. Do you know what make of gpu is in your computer?
--
You received this message because you are subscribed to a topic in the Google Groups "pi3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pi3d/26I1m_BvVk8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pi3d+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
apparently pip "comes with" python >= 3.4 or >= 2.7.9 but there is a script to bootstrap it https://bootstrap.pypa.io/get-pip.py which I might or might not have used at some stage in the past!
--
print("found {} paths".format(len(results_list)))
results_list = ["C:\\Program Files (x86)\\Google\\Chrome\\Application\\42.0.2311.135",
"C:\\Program Files (x86)\\Google\\Chrome\\Application\\42.0.2311.152"]
for path in results_list[0:1]: ### and run it again with [1:2]
######### NB I've found this only works properly #####################
Hi Paddy,
eglTerminate(display)
r = eglInitialize(display, None, None) opengles = _load_library("libGLESv2.dll", "Win")
openegl = _load_library("libegl.dll", "Win") opengles = None #_load_library("C:/Program Files (x86)...
openegl = None #_load_library("C:/Program Fi...print("eglGetConfigs returned code={} with {} configs".format(r, numconfig.value)) # shouldn't be more than 60, surely!Hi Paddy,
Second case, Use your compiled dll file
--
You received this message because you are subscribed to a topic in the Google Groups "pi3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pi3d/26I1m_BvVk8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pi3d+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Had another look at this after seeing how python for android piggy-backed the mulitplatform work of pygame using SDL. Quite a way to go with keyboard and mouse input but this is significant progress. I'm getting libegl.dll and libglesv2.dll from chrome, but mozilla also use ANGLE (as do many others, I think i found four or five different places with these libraries on my machine, all different from each other!!) and just passing eglCreateWindowSurface() the value of pygame.display.get_wm_info()["window"]