Csound Csound-dev Csound-tekno Search About

[Csnd] building nacl

Date2013-11-25 07:57
Fromfrancesco
Subject[Csnd] building nacl
Hello all,
i am trying to build csound pnacl following the instruction in doc.
I succefully build sndfile (pnacl), or it seems so, but when i try to 
build csound, using build.sh in nacl dir i have

../Engine/csound_orc.y: conflicts: 4 shift/reduce, 10 reduce/reduce
  CC   pnacl/Release/__//Engine/auxfd_pnacl.o
In file included from ..//Engine/auxfd.c:24:
In file included from ../include/csoundCore.h:795:
../H/prototyp.h:27:10: fatal error: 'sndfile.h' file not found
#include 
         ^
1 error generated.
make: *** [pnacl/Release/__//Engine/auxfd_pnacl.o] Error 1

to note that i don't have installed Csound6, it's only build in its
directory.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-25 08:39
FromRory Walsh
SubjectRe: [Csnd] building nacl

Is there a reason why you don't just use the prebuilt package? I've been meaning with this since Victor released it and I haven't once built it. It just runs out of the box :)

sent from a mobile device...

On 25 Nov 2013 07:58, "francesco" <ilterzouomo@fastwebnet.it> wrote:
Hello all,
i am trying to build csound pnacl following the instruction in doc.
I succefully build sndfile (pnacl), or it seems so, but when i try to
build csound, using build.sh in nacl dir i have

../Engine/csound_orc.y: conflicts: 4 shift/reduce, 10 reduce/reduce
  CC   pnacl/Release/__//Engine/auxfd_pnacl.o
In file included from ..//Engine/auxfd.c:24:
In file included from ../include/csoundCore.h:795:
../H/prototyp.h:27:10: fatal error: 'sndfile.h' file not found
#include <sndfile.h>
         ^
1 error generated.
make: *** [pnacl/Release/__//Engine/auxfd_pnacl.o] Error 1

to note that i don't have installed Csound6, it's only build in its
directory.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-11-25 08:59
Fromfrancesco
Subject[Csnd] Re: building nacl
Hello Rory,
yes a fundamental reason: i did not know about it!
Where i can find it?

thank You,
ciao,
francesco, holy ignorance.




--
View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730090.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-25 09:35
FromVictor Lazzarini
SubjectRe: [Csnd] building nacl
It’s just that the headers do not seem to be found. If you can install sndfile.h in /usr/local/lib, the
Makefile should find it.

Regarding using the prebuilt, this is what I have to say.

You can grab it off dropbox. It’s all public:

the pnacl module:

https://dl.dropboxusercontent.com/u/14930575/csound/pnacl/Release/csound.nmf
https://dl.dropboxusercontent.com/u/14930575/csound/pnacl/Release/csound_unstripped.pexe
https://dl.dropboxusercontent.com/u/14930575/csound/csound.js
https://dl.dropboxusercontent.com/u/14930575/csound/manifest.json

the examples:
https://dl.dropboxusercontent.com/u/14930575/csound/minimal.html
https://dl.dropboxusercontent.com/u/14930575/csound/sliders.html
https://dl.dropboxusercontent.com/u/14930575/csound/canvas.html
https://dl.dropboxusercontent.com/u/14930575/csound/interactive.html
https://dl.dropboxusercontent.com/u/14930575/csound/trapped.html
https://dl.dropboxusercontent.com/u/14930575/csound/midiplayer.html
https://dl.dropboxusercontent.com/u/14930575/csound/csdplayer.html

the doc:
https://dl.dropboxusercontent.com/u/14930575/csound/docs/pnacl_csound.html

The main thing is to preserve the directory structure that you see in the
links (examples, js and manifest go in ./ , pexe and nmf go in ./pnacl/Release/csound.nmf),
unless you want to go editing paths everywhere.

On 25 Nov 2013, at 07:57, francesco  wrote:

> Hello all,
> i am trying to build csound pnacl following the instruction in doc.
> I succefully build sndfile (pnacl), or it seems so, but when i try to 
> build csound, using build.sh in nacl dir i have
> 
> ../Engine/csound_orc.y: conflicts: 4 shift/reduce, 10 reduce/reduce
>  CC   pnacl/Release/__//Engine/auxfd_pnacl.o
> In file included from ..//Engine/auxfd.c:24:
> In file included from ../include/csoundCore.h:795:
> ../H/prototyp.h:27:10: fatal error: 'sndfile.h' file not found
> #include 
>         ^
> 1 error generated.
> make: *** [pnacl/Release/__//Engine/auxfd_pnacl.o] Error 1
> 
> to note that i don't have installed Csound6, it's only build in its
> directory.
> 
> Thanks,
> ciao,
> francesco.
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2013-11-25 11:00
Fromfrancesco
Subject[Csnd] Re: building nacl
Hello Victor,
thanks. I have try to add include path (in linux i also have
/usr/include/i386-linux-gnu).
So it find sndfile.h but i get lot of other errors.
Anyway don't mind, i am just curios and don't want to waste Your time 
in this thing :)
I have try Your build of csound pnacl but my Chrome (31) seems to freeze on
loading 
csound module. Remember that i don't have installed Csound6 that is build in
his directory, 
and i have installed Csound 5 on system, so could be something about this.
I will try to installing Csound6 and removing Csound5.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730097.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-25 11:04
FromRory Walsh
SubjectRe: [Csnd] Re: building nacl
I had some problem on Linux too. In the end I just moved to windows
and tried it there. Are you sure you've enabled pnacl? You don't need
any version of Csound installed. All this runs from within Chrome.

On 25 November 2013 11:00, francesco  wrote:
> Hello Victor,
> thanks. I have try to add include path (in linux i also have
> /usr/include/i386-linux-gnu).
> So it find sndfile.h but i get lot of other errors.
> Anyway don't mind, i am just curios and don't want to waste Your time
> in this thing :)
> I have try Your build of csound pnacl but my Chrome (31) seems to freeze on
> loading
> csound module. Remember that i don't have installed Csound6 that is build in
> his directory,
> and i have installed Csound 5 on system, so could be something about this.
> I will try to installing Csound6 and removing Csound5.
>
> Thanks,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730097.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2013-11-25 11:12
Fromfrancesco
Subject[Csnd] Re: building nacl
So it seems (i'm not sure!):

About NaCl

Google Chrome 31.0.1650.57 () 
OS Linux 

NaCl plugin /opt/google/chrome/libppGoogleNaClPluginChrome.so 

Portable Native Client (PNaCl) Enabled 
PNaCl translator path
/home/fra/.config/google-chrome/pnacl/0.1.0.12181/_platform_specific/x86_32 
PNaCl translator version 0.1.0.12180 

Native Client (non-portable, outside web store) Disabled 

But i don't want to waste Yor time too!

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730099.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-25 11:23
FromRory Walsh
SubjectRe: [Csnd] Re: building nacl
You're not. I had a similar issue myself. Everything seemed to be
install and I was using Chrome v32, but I still couldn't get the
examples to work. Others have had better success. I'm just working on
some things with Victor library now. Once they are finished I'll go
back to Linux and see if I can figure it out. If I do I'll let you
know!

On 25 November 2013 11:12, francesco  wrote:
> So it seems (i'm not sure!):
>
> About NaCl
>
> Google Chrome 31.0.1650.57 ()
> OS Linux
>
> NaCl plugin /opt/google/chrome/libppGoogleNaClPluginChrome.so
>
> Portable Native Client (PNaCl) Enabled
> PNaCl translator path
> /home/fra/.config/google-chrome/pnacl/0.1.0.12181/_platform_specific/x86_32
> PNaCl translator version 0.1.0.12180
>
> Native Client (non-portable, outside web store) Disabled
>
> But i don't want to waste Yor time too!
>
> Thanks,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730099.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2013-11-25 11:33
FromVictor Lazzarini
SubjectRe: [Csnd] building nacl
The Csound installation has nothing to do with the pnacl binaries, they are completely independent. Can
you run the examples off the website at all? I just tested and was able to run the examples in my Ubuntu linux
(running on virtualbox), so I am not sure what the problem is.

In case you are trying to run locally (off your own harddisk), you can’t do it with the file:// protocol, ie. opening
the examples as files. You need to run a local webserver to serve the pages over http://


Victor
On 25 Nov 2013, at 11:12, francesco  wrote:

> So it seems (i'm not sure!):
> 
> About NaCl
> 
> Google Chrome 31.0.1650.57 () 
> OS Linux 
> 
> NaCl plugin /opt/google/chrome/libppGoogleNaClPluginChrome.so 
> 
> Portable Native Client (PNaCl) Enabled 
> PNaCl translator path
> /home/fra/.config/google-chrome/pnacl/0.1.0.12181/_platform_specific/x86_32 
> PNaCl translator version 0.1.0.12180 
> 
> Native Client (non-portable, outside web store) Disabled 
> 
> But i don't want to waste Yor time too!
> 
> Thanks,
> ciao,
> francesco.
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730099.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2013-11-25 12:01
Fromfrancesco
Subject[Csnd] Re: building nacl
That it's!
Starting a simple server (a python server) on the csound nacl folder allow 
to run the examples.

Thank You!

Ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/building-nacl-tp5730088p5730102.html
Sent from the Csound - General mailing list archive at Nabble.com.