[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Please guide, module 'proAudioRt' not found
- From: Shamun toha md <shamun.toha@...>
- Date: Wed, 22 Dec 2010 10:20:59 +0100
Please kindly advise (1) contain all, (2) make failed (3) error:
1) I have all murgaLua and Lua and proteaAudio:
[sun@example proteaAudio_src_090204]$ ls
build example.lua playAudioRt.cpp proAudioRt.cpp proAudioSdl.h sample.ogg
changelog.txt footer.html playAudioSdl.cpp proAudioRt.h proteaAudio.png scale.lua
doc header.html proAudio.cpp proAudioRt_lua.cpp protea.css stb_vorbis.c
Doxyfile lua.txt proAudio.h proAudioRt.o readme.txt stb_vorbis.o
example.cpp Makefile proAudio.o proAudioSdl.cpp rtaudio
2) Simply make the libraries so that we can access it from our LUA
[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
3) Yes, got failed, now test does not work
[sun@example proteaAudio_src_090204]$ murgaLua example.lua
/usr/local/bin/murgaLua: example.lua:2: module 'proAudioRt' not found:
no field package.preload['proAudioRt']
no file './proAudioRt.lua'
no file '/usr/local/share/lua/5.1/proAudioRt.lua'
no file '/usr/local/share/lua/5.1/proAudioRt/init.lua'
no file '/usr/local/lib/lua/5.1/proAudioRt.lua'
no file '/usr/local/lib/lua/5.1/proAudioRt/init.lua'
no file './proAudioRt.so'
no file '/usr/local/lib/lua/5.1/proAudioRt.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
example.lua:2: in main chunk
[C]: ?
[sun@example proteaAudio_src_090204]$ lua example.lua
lua: example.lua:2: 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'
example.lua:2: in main chunk
[C]: ?