Few days ago I dig into shaders world. I read the tutorials at http://openframeworks.cc/tutorials/graphics/shaders.html
My GL version seems to be 2.1. However, my Mac supports OpenGL version up to 4.1 you can see the screen shots as follows;
Then, I search the OF forum and encounter with the following method but no chance. Xcode says there is no matching function…
And after few hours of searching, I found;
ofGLWindowSettings settings; settings.width = 1280; settings.height = 720; settings.setGLVersion(3, 1); ofCreateWindow(settings);
It compiles the project successfully, then it stopped suddenly and throws error as follows;
I downloaded the latest release of OF few days ago, btw.