|
When I compile csound on arch linux I get this error:
g++ -o Opcodes/LuaCsound.os -c -Wno-format -Wall -W -Wno-missing-field-initializers -Wno-unused-parameter -O3 -mtune=native -ftree-vectorize -ffast-math -Wno-format -DGNU_GETTEXT -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -fomit-frame-pointer -fPIC -DLINUX -DPIPES -fPIC -DHAVE_FLTK -DHAVE_SOCKETS -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I/usr/local/include/luajit-2.0 Opcodes/LuaCsound.cpp Opcodes/LuaCsound.cpp:69:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas] Opcodes/LuaCsound.cpp:98:0: warning: ignoring #pragma omp critical [-Wunknown-pragmas] Opcodes/LuaCsound.cpp: In function 'lua_State* manageLuaState(char)': Opcodes/LuaCsound.cpp:107:30: error: 'lua_open' was not declared in this scope Opcodes/LuaCsound.cpp: In member function 'int cslua_exec::init(CSOUND*)': Opcodes/LuaCsound.cpp:151:25: error: 'LUA_GLOBALSINDEX' was not declared in this scope Opcodes/LuaCsound.cpp: At global scope: Opcodes/LuaCsound.cpp:653:5: warning: narrowing conversion of '98368ul' from 'long unsigned int' to 'uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Opcodes/LuaCsound.cpp:653:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] Opcodes/LuaCsound.cpp:653:5: warning: narrowing conversion of '98368ul' from 'long unsigned int' to 'uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Opcodes/LuaCsound.cpp:653:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] Opcodes/LuaCsound.cpp:653:5: warning: narrowing conversion of '98368ul' from 'long unsigned int' to 'uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Opcodes/LuaCsound.cpp:653:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] Opcodes/LuaCsound.cpp:653:5: warning: narrowing conversion of '98368ul' from 'long unsigned int' to 'uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Opcodes/LuaCsound.cpp:653:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] Opcodes/LuaCsound.cpp:653:5: warning: narrowing conversion of '98368ul' from 'long unsigned int' to 'uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Opcodes/LuaCsound.cpp:653:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] Opcodes/LuaCsound.cpp:653:5: warning: narrowing conversion of '98368ul' from 'long unsigned int' to 'uint16 {aka short unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] Opcodes/LuaCsound.cpp:653:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] scons: *** [Opcodes/LuaCsound.os] Error 1 scons: building terminated because of errors. ==> ERROR: A failure occurred in build(). Aborting... How can I fix this? |
|
lua_open is a macro for luaL_newstate(). Try using that instead. I am assuming you do have LuaJIT installed, and that the include and lib directories are specified in your Csound build. If not, of course, you need to fix that.
Also, if you have regular Lua installed, you need to ensure that the headers and libs for LuaJIT are preferred in your build paths. Hope this helps, Mike On Sun, Mar 3, 2013 at 8:44 AM, xharx <[hidden email]> wrote: When I compile csound on arch linux I get this error: Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Csound-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
In reply to this post by xharx
To make it short, sound 5.19.01 compiled normally in arch when I used custom-linux-mkg.py instead of custom-linux-jpff.py. Thank you.
|
| Powered by Nabble | Edit this page |
