[Csnd-dev] Building WASM plugin opcodes

Richard Knight <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Organization 1bpm
Message-ID <[email protected]>
Hi,

I'd like to compile some plugin opcodes to use in the browser. As far as 
I can follow this is possible with the repository example in wasm/src 
but would like some advice/help with setting up the correct build 
environment.

I have no experience of any wasm toolchain but had a look at 
wasm/README.md, this says run 'yarn link', but this fails with 'link not 
found' or similar. I then used nix against wasm/src/csound.nix which 
failed apparently when compiling LLVM, with an error that uintptr_t was 
undefined, used in the function CleanupOnSignal. I then had a look at 
wasm/scripts/compile.sh, which failed with a nix syntax error when I ran 
it.
I'm using the latest Debian linux with latest packages etc.

I am a bit confused about exactly what build tools need to be used and 
in which order etc. Eg there is also the package.json file, does this 
imply node is used in some step of the process too?

Thanks
Richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.