Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3003


This forum is provided to promote discussion amongst students enrolled in Graphics and Animation (CITS3003).
 
Options:
RSS cloud
Jump to:

Version 150 not supported

6 of 275 articles shown, currently no other people reading this forum.
photo
From: Laura G.
Date: Sun 29th Mar, 4:24pm
Actions: 
        Login-to-reply
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 
computer...


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

Version 150 not supported

photo
From: ANONYMOUS
Date: Mon 30th Mar, 6:03am
Actions: 
        Login-to-reply
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.

Version 150 not supported

photo
From: ANONYMOUS
Date: Mon 30th Mar, 8:16am
Actions: 
        Login-to-reply
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);

to
        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.

Version 150 not supported

photo
From: Mohammad J.
Date: Mon 30th Mar, 4:51pm
Actions: 
        Login-to-reply
Hi,

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. 


Regards,
Asim
 

Version 150 not supported

photo
From: Laura G.  O.P.
Date: Mon 30th Mar, 7:52pm
Actions: 
        Login-to-reply
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!

Version 150 not supported

photo
From: Laura G.  O.P.
Date: Tue 31st Mar, 9:06pm
Actions: 
        Login-to-reply
"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! 
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020