| I do not buid Lua stuff by not having lua installed. Or you could edit
CMakeCache.txt and look for
BUILD_LUA_OPCODES
Change ON to OFF and similar for other lua options
I am sure there is a better way....
On Wed, 28 Sep 2016, David Bellows wrote:
> Hey Rory, I don't think I need the Lua stuff for my purposes so how
> would I disable them?
>
> On Wed, Sep 28, 2016 at 10:30 AM, Rory Walsh wrote:
>> Sorry David. I can't help. I usually disable all the lua stuff when I build.
>>
>>
>> On 28 Sep 2016 17:43, "David Bellows" wrote:
>>>
>>> Bumping this up. I'm still not able to compile the latest Csound on my
>>> [K]Ubuntu 16.04 box. The error in the log file (attached in my first
>>> message) complains about Lua but I'm not sure what the issue is or how
>>> to go about fixing it. I have Lua 5.3 installed from source, LuaJIT
>>> latest beta installed from source, and LuaJIT (with the dev packages)
>>> installed from Ubuntu.
>>>
>>> On Mon, Sep 26, 2016 at 4:10 PM, David Bellows
>>> wrote:
>>>> Hey Mike,
>>>>
>>>>> Csound actually uses LuaJIT, which perhaps has been diverging from
>>>>> standard Lua.
>>>>
>>>> I also have the latest LuaJIT beta installed (from source) if that
>>>> makes a difference. And I don't remember but I might have compiled it
>>>> with the Lua 5.2 flag turned on.
>>>>
>>>> And yeah, the differences between LuaJIT and standard Lua 5.3 are
>>>> becoming significant. Lua is now 64-bit, has bitwise operators built
>>>> in (different syntax than with LuaJIT), and some other stuff.
>>>>
>>>> Dave
>>>>
>>>>
>>>> On Mon, Sep 26, 2016 at 4:04 PM, Michael Gogins
>>>> wrote:
>>>>> Csound actually uses LuaJIT, which perhaps has been diverging from
>>>>> standard
>>>>> Lua.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>>
>>>>> On Sep 26, 2016 5:54 PM, "David Bellows" wrote:
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I'm trying to compile Csound from source. I'm following the
>>>>>> instructions exactly as printed here:
>>>>>>
>>>>>> https://github.com/csound/csound/blob/develop/BUILD.md#debian
>>>>>>
>>>>>> At step 8 is when things go wrong. I've attached the full output as a
>>>>>> .txt file (make.txt). But here is where it looks like things are going
>>>>>> wrong:
>>>>>>
>>>>>> /home/dave/build/csound/csound/Opcodes/LuaCsound.cpp:160:44: error:
>>>>>> ‘lua_open’ was not declared in this scope
>>>>>> luaStateForThread.L = lua_open();
>>>>>> ^
>>>>>> /home/dave/build/csound/csound/Opcodes/LuaCsound.cpp: In member
>>>>>> function ‘int cslua_exec::init(CSOUND*)’:
>>>>>> /home/dave/build/csound/csound/Opcodes/LuaCsound.cpp:202:25: error:
>>>>>> ‘LUA_GLOBALSINDEX’ was not declared in this scope
>>>>>> lua_setfield(L, LUA_GLOBALSINDEX, "csound");
>>>>>> ^
>>>>>> /home/dave/build/csound/csound/Opcodes/LuaCsound.cpp: In member
>>>>>> function ‘int cslua_opdef::init(CSOUND*)’:
>>>>>> /home/dave/build/csound/csound/Opcodes/LuaCsound.cpp:534:25: error:
>>>>>> ‘LUA_GLOBALSINDEX’ was not declared in this scope
>>>>>> lua_setfield(L, LUA_GLOBALSINDEX, "csound");
>>>>>> ^
>>>>>> Opcodes/CMakeFiles/LuaCsound.dir/build.make:62: recipe for target
>>>>>> 'Opcodes/CMakeFiles/LuaCsound.dir/LuaCsound.cpp.o' failed
>>>>>> make[2]: *** [Opcodes/CMakeFiles/LuaCsound.dir/LuaCsound.cpp.o] Error
>>>>>> 1
>>>>>> CMakeFiles/Makefile2:350: recipe for target
>>>>>> 'Opcodes/CMakeFiles/LuaCsound.dir/all' failed
>>>>>> make[1]: *** [Opcodes/CMakeFiles/LuaCsound.dir/all] Error 2
>>>>>> make[1]: *** Waiting for unfinished jobs....
>>>>>>
>>>>>> As for Lua, I don't know if this is relevant, but I am using Lua 5.3.3
>>>>>> installed from source. I would think that the "apt-get build-dep
>>>>>> csound" command would take care of any Lua issues but I don't really
>>>>>> know what all that means anyway.
>>>>>>
>>>>>> Thanks!
>>>>>> Dave Bellows
>>>>>>
>>>>>> Csound mailing list
>>>>>> Csound@listserv.heanet.ie
>>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>>>> Send bugs reports to
>>>>>> https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>>
>>>>> Csound mailing list Csound@listserv.heanet.ie
>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>>>> https://github.com/csound/csound/issues Discussions of bugs and
>>>>> features can
>>>>> be posted here
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>> https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |