You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
undefined symbol: Pa_Initialize on Ubuntu 12.04 #33
Activity
xseignard commentedon Apr 26, 2015
Hello,
Same problem here, i'm on ubuntu 14.10, I installed portaudio with the following
Any idea?
xseignard commentedon May 1, 2015
Any updates?
jdfreder commentedon May 15, 2015
I encountered the same problem, it may be the version of port audio... I haven't checked yet though.
jdfreder commentedon May 15, 2015
... I should add, I'm running this on a Raspberry PI (Rasbian).
jdfreder commentedon May 21, 2015
@xseignard did you ever get this to work?
xseignard commentedon May 22, 2015
no, I gave up and used a combination of web audio api + webosckets
guicontat commentedon Jul 8, 2015
Hello,
I'm on Ubuntu 14.04 and I tried those things :
Download Port Audio source in ~/node_modules/node-core-audio/portaudio with this link http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz
(Don't forget to remove the previous portaudio folder, and name the newest "portaudio" instead of pa_stable_v19_blablabla)
Then in portaudio folder
./configure
make install
Then i changed the binding.gyp file in the module folder, especially the linux part
'OS=="linux"', {
"libraries" : [
'<(module_root_dir)/portaudio/lib/.libs/libportaudio.so',
'<(module_root_dir)/portaudio/include/portaudio.h'
],
'cflags': [ "-fno-exceptions -lrt -lasound -ljack -lpthread -fPIC" ],
'cflags!': [ "-fno-exceptions-lrt -lasound -ljack -lpthread -fPIC" ],
'cflags_cc!': [ "-fno-exceptions -lrt -lasound -ljack -lpthread -fPIC"],
'cflags_cc': [ "-std=c++0x -lrt -lasound -ljack -lpthread -fPIC" ]
}
And after that i start "node-gyp rebuild" in the module folder
And it seem to work !
jdfreder commentedon Jul 8, 2015
Thanks @guicontat ! I've been using WebAudio over SlimerJS, but I'd like to still give this a try.
maximilianmikus commentedon Jul 28, 2015
thx @guicontat that worked!
ZECTBynmo commentedon Jul 28, 2015
Thanks for working towards Ubuntu support!! Especially @guicontat
Since it appears you guys have gotten it working, would anyone be willing to submit a pull request? :)
Much appreciated!
guicontat commentedon Aug 5, 2015
@ZECTBynmo Can you add me in the contributors in order to create a new branch please :) ?
ZECTBynmo commentedon Aug 5, 2015
@guicontat why not just fork the repository?
renschler commentedon Nov 1, 2017
I just ran into this issue and like @jdfreder I am also running this on a Raspberry PI (Rasbian).