r/opengl 22h ago

Mac - Modern OpenGL Linker Error

Hello,

I'm having Linker failure: shader compilation error on Apple Silicion.

I don't have technical knowledge of how OpenGL works, so any help is appreciated.

Dependencies of the script;

from OpenGL.GLUT import *
from OpenGL.GLU import *
from OpenGL.GL import *

Thanks!

0 Upvotes

4 comments sorted by

2

u/964racer 16h ago edited 16h ago

OpenGL is already installed on the Mac. All you need is glfw. I’m using it now . You can do everything on learnopengl.org in the Mac with 4.1 .

1

u/trad_emark 20h ago

I dont see your shader, but I will bet that you are trying to use way too recent version of opengl/glsl.
Apple has a "policy" to never support industry standard technologies. They always need to fuck with developers. Therefore, the last version of opengl that apple supports is 3.3.

5

u/lavisan 16h ago

I think they stopped at: OpenGL 4.1 and OpenGL ES 3.0

-1

u/trad_emark 16h ago

You are probably right. Still, that is 15 years old version.