Conversation
|
take a look at #161 where I assume you install freeglut with brew. It allows successfully compiling the tutorials, however it requires X11 to run.. |
|
Hey thanks a lot for taking the time for doing that! I tested #161 doing a The first issue I found is Line 132 in 2c81b64 After removing I run Same segmentation fault I comment out Your OpenGL version is 0, 0. You must have at least OpenGL 3.3 to run this tutorial. Commenting that glload code out another seg fault whereas in my branch it picked up the mesa implementation. What I was going to attempt before looking into this PR was remove glload in favor of glad https://www.khronos.org/opengl/wiki/OpenGL_Loading_Library also it seems possible to use I'm new to all this so I could be wrong but trying to give a hand so let me know your thoughts and how can I be of help. |
|
it seems that freeglut does not work with recent OSX because of X11. As SDL2 is a better choice for starting a OpenGL project anyway, I would rather port the framework to that instead of trying to fix freeglut. |
|
In my PR I'm able to run lastest commit of freeglut (not latest release) both with X11 and Cocoa |
would like feedback if possible if this continues to be running on linux or I broke something.