Hello all,
I'm trying to make pd-lua work here.
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 I tried to compile and run with Pd-0.40.3-extended, Pd-0.41.4-extended-rc2 and Pd-0.42.5-extended20091214 without results, here is the pd log for Pd-0.42.5-extended20091214 :
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! lua ... couldn't create luax hello ... couldn't create hello ... couldn't create
Did I miss something? I used pdlua on this computer two years ago, so maybe there are some stuffs i need to update. I have lua-5.1.3 that seems to work (make test outputs: "Hello world, from Lua 5.1!") Thanks for your help,
Ce message a été analysé contre les 'malwares' par Websense. www.websense.com
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,
Does someone know if there some efficient external out there to append an array at the end of another one (resizing the target one as needed)? I know there's arraycopy, but I don't think one can give it an offset into the target array.
I need this offline really and I already created (attached if anyone were really interested) myself a small patch [arrayappend source target] which uses [arraysize], [tabread], [tabwrite] etc. which is a bit bare bones and inefficient with large arrays (eg. wave files) although in this case efficiency is not so much important and I'm just curious if something else exists.
All the best, Lorenzo.
Le 5/02/10 16:28, Claude Heiland-Allen a écrit :
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
Thanks Claude, That works. I had no idea that the patch path was searched in a different way.
All the best, n