Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question. Using Release without Luarocks

dmoa opened this issue · comments

When downloading the release, is there any way I can use it "fresh out the box" without luarocks?

Cheers.

It's been a while since I've done maintenance on this, but the Cmake build should still work; see https://github.com/Tangent128/luasdl2/blob/master/INSTALL.md

If neither luarocks nor cmake are an option, there aren't any other automated options included, but if you want to roll a makefile or build script you can find the lists of source files for each module in https://github.com/Tangent128/luasdl2/blob/master/lua-sdl2-scm-3.rockspec (note the PlusCommon helper that adds some common files to each module)

There are no prebuilt binaries because it's too complicated to generate especially given the numerous platforms there are and Lua version there are. Using the CMake or luarocks spec to build is quite easy though.