Open WMCh opened 4 years ago
Same issue here.
Big Sur and above has depreciate pyopengl, however using os 11.1 (latest version as of 01/14/2021), this is a work around: https://stackoverflow.com/questions/65202395/pyopengl-on-macos-bigsur-and-opengl-error-nullfunctionerror.
Thank you for @kaylolittlejohn's reply! I'll try it later.
np. I also had to use this workaround for Big Sur: https://github.com/mmatl/pyrender/issues/117. Once I did that and the above, it was able to output the rendered .mp4 file. Beforehand, mesh objects were created but not rendered to .mp4.
Thank you for @kaylolittlejohn's reply! I'll try it later.
np. I also had to use this workaround for Big Sur: mmatl/pyrender#117. Once I did that and the above, it was able to output the rendered .mp4 file. Beforehand, mesh objects were created but not rendered to .mp4.
Hi, I got the same issue. Seems I make all" successfully but when I use
make tests". It shew ImportError: ('Unable to load OpenGL library', 'dlopen(OpenGL, 10): image not found', 'OpenGL', None).
Do you know how could I solve this? Thanks in advance!
Interesting, it's hard to say without knowing your OS, env details, etc.
Interesting, it's hard to say without knowing your OS, env details, etc. I'm using Big Sur 11.2.1, M1 chip, py3. Other env should be similar I guess.
I don't know exactly what's going on in your case but Mac has been slowly been phasing out OpenGL. It has officially deprecated and for my own programs I need to modify the source code in order to get it to work in many cases. Usually it's an absolute max of 20 lines of code to solve the problem. Check out the resource below; I think I may have actually encountered the same error before.
Hi, I tested the package successfully on MacOS 10.14 but failed on MacOS 11 recently released. Specifically, I had no problems during compiling or even
import psbody
. But when Iimport psbody.mesh
, it returns something like this:I have found some information about OpenGL in MacOS 11 like LINK. It sounds like OpenGL is still a part of MacOS 11 (though deprecated). However, I am not an expert on MacOS or OpenGL. Is there any advice for my situation? THANKS!