Package Details: luajit-gl-git r6.d328638-1

Git Clone URL: https://aur.archlinux.org/luajit-gl-git.git (read-only, click to copy)
Package Base: luajit-gl-git
Description: LuaJIT binding to OpenGL
Upstream URL: https://github.com/Playermet/luajit-gl
Keywords: lua opengl
Licenses: MIT
Conflicts: luajit-gl
Provides: luajit-gl
Submitter: Popolon
Maintainer: Popolon
Last Packager: Popolon
Votes: 0
Popularity: 0.000000
First Submitted: 2025-11-15 15:21 (UTC)
Last Updated: 2025-11-15 15:21 (UTC)

Pinned Comments

Popolon commented on 2025-11-15 15:24 (UTC) (edited on 2025-11-15 15:42 (UTC) by Popolon)

For a working basic triangle example, use this one https://github.com/Playermet/luajit-glfw/issues/4#issuecomment-246297956

and then replace the 2 first require lines by:

local glfw = require 'glfw' ('glfw')
local gl = require 'gl' ('GL')

Or if you want to give the full path of libs:

local glfw = require 'glfw' ('/usr/lib/libglfw.so')
local gl = require 'gl' ('/usr/lib/libGL.so')

Latest Comments

Popolon commented on 2025-11-15 15:24 (UTC) (edited on 2025-11-15 15:42 (UTC) by Popolon)

For a working basic triangle example, use this one https://github.com/Playermet/luajit-glfw/issues/4#issuecomment-246297956

and then replace the 2 first require lines by:

local glfw = require 'glfw' ('glfw')
local gl = require 'gl' ('GL')

Or if you want to give the full path of libs:

local glfw = require 'glfw' ('/usr/lib/libglfw.so')
local gl = require 'gl' ('/usr/lib/libGL.so')