| Hey Ed,
I tried just #ifdef'ing out the problem functions in Engine/csound_orc.y. This seemed to compile but now I'm getting an infinite loop at startup. (Note, this is buiding with -DBUILD_MULTI_CORE=0 in build.sh). Could you give this csound_orc.y a try (just drop into Engine and rebuild with build.sh in emscripten folder)?
steven On Wed Nov 19 2014 at 10:51:49 AM Edward Costello < phasereset@gmail.com> wrote: Yeah cool man, whenever you get a chance is great. Looking forward to seeing how it performs with the new builds of Emscripten. Ed
Thanks Ed, I'm now getting the error reported. I think what happened is that I had set BUILD_MULTI_CORE=0 thinking that would get rid of the multicore stuff for CS6. However, the codebase as it is today assumes you're building with multicore (hence the missing symbol) and doesn't really work without that flag enabled. I turned that back on to 1, but now there's compilation issues having to get around not having pthreads. Just need to go through and add some more #ifdef __EMSCRIPTEN__ in there, or need to #ifdef out the the calls to the parallel code in csound_orc.y.
I'm flying out this morning for a conference and I have some last minute things to do for a presentation tomorrow. I'll take a look at this sometime Friday or after. On Wed Nov 19 2014 at 6:15:10 AM Edward Costello < phasereset@gmail.com> wrote: Find the CsoundObj.js attached, had a look at the source and csp_orc_sa_instr_add_tree is not implemented as asm.js it’s just left as a stub for some reason.
Hi Ed, Could you send any changes you've made to CsoundObj.js and other files here? I can probably help better if I can reproduce the issue locally.
steven On Mon Nov 17 2014 at 6:27:19 PM Edward Costello < phasereset@gmail.com> wrote: Ok, so that error actually isn’t an error, it’s just a warning that all the javascript hasn’t loaded yet. So I can instantiate Csound now, I had to change some of the cwrap functions in the constructor as you used to be able to give the input/output arguments to the C function without square braces if there was only 1 argument, now you have to put them always in square braces, so that will have to change. e.g from this:
var _process = cwrap('CsoundObj_process', 'number', ['number', 'number', 'number', 'number']);
to this:
var _process = cwrap('CsoundObj_process', ['number'], ['number', 'number', 'number', 'number']); But now I am getting crashes when I try to compile an orchestra with this:
missing function: csp_orc_sa_instr_add_tree libcsound.js:1
Ok,
I did a fresh clone and it builds fine now. Unfortunately it won’t run, I’m getting this weird error:
run() called, but dependencies remain, so not running libcsound.js:1
I need to investigate further, I’ll have a look tomorrow and if I don’t come up with anything I’ll ask on the mailing list.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________Csound-devel mailing list Csound-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________Csound-devel mailing list Csound-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
|