ここから lua-5.1.5_Win32_dllw6_lib.zip をダウンロード。
ここから lua-5.1.5_Win32_bin.zip をダウンロード。
展開したファイルを全て C:\lua5.1 に移動。
ここから luarocks-3.1.3-windows-32.zip をダウンロード。
展開したファイルを全て C:\luarocks に移動。
- PATH
- C:\lua5.1
- C:\luarocks
- LUA_INCDIR
- C:\lua5.1\include
Windows PowerShell の管理者モードでできました。
cd monolith-block
# monolith
# led matrix
luarocks install https://github.com/hnd2/MONOLITH/releases/download/v0.0.1/monolith-dev-1.rockspec --tree=lua_modules --lua-dir=C:\lua5.1
# music
luarocks install https://github.com/ulalume/monolith-music/releases/download/v0.1/music-dev-1.rockspec --tree=lua_modules --lua-dir=C:\lua5.1
# graphics
luarocks install https://github.com/ulalume/monolith-graphics/releases/download/v0.1/graphics-dev-1.rockspec --tree=lua_modules --lua-dir=C:\lua5.1
# util
luarocks install https://github.com/ulalume/monolith-util/releases/download/v0.1/util-dev-1.rockspec --tree=lua_modules --lua-dir=C:\lua5.1
# 3rd party
# json
luarocks install rxi-json-lua --tree=lua_modules --lua-dir=C:\lua5.1
# monolith
# led matrix
luarocks install https://github.com/hnd2/MONOLITH/releases/download/v0.0.1/monolith-dev-1.rockspec --tree=lua_modules --lua-dir=/usr/local/opt/[email protected]
# music
luarocks install https://github.com/ulalume/monolith-music/releases/download/v0.1/music-dev-1.rockspec --tree=lua_modules --lua-dir=/usr/local/opt/[email protected]
# graphics
luarocks install https://github.com/ulalume/monolith-graphics/releases/download/v0.1/graphics-dev-1.rockspec --tree=lua_modules --lua-dir=/usr/local/opt/[email protected]
# util
luarocks install https://github.com/ulalume/monolith-util/releases/download/v0.1/util-dev-1.rockspec --tree=lua_modules --lua-dir=/usr/local/opt/[email protected]
# 3rd party
# json
luarocks install rxi-json-lua --tree=lua_modules --lua-dir=/usr/local/opt/[email protected]