Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 5.38 KB

install-opengl.md

File metadata and controls

44 lines (27 loc) · 5.38 KB

learnOpenGL

========

Installing openGL

  • On Mac, openGL and GLUT (deprecated) are installed already (see “Capabilities” page of Apple’s OpenGL Info)

  • Glitter” is github repo which includes the necessary libraries and instructions for getting started with the learnopengl.com and open.gl tutorials! (Claims to require only one “dependency”: cmake and it takes care of including glew, etc...

Installing helper libraries

Using openGL from mac Xcode

  • Glut Howto <- provided us with a sample.c that worked on mac osX 10.10 in xcode 7! (Uses GLUT code deprecated since osX 10.9.) The tutorial showed us how to “Add” the “OpenGL.framework” and “GLUT.framework” to our project by going to the project’s “Build Phases” tab, open the “Link Binary With Libraries” list, and click the ‘+’ sign at the bottom left corner of the list and choosing “OpenGL.framework” and “GLUT.framework” from the list.

  • Stack overflow: how to Use Xcode 7 with git and Add xcode project to github.

GLFW

  • Page 29 of the offline learnopengl.com tutorial has a reminder for mac, “Note that on Mac OS X you also need to add glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); to your initialization code for it to work.

Did

  • (√) Installed xquartz 2.7.8 (from xquartz latest releases as of nov 2015, “works with el capitan (osX 10.11)” supposedly. Provides us with recent “freeglut” supposedly.

  • (√) Installed cmake on our main mac.

To do

  • [ ]Test xquartz 2.7.8
  • [ ]Test