Re: Beginner Needs Help on converting and calling a C function

2021-04-14 Thread HJ
) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) error Command failed with exit code 7. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. $ On Wednesday, April 14, 2021 at 1:21:57 PM UTC-7 HJ wr

Re: Beginner Needs Help on converting and calling a C function

2021-04-14 Thread HJ
(for instance >> pointers to data on the WASM heap), >> maybe embind makes this case easier, don't know. >> >> In any case, here's the embind documentation: >> >> >> https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html >

Beginner Needs Help on converting and calling a C function

2021-04-13 Thread HJ
I am a beginner and I'm sure all the information is there, but I am struggling to get even a basic example working. I can run the tutorial example, but I can't get anything for the following: I have converted some MATLAB .m script files to C (MATLAB can convert to C or CPP. I've tried both C an