GLOB requires several libraries to be installed:
- OpenGL is used for sending vertices to the graphics card. Installation instructions are available at this link http://cacs.usc.edu/education/cs596/ogl_setup.pdf.
- GLEW is used for detecting deprecation and support at runtime. Follow the instructions here: http://glew.sourceforge.net/install.html
- Since GLUT is deprecated now, GLFW library must be used by users as a windowing interface. Installation instructions can be found here: http://www.glfw.org/download.html
Then, the following must be added to the linker:
-lGLEW, -lGLU, -lglfw
For text extrusions, if you include "polygon/text.hpp" (example/example.cpp does), you will additionally need the following to be installed:
- Freetype library is used for working with font glyphs. The installation instructions are available here: http://www.freetype.org/download.html
- Boost-system library of Boost is used for detecting available fonts.
- Boost-filesystem library of Boost is used for traversing directories and similar operations for fonts.
Finally, add additional libraries to the linker:
-lfreetype, -lboost_system, -lboost_filesystem
To run the unit tests, the following libraries must be installed:
- Google Test is used as a unit testing framework. Installation instructions can be found here: http://code.google.com/p/googletest/
- Boost-serialization library of Boost is used for storing reference models for the 3D meshes and 2D shapes in text files.
Finally, the following must be added to the linker:
-lgtest, -lboost_serialization.