Hi Th have written an external that calls a framework. This basically contains a Struct (called muioObjRef) with a number of sub classes.
Other wrappers to this framework are fine, but PD dies as soon as I load a patch that calls the external. Is there something obvious that I am overlooking?
so having the line
muioObjRef muio;
is fine (where muioObjRef is defined within the framework). But then if I add the following in the constructor for the external
muio = init_muio();
Where init_muio() returns either null or a completed muioObjRef depending on successful initialisation. PD dies without a even a whimper when I call the external.
Any ideas are welcome!
Steve
steve symons wrote:
Where init_muio() returns either null or a completed muioObjRef depending on successful initialisation. PD dies without a even a whimper when I call the external.
Any ideas are welcome!
.try using a debugger
gdb pd % run % bt
.add post()s to see where it really fails (if it is within init_muio() or far afterwards)
. run pd from the shell (with "-stderr -verbose") so you see what is written to a _not disappearing_ tk-console.
. post the code
mfg.ads.r IOhannes
Steve
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev