BUG - ProteaAudio with Lua does not work

Posted by Stackfan on Stack Overflow See other posts from Stack Overflow or by Stackfan
Published on 2010-12-23T22:57:45Z Indexed on 2010/12/24 13:54 UTC
Read the original article Hit count: 237

Filed under:
|
|
|

Any idea why i cant use or cant build in Lua the ProTeaAudio ?

1) Exist

[root@example ~]# yum install lua-devel
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package lua-devel-5.1.4-4.fc12.i686 already installed and latest version
Nothing to do

2) get failed to build the RtAudio

[sun@example proteaAudio_src_090204]$ make
g++ -O2 -Wall  -DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__  -Irtaudio -Irtaudio/include -I../lua/src -I../archive/baseCode/include -c rtaudio/RtAudio.cpp -o rtaudio/RtAudio.o
rtaudio/RtAudio.cpp:365: error: no ‘unsigned int RtApi::getStreamSampleRate()’ member function declared in class ‘RtApi’
rtaudio/RtAudio.cpp: In member function ‘virtual bool RtApiAlsa::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, RtAudioFormat, unsigned int*, RtAudio::StreamOptions*)’:
rtaudio/RtAudio.cpp:5835: error: ‘RTAUDIO_SCHEDULE_REALTIME’ was not declared in this scope
rtaudio/RtAudio.cpp:5837: error: ‘struct RtAudio::StreamOptions’ has no member named ‘priority’
make: *** [rtaudio/RtAudio.o] Error 1
[sun@example proteaAudio_src_090204]$ 


Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> require("proAudioRt");
    stdin:1: module 'proAudioRt' not found:
     no field package.preload['proAudioRt']
     no file './proAudioRt.lua'
     no file '/usr/share/lua/5.1/proAudioRt.lua'
     no file '/usr/share/lua/5.1/proAudioRt/init.lua'
     no file '/usr/lib/lua/5.1/proAudioRt.lua'
     no file '/usr/lib/lua/5.1/proAudioRt/init.lua'
     no file './proAudioRt.so'
     no file '/usr/lib/lua/5.1/proAudioRt.so'
     no file '/usr/lib/lua/5.1/loadall.so'
    stack traceback:
     [C]: in function 'require'
     stdin:1: in main chunk
     [C]: ?

© Stack Overflow or respective owner

Related posts about linux

Related posts about lua