Flib v1.1
Description
Classes for managing windows and creating OpenGL contexts (for Windows and Linux) Automatic OpenGL functions loading Wrapper classes for OpenGL objects (Texture, FrameBuffer, Shader etc) Template classes (Vectors, Matrices, Polar vectors, Delegates)
Compilation
The library requires OpenGL development library to compile
On Linux systems this means you need glx development library (e.g. from mesa-common-dev
)
A makefile
is loacted in src/
Open a terminal in src/
and call make
Troubleshooting
When compiling on Linux systems the following errors may arise
Symptom | Cause | Solution | Command |
---|---|---|---|
GL/glx.h not found | glx not installed | Install glx | sudo apt-get install mesa-common-dev |
libGL.so not found | OpenGL not updated | Install/Update OpenGL | sudo apt-get install libgl1-mesa-dev or/then sudo ldconfig |
Please note that the actual command may differ on your system, refer to your distribution's forum how to install the required development libraries
API Documentation
The source code uses selfdocumentation in doxygen style A compiled html version can be found on my site: http://makom789.web.elte.hu/docs/index.html
Testing done via AutoTester ( Automatic testinghttps://github.com/Frontier789/AutoTester)
The following public domain libraries are used by Flib: Citation
-
stb (http://github.com/nothings/stb and http://nothings.org)
- stb_image.h
- stb_image_write.h
- stb_image_resize.h
- stb_truetype.h
-
jpeg (https://code.google.com/p/jpeg-compressor/)
- jpge.h
- jpge.cpp
-
PicoSHA2 (https://github.com/okdshin/PicoSHA2)
- picosha2.h