| Is this using the build.sh script in the emscripten folder? I just deleted my build folder to do a fresh build and build.sh got past the cmake configuration alright here.
On Sun Nov 16 2014 at 12:51:50 PM Edward Costello < EDWARD.COSTELLO@nuim.ie> wrote: Tried compiling there with the latest and I get this:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PTHREAD_LIBRARY
linked by target "libcsnd6" in directory /Volumes/Data/Dropbox/Programming/csound/interfaces
Any ideas?
> On 13 Nov 2014, at 11:59, Edward Costello <EDWARD.COSTELLO@nuim.ie> wrote:
>
> Hey,
>
> Yeah no problem I’ll look into it on the weekend, and let you know what I find out. That error is unfamiliar, but on first impressions it looks like the function that it’s trying to call has been optimised out by the emscripten compiler.
>
>> On 13 Nov 2014, at 01:56, Steven Yi <stevenyi@gmail.com> wrote:
>>
>> Hi All,
>>
>> I just spent a couple hours looking into getting Csound to build with Emscripten again. I just completed changes and pushed to GIT. I ended up using #ifndef __EMSCRIPTEN__ around any code that used pthreads. I had to do a few other things as well. As it is, I'm now able to compile Csound with Emscripten. However, the example page is not working. I get an exception in the console:
>>
>> TypeError: argTypes.every is not a function
>>
>> and then libcsound fails to load.
>>
>> Ed: Could you take a look into this? I'm not sure if you've run into this before or not. Perhaps it's something new having to do with using emsdk 1.25.0.
>>
>> Otherwise, I tested compiling the desktop build here on OSX and that worked alright. If you are doing a build and have any issues after the changes I committed, please report them here.
>>
>> Thanks,
>> steven
>
|