[Csnd-dev] cannot built websockets
Date | 2016-12-14 17:49 |
From | jpff |
Subject | [Csnd-dev] cannot built websockets |
Typed to soo Now have /home/jpff/csound6/Opcodes/websockets/WebSocketOpcode.c:176:17: error: dereferen cing pointer to incomplete type if (protocol->id < self->outputArgumentCount) { ^ /home/jpff/csound6/Opcodes/websockets/WebSocketOpcode.c:182:30: error: dereferen cing pointer to incomplete type int inputIndex = protocol->id - self->outputArgumentCount; |
Date | 2016-12-14 20:54 |
From | Ed Costello |
Subject | Re: [Csnd-dev] cannot built websockets |
I think the problem is that you are linking to a version of the library that is below v2.0, anything v2 or above has lws_protocol declared in libwebsockets.h, I think I'll need to change the Cmakelists.txt file in order to check for a minimum library version. Ed On 14 December 2016 at 17:49, jpff <jpff@codemist.co.uk> wrote: Typed to soo |
Date | 2016-12-14 21:00 |
From | jpff |
Subject | Re: [Csnd-dev] cannot built websockets |
I ad just found a newer vesion 9git repoitory had moved) so now all I see is SECTION 1: new alloc for instr 1: i1 0.00000 websocket: variable klfo data not sent, buffer overrrun websocket: variable klfo data not sent, buffer overrrun websocket: variable klfo data not sent, buffer overrrun websocket: variable klfo data not sent, buffer overrrun websocket: variable klfo data not sent, buffer overrrun websocket: variable klfo data not sent, buffer overrrun websocket: variable klfo data not sent, buffer overrrun ...ad infinitum............. How should I test? On Wed, 14 Dec 2016, Ed Costello wrote: > I think the problem is that you are linking to a version of the library that > is below v2.0, anything v2 or above has lws_protocol declared in > libwebsockets.h, I think I'll need to change the Cmakelists.txt file in order > to check for a minimum library version.Ed > > On 14 December 2016 at 17:49, jpff |
Date | 2016-12-14 21:02 |
From | Ed Costello |
Subject | Re: [Csnd-dev] cannot built websockets |
You need to be running a website that is listening for "klfo" on the web socket. This file is included in the manual entry, you can actually probably just go to this url then run the csd, http://www.csounds.com/manual/html/examples/websocket.html Ed On 14 December 2016 at 21:00, jpff <jpff@codemist.co.uk> wrote: I ad just found a newer vesion 9git repoitory had moved) so now all I see is |
Date | 2016-12-14 21:59 |
From | John ff |
Subject | Re: [Csnd-dev] cannot built websockets |
I was running that web page. is this a browser specific thing?
Sent from TypeApp
On 14 Dec 2016, at 21:03, Ed Costello <phasereset@GMAIL.COM> wrote:
|
Date | 2016-12-14 22:18 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] cannot built websockets |
Is that to do with the version of libwebsockets? Ed mentioned something earlier on. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 14 Dec 2016, at 17:49, jpff |
Date | 2016-12-14 22:32 |
From | Ed Costello |
Subject | Re: [Csnd-dev] cannot built websockets |
There seems to be an issue, data is being received fine from a website but not being sent, at least on my end, I'll have to have a look at this tomorrow. Ed On 14 December 2016 at 22:18, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: Is that to do with the version of libwebsockets? Ed mentioned something |