Closed mjknoll closed 1 year ago
It's likely CAMotics is finding another opengl.dll
file somewhere on your system that does not support 2.0. Do a search for opengl.dll
to see how many of them can be found.
Nothing but these.
You could try running CAMotics under http://dependencywalker.com/ to see which dlls it's actually loading.
Not very familiar with that software but the only reference to opengl I am finding after loading and profiling is below. On the previous version of camotics I would get a similar opengl error but it wouldn't crash the program, this version crash/closes.
versionFunctions: Not supported on OpenGL ES
Does it work if you set the environment variable QT_OPENGL=desktop
? CORRECT SOLUTION
Yes it runs with it set to desktop, was set to angle. Thanks.
If I understand you correctly, QT_OPENGL=angle
was already set on your system?
Yes it was set to angle that seems to break camotics. I can put anything else in there, even invalid arguments and it will run fine. I am assuming it was set by another piece of software that is using qt opengl, but I couldn't say which.
Yes, I think you are right. QT_OPENGL=angle
tells Qt to use OpenGL ES2.0 for everything. CAMotics is not yet compatible with OpenGL ES2.0. However, I plan to convert it to ES2.0.
So I read the 2 other issues with opengl and I am receiving a similar error but I am using a 1060 with the newest Nvidia driver and still getting an error about opengl 2.0. I also got the opengl extentions viewer tool and see that it shows 3.0+. Must be something 2.0 specific it needs?