Hi,
Nicolas Montgermont wrote:
[snip]
I compiled pd-lua without problem with makefile.static. When I launch the lua-help.pd directly in the src/ subdirectory, that didn't worked. this directory contains both the patch, the lua.pd_darwin and the pd.lua
The problem arises because:
[snip]
lua 0.5 (GPL) 2008 Claude Heiland-Allen claudiusmaximus@goto10.org lua: compiled for pd-0.42 on Feb 5 2010 14:14:46 error: lua: error loading `pd.lua': canvas_open() failed error: lua: loader will not be registered!
[snip]
This is most easily solved by adding the directory that contains pd.lua to Pd's -path. For example, if you have:
/path/to/lua/lua.pd_darwin
/path/to/lua/pd.lua
Then do something equivalent to:
pd -path /path/to/lua -lib lua
Future versions of pdlua might fix this common issue (or at least document this workaround in the error message).
Thanks,