This directory contains a Lua library that exposes most of the GLFW API functionality to the Lua programming language.
For further information on how to use GLFW you should read the GLFW documentation.
The GLFW interface library for Lua that you can find in the src directory is a stand alone component, without any dependencies on other Lua extensions. However it is fairly useless without Lua itself and some kind of Lua library for OpenGL.
You will most likely want to build a stand alone Lua interpreter that is linked with the luaglfw library and some OpenGL library for Lua. If you are doing something more advanced, such as integrating Lua into your own C/C++ application, you probably know how to do it, so I will not go into all the details.
There is a very simple Lua interpreter included in the src directory. To build it you need the following software compiled and installed:
With the compiled interpreter, you should be able to run the example programs in the examples directory.
The luaglfw library has been designed to work as similar to the original GLFW library as possible. There are a few differences though:
My name is Marcus Geelnard, marcus.geelnard@home.se. Please contact me if you have any problems with GLFW, or any questions at all concerning compiling or using GLFW.
The GLFW web site can be found here: http://glfw.sourceforge.net/. It contains the latest version of GLFW, news and other information that is useful for OpenGL development.