[GEM-dev] Lua again: now with luaglut/luagl
Frank Barknecht
fbar at footils.org
Wed Nov 28 11:09:47 CET 2007
Hallo,
marius schebella hat gesagt: // marius schebella wrote:
> I stopped all of my work after reading your email, because I got really
> excited, and wanted to try that too.
> I got lua 5.1.1 from http://www.algonet.se/~afb/lua/ and put it into
> /sw/lib/lua/5.1 (on my os x 10.5.1).
> when I open your patch, first, luagl gets created and I get some drawing
> (even with no gemhead turned on, which strange), but I only see 2 or so
> lines at a time and a constant error stream:
> lua: error in dispatcher:
> [string "pd.lua"]:133: attempt to call field '_error' (a nil value)
> lua: warning! pointers untested
> lua: warning! pointers untested
> you think I need lua 5.1.2? I also ran into building issues before...
> I don't know which pdlua version I am using. maybe I have to reinstall
> that also.
You should install the newer pdlua. Claude did some work on pointers
and gem-states, and you appear to be using the old version. It also
changed the numbering of inlets to be more Lua-like (where counting
starts at 1 instead of 0). Lua 5.1 is the recommended Lua version to
use, too.
Ciao
--
Frank Barknecht _ ______footils.org__
More information about the GEM-dev
mailing list