| 1 | GLV library |
|---|
| 2 | Version 0.3 |
|---|
| 3 | Written by Karl Robillard |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | Overview |
|---|
| 7 | -------- |
|---|
| 8 | |
|---|
| 9 | The GLV library provides a small, cross-platform, C interface for creating a |
|---|
| 10 | window or fullscreen display with an OpenGL context. It was written for use |
|---|
| 11 | in games and demos as an alternative to larger libraries such as GLUT, SDL, |
|---|
| 12 | GLFW, PLIB, etc. There are no thread, joystick, or timer wrappers here. |
|---|
| 13 | |
|---|
| 14 | The currently supported environments are Linux, Mac OS X and Windows. |
|---|
| 15 | The Linux version is the most complete, while the Mac version is the least |
|---|
| 16 | with no fullscreen support at the moment. |
|---|
| 17 | |
|---|
| 18 | Read the LICENSE file for terms of use. |
|---|
| 19 | |
|---|
| 20 | HTML documentation is provided in the doc/html/ directory. |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | Requirements |
|---|
| 25 | ------------ |
|---|
| 26 | |
|---|
| 27 | OpenGL. The examples use the glu library. |
|---|
| 28 | |
|---|
| 29 | The X11 version is built with the XFree86 XF86VidMode extension by default. |
|---|
| 30 | This can be disabled in the Makefile. Code has been written for the |
|---|
| 31 | Xi Graphics XME fullscreen extension but it has not been tested. |
|---|
| 32 | |
|---|
| 33 | The Windows version has been built with Cygwin and Visual C++ 6 using NMAKE. |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | Installation |
|---|
| 38 | ------------ |
|---|
| 39 | |
|---|
| 40 | Linux |
|---|
| 41 | |
|---|
| 42 | Run the following commands from the glv directory: |
|---|
| 43 | |
|---|
| 44 | > make -C unix |
|---|
| 45 | > make -C examples |
|---|
| 46 | > su |
|---|
| 47 | > make -C unix install |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | Windows |
|---|
| 51 | |
|---|
| 52 | Note that the Windows version has had very little testing. |
|---|
| 53 | |
|---|
| 54 | Run the following commands from the command prompt: |
|---|
| 55 | |
|---|
| 56 | > cd win32 |
|---|
| 57 | > nmake |
|---|
| 58 | > cd ..\examples |
|---|
| 59 | > nmake -f Makefile.vc |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | Mac OS X |
|---|
| 63 | |
|---|
| 64 | Run the following commands from the glv directory: |
|---|
| 65 | |
|---|
| 66 | > make -C mac |
|---|
| 67 | > make -C examples -f Makefile.mac |
|---|
| 68 | > su |
|---|
| 69 | > make -C mac install |
|---|
| 70 | |
|---|