Setting up the GLEW, GLM, SOIL, and OpenCV libraries in Mac OS X/Linux
In this section, we will outline the steps required to set up the same libraries in Mac OS X and Linux.
Getting ready
We will first need to download the prerequisite libraries from the following websites:
- GLEW (glew-1.10.0): https://sourceforge.net/projects/glew/files/glew/1.10.0/glew-1.10.0.tgz
- GLM (glm-0.9.5.4): http://sourceforge.net/projects/ogl-math/files/glm-0.9.5.4/glm-0.9.5.4.zip
- SOIL: http://www.lonesock.net/files/soil.zip
- OpenCV (opencv-2.4.9): http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip
To simplify the installation process for Mac OS X or Ubuntu users, the use of MacPorts in Mac OS X or the apt-get
command in Linux (as described ...
Get OpenGL Data Visualization Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.