git version a22326, 2012-11-10
Download Lubyk.dmg. This is alpha software.
If this is your first installation of Lubyk, please launch the app before using lubyk in a pure Lua script. This installs “lubyk.lua” in Lua’s filepath.
Currently (november 2012), the libraries are stable and should work without surprises in standard Lua scripts. For example, this should display an empty window:
require 'lubyk' win = mimas.Window() win:show() run()
Note that you only need a single “require” and all other libraries (such as “mimas”) will be automatically loaded.
If you want to do a simple test, download moons.lua and run with:
(lubyk is just a symlink for Lua but this avoids messing with an already installed version of Lua).
If you want to build lubyk yourself, you need to have cmake and qt installed (with apt-get or brew). Then simply:
$ git clone git://github.com/lubyk/lubyk.git $ git submodules init $ git submodules update $ mkdir build $ cd build $ cmake .. $ make -j4 $ make install
You might have to run “install” with sudo.