luaJIT

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

luaJIT

jhearon
Hi Michael,
Thank you for the info re: luaJIT.  I'm on Linux f16.  Adding environment variables
is clear, but I'm not clear on "you need to modify the Lua code to load Csound from its
actual location."  Could you possibly provide a few more hints about how to get the lua opcodes working?

Regards,
Jim Hearon


> Date: Sun, 12 Feb 2012 13:52:31 -0500

> From: Michael Gogins <[hidden email]>
> Subject: Re: [Csnd] luaJIT
>
> What platform are you running on?
>
> You will need to configure two aspects of your environment to use the
> Lua opcodes. First you need to modify the Lua code to load Csound from
> its actual location.
>
> Second you need to define 2 environment variables, LUA_PATH and
> LUA_CPATH, to tell LuaJIT where to load scripts and shared objects
> from. Google for these names to find out the format for setting them.
> They will need to include references to where your Lua scripts and the
> Lua opcode shared library are on your system.
>
> Hope this helps,
> Mike
>
> On Sun, Feb 12, 2012 at 12:47 PM, James Hearon <[hidden email]> wrote:
> > Hi,
> > Still struggling with this a bit.� I've built csound 5.16 with lua and
> > luaJIT.�� I download luaJIT srcs and did make and install to standard
> > location: usr/local/lib, but my csound is in a custom location.� Are the
> > csound libs looking for a symlink?� I'm not sure what this warning is trying
> > to say.
> >
> > WARNING: could not open library '/opt/csound516/libLuaCsound.so'
> > (libluajit-5.1.so.2: cannot open shared object file: No such file or
> > directory)
> > WARNING: could not open library '/opt/csound516/luaCsnd.so'
> > (libluajit-5.1.so.2: cannot open shared object file: No such file or
> > directory)
> > WARNING: could not open library '/opt/csound516/luaCsoundAC.so'
> > (libluajit-5.1.so.2: cannot open shared object file: No such file or
> > directory)
> >
> > Regards,
> > Jim Hearon
> >

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: luaJIT

Michael Gogins-2

Send me your code and I will sew what I can do.

On Feb 13, 2012 12:09 AM, "James Hearon" <[hidden email]> wrote:
Hi Michael,
Thank you for the info re: luaJIT.  I'm on Linux f16.  Adding environment variables
is clear, but I'm not clear on "you need to modify the Lua code to load Csound from its
actual location."  Could you possibly provide a few more hints about how to get the lua opcodes working?

Regards,
Jim Hearon


> Date: Sun, 12 Feb 2012 13:52:31 -0500
> From: Michael Gogins <[hidden email]>
> Subject: Re: [Csnd] luaJIT
>
> What platform are you running on?
>
> You will need to configure two aspects of your environment to use the
> Lua opcodes. First you need to modify the Lua code to load Csound from
> its actual location.
>
> Second you need to define 2 environment variables, LUA_PATH and
> LUA_CPATH, to tell LuaJIT where to load scripts and shared objects
> from. Google for these names to find out the format for setting them.
> They will need to include references to where your Lua scripts and the
> Lua opcode shared library are on your system.
>
> Hope this helps,
> Mike
>
> On Sun, Feb 12, 2012 at 12:47 PM, James Hearon <[hidden email]> wrote:
> > Hi,
> > Still struggling with this a bit.� I've built csound 5.16 with lua and
> > luaJIT.�� I download luaJIT srcs and did make and install to standard
> > location: usr/local/lib, but my csound is in a custom location.� Are the
> > csound libs looking for a symlink?� I'm not sure what this warning is trying
> > to say.
> >
> > WARNING: could not open library '/opt/csound516/libLuaCsound.so'
> > (libluajit-5.1.so.2: cannot open shared object file: No such file or
> > directory)
> > WARNING: could not open library '/opt/csound516/luaCsnd.so'
> > (libluajit-5.1.so.2: cannot open shared object file: No such file or
> > directory)
> > WARNING: could not open library '/opt/csound516/luaCsoundAC.so'
> > (libluajit-5.1.so.2: cannot open shared object file: No such file or
> > directory)
> >
> > Regards,
> > Jim Hearon
> >

Loading...