LÖVEpd [Announcment and troubleshooting]
Posted: Wed Apr 11, 2012 10:42 pm
Hello all!
I'm trying out a project. I think it's going very well. It doesn't work.
The long-and-short of the project is this: I wish to be able to utilise the excellent audio/DSP (ish) library libpd (based on Pure Data from within LÖVE. I want to use to make interesting audio/visual experiments/games and generally have fun.
I am calling this monstrosity LÖVEpd and it has a github here.
Being new to this I'm working fairly slow. What I've got so far is a simplistic Lua wrapper for libpd's most important functions. Lua and C seem to be working nicely and I can open a Pure Data patch, send it messages, and receive audio data (big ol' list of numbers).
Where I'm at at the moment is getting LÖVE itself to actually run the Lua that interacts with libpd. What I get is this annoying error:
My best guess is that I'm going to have to recompile LÖVE itself to have libpd/the wrapper linked in there, but honestly I'm none too sure. I'm currently working on this from a Mac OS X 10.5 machine and I'm having trouble compiling LÖVE at all (I really hate xcode). I'm in the process of upgrading to 10.7. I'm hoping that someone will tell me that upgrading isn't necessary
So anyway, this is part project announcement and part cry for help. Let me know that you think.
I'm trying out a project. I think it's going very well. It doesn't work.
The long-and-short of the project is this: I wish to be able to utilise the excellent audio/DSP (ish) library libpd (based on Pure Data from within LÖVE. I want to use to make interesting audio/visual experiments/games and generally have fun.
I am calling this monstrosity LÖVEpd and it has a github here.
Being new to this I'm working fairly slow. What I've got so far is a simplistic Lua wrapper for libpd's most important functions. Lua and C seem to be working nicely and I can open a Pure Data patch, send it messages, and receive audio data (big ol' list of numbers).
Where I'm at at the moment is getting LÖVE itself to actually run the Lua that interacts with libpd. What I get is this annoying error:
Code: Select all
Error: error loading module 'luapd_wrapper' from file './luapd_wrapper.so':
dynamic libraries not enabled; check your Lua installation
stack traceback:
[C]: ?
[C]: in function 'require'
main.lua:4: in main chunk
[C]: in function 'require'
[string "boot.lua"]:331: in function <[string "boot.lua"]:227>
[C]: in function 'xpcall'
So anyway, this is part project announcement and part cry for help. Let me know that you think.