I have code a SOUL processor called “junction” which, in general, has N input/output pairs representing ports. I set up my ports as end point arrays: input stream float inPort[numPorts]; output stream float outPorts[numPorts]; For some connections, I get the following error message:
Compiler Error: : - Command failed: soul generate --wasm --output=temp/0c0e583d32c2ef1c4915c1002d52d5e7-54ed4bcf-2348-4d74-a629-7267aa793963/out.wasm temp/0c0e583d32c2ef1c4915c1002d52d5e7-54ed4bcf-2348-4d74-a629-7267aa793963/foo.soulpatch Building: /usr/src/app/temp/0c0e583d32c2ef1c4915c1002d52d5e7-54ed4bcf-2348-4d74-a629-7267aa793963/foo.soulpatch error: Internal compiler error: ““source->getType().isIdentical (targetType)” failed at getSumOfOutputNodeInputs:955” Failed to generate wasm
If I replace some, but not necessarily all, of my junctions with fixed-size versions (e.g., junction3() instead of junction(3)), the problem goes away. I checked to make sure all of my streams are declared the same way and triple-checked the connections.
I can provide more code if that will help, but I wanted to keep my first query brief.