English 中文(简体)
No acceleration for OpenGL and ImportError for modules that exist
原标题:

I m writing a program using wxPython and OpenGL. The program works, but without any antialiasing, and I get these error messages: (I m using ArchLinux)

INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module loaded: No module named OpenGL_accelerate

However, when I look into my site-packages folder, I see the module present there. I have a wxPython demo program that uses GLCanvas, and it works fine, without any errors.

My program is quite similar to the GLCanvas demo, involving just translations, rotations, drawing quads and some basic lighting.

What am I doing wrong here? (The code is over 200 lines, if necessary I ll edit this and put it here)

问题回答

暂无回答




相关问题
Getting value of TextCtrl from a different wxPanel

I was trying to get my first wxWindow application to work and I ran into following difficulty: I create wxPanel and add a wxNotebook object to it. Then I add a page to notebook created from another ...

Displaying OpenCV iplimage data structures with wxPython

Here is my current code (language is Python): newFrameImage = cv.QueryFrame(webcam) newFrameImageFile = cv.SaveImage("temp.jpg",newFrameImage) wxImage = wx.Image("temp.jpg", wx.BITMAP_TYPE_ANY)....

Tree view GUI widget/gui library that can do multiple icons?

Screenshot I m looking to recreate this in Python; I can t find a library that seems to have what I need. Are there any GUI libraries that might possibly have this? - I have scoured wxWidgets (which ...

Alternatives to wx.lib.masked.NumCtrl

In a wxPython application I m developing I need a lot of input fields for numbers (integers and floats), so I tried using wx.lib.masked.NumCtrl, but my users now tell me that it s quite uncomfortable ...

热门标签