<div dir="ltr"><div><div><div>Hi,<br><br>I'm trying to update my project, pdlv2, to use the new pd multi instance support and I'm having some issues which I'm assuming someone else has to have seen.<br><br><div>I'm getting the errors:<br>pd: unknown message dsp 1<br>error: canvasmaker: no method for 'canvas'<br></div>[the whole output is below, prefixed with "LIBPD:" so I can be sure of the source]<br><br></div><div>The project builds an LV2 plugin out of PD patch, using some specific markup for a patch. The major difference between it and the multi instance 'sample' in the 'c' directory of the libpd/samples folder is that it is built into a shared object that is loaded into an 'lv2' plugin host.<br><br></div>Here is the branch of the project I'm working on that shows the issue:<br><a href="https://github.com/x37v/pdlv2/tree/multiinstancelibpd">https://github.com/x37v/pdlv2/tree/multiinstancelibpd</a><br><br>It depends on ruby, libpd, lv2 and jalv.gtk to test. I've only tried it on Linux.</div><br></div>An earlier commit, without the instance support, works for a single instance of the lv2 plugin:<br><a href="https://github.com/x37v/pdlv2/commit/1701d1b08f641a3023800f422695e733b0984f05">https://github.com/x37v/pdlv2/commit/1701d1b08f641a3023800f422695e733b0984f05</a><br><div><div><div><div><br>I'm using libpd master: 9a0bbd2a2b461c8345d5df5e9d347510b37756db<br><div><div><br></div><div>Any ideas whats up? I used to explicitly load the libpd.so into its own memory space from a unique temp file and that worked but wasn't ideal. Real multi instance support is going to be nice once I can get that going :) It seems like it must be an initialization or compile flag issue?<br></div><div><br>Here is all the output from libpd when loaded in the host, using the most recent version of my code:<br>LIBPD: bonk version 1.5<br>LIBPD: fiddle version 1.1 TEST4<br>LIBPD: pique 0.1 for PD version 23<br>LIBPD: sigmund~ version 0.07<br>LIBPD: pd: unknown message dsp LIBPD:  LIBPD: 1LIBPD: <br>LIBPD: error: canvasmaker: no method for 'canvas'<br>LIBPD: verbose(4): ... you might be able to track this down from the Find menu.<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: #X: no such object<br>LIBPD: error: canvas: no method for 'loadbang'<br><br><br></div><div>Thanks tons for any help you can provide!<br></div><div>Alex<br></div></div></div></div></div></div></div>