Hi I am finding that none of my devices have a good enough graphics card.
I am working on a mac (v 10.15.3) with this graphics card: AMD Radeon R9 M290X 2Gb, I can
run the labs up until I have to rotate the square then I get this error message:
vrotate2d.glsl failed to compile:
ERROR: 0:1: '' : version '150' is not supported
When I googled it (https://stackoverflow.com/questions/44430594/mac-opengl-shader-error-
version-150-is-not-supported) I found it's because I don't have the right version of OpenGL
downloaded, and my current machine doesn't support OpenGL 3.2
Has anyone else had this problem? I can't seem to find a solution apart from buy a better
I have also tried running it off ubuntu on my rasberry pi (no chance of it working
there...), and downloading a linux subsystem on my windows laptop
According to wikipedia your card's good
up to 4.5, so 3.2 should be fine. I think
I remember when I compiled and tested the
examples a while ago there was one that
was asking for a 3.1 context when it
needed 3.2, giving a similar error. If
that's the case you just need to change
it to 3.2 in the source and recompile.
I'm at my computer now and just checked, on the mac version the lines to select the version (lines 4 and 5 of main) are commented out. You may also need to change
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE);
glutInitDisplayMode(GLUT_3_2_CORE_PROFILE | GLUT_RGBA | GLUT_DOUBLE);
a few lines before (https://stackoverflow.com/questions/11259328/glut-on-os-x-with-opengl-3-2-core-profile).
I don't have a mac to check but hopefully one or both of those changes should fix it.
As an alternate solution, I will suggest to install a virtual machine over the Mac and run your experiments in that environment. This will enable you to quickly have a setup where all the labs and project development can be done.
I have seen a few other students who had the MAC and were struggling with it, the installation of the virtual machine rescued them and now they are actively working on the labs.
Thank you for your help!
I implemented your code and went through a rabbit hole trying to get it to work on my mac to come to the conclusion that even though I should have v4.1 OpenGL, I don't
I'm going to setup a virtual machine and see if that works!
"Laura Graham" wrote:
> Thank you for your help!> I implemented your code and went through a rabbit hole trying to get it to work on my mac to come to the conclusion that even though I should have v4.1 OpenGL, I don't > (https://support.apple.com/en-au/HT202823).
> I'm going to setup a virtual machine and see if that works!
Setup a virtual machine on the mac and it worked!