| That error suggests that the OENTRY line for your opcode is wrong. I do not read c++ but my guess is that the number after the name is asking for a performance or initialisation that is not provided.
Sent from TypeApp
On Mar 27, 2020, 10:27, at 10:27, anders.vinjar@bek.no wrote:
>Hi Csounders!
>
>I want to build an opcode designed with faust, using the faust2csound
>script, but the resulting .so doesn't work. It's possibly related to a
>post in the csound-user archives:
>
>>>>>> On Thu, 29 Nov 2018 10:21:57 +0000, Victor Lazzarini
> said:
>
> V> It looks like the faust online compiler is not producing a good
> V> dylib on OSX. I compiled your code here and it seems to work. But
> V> I had to modify faust2csound for it work.
>
> V> I have informed the Faust devs.
>
>I'm on fedora 31. Checked both with current git master and stable
>package of csound and faust/faust-tools.
>
>Using the simple .dsp attached to test, csound says the .so gets
>loaded:
>
> Loading command-line libraries:
> ./testonepole.so
>
>but further down:
>
> ...
> new alloc for instr 1:
> null opadr[m
> [mEarly return from csoundPerform().
> inactive allocs returned to freespace
> end of score. overall amps: 0.00000
>
>
>Thanks for any pointers.
>
>-anders
>
>Here are the .dsp plus .csd, plus the intermediate .cpp, and a log from
>trying to compile with csound:
>
>
>Csound mailing list
>Csound@listserv.heanet.ie
>https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>Send bugs reports to
> https://github.com/csound/csound/issues
>Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |