Csound Csound-dev Csound-tekno Search About

Csound 6 build Raspberry Pi Alsa

Date2015-06-13 20:55
FromRoger Kelly
SubjectCsound 6 build Raspberry Pi Alsa
AttachmentsNone  None  

-- ALSA_HEADER="", so disabling USE_ALSA



I have libasound2-dev installed, but cake says that the ALSA header is not found as well as PortAudio.

How do I get it to build with Alsa support?



Date2015-06-13 21:01
FromVictor Lazzarini
SubjectRe: Csound 6 build Raspberry Pi Alsa
AttachmentsNone  None  
Try to point ALSA_HEADER  to its correct location.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 13 Jun 2015, at 20:55, Roger Kelly <loraxman@gmail.com> wrote:

-- ALSA_HEADER="", so disabling USE_ALSA



I have libasound2-dev installed, but cake says that the ALSA header is not found as well as PortAudio.

How do I get it to build with Alsa support?


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-14 17:33
FromPaul Batchelor
SubjectRe: Csound 6 build Raspberry Pi Alsa
AttachmentsNone  None  
I can remember running into this issue once, but not recently.  I thought things fixed themselves. 

I *think* the header file csound is trying to look for is "asoundlib.h".

On my Pi running Raspbian I ran:

$ sudo find /usr -name "asoundlib.h" 

and libasound.h was located in /usr/include/alsa/asoundlib.h

So, adding something the like flag -DALSA_HEADER="/usr/include/alsa/asoundlib.h" when you run cmake should do it.

-P


On Sat, Jun 13, 2015 at 4:01 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Try to point ALSA_HEADER  to its correct location.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 13 Jun 2015, at 20:55, Roger Kelly <loraxman@gmail.com> wrote:

-- ALSA_HEADER="", so disabling USE_ALSA



I have libasound2-dev installed, but cake says that the ALSA header is not found as well as PortAudio.

How do I get it to build with Alsa support?


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

------------------------------------------------------------------------------

_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here