Hi,
I'm writing an external (analyze~) for Pd that uses libsvm (http://www.csie.ntu.edu.tw/~cjlin/libsvm/), which is a C++ library for Support-Vector Machines. I want to compute frame-level features from Pd's audio buffer and do classification/regression on this data.
I'm compiling the program using g++ (as libsvm is written in C++). It compiles without any errors.
When I try to load the object, I get the following error
analyze~
... couldn't create
I tried using extern "C" with the function analyze_tilde_setup() as this function is called by Pd and I thought compiling with g++ mangles the function name. But this did not help.
Can anyone tell me where else there could be a problem? What is the exact sequence of steps while loading a Pd object (of is there a page where these details are documented)?
I've attached a ZIP archive with my source files and the Makefile that I use, if required. Please let me know if I can provide any more details.
Thanks!
Srikanth
Thanks!