I want to run my programs which I was running in Fedora core 6 which uses alsa apis, In FC6 I had alsa headers in /usr/include/alsa folder. In Ubuntu 9.04, I search whole file system but cant find alsa headers like asoundlib, asoundef.h, input.h, output.h, etc.

Please tell me how can I get it?

Answer,

do

sudo aptitude install libasound2-dev 

link|improve this question

feedback

migrated from stackoverflow.com Nov 21 '09 at 20:15

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

I would say do a

sudo aptitude install libasound2-dev

link|improve this answer
Thanks, It worked but it installed headers in /usr/src/linux-headers-2.6.28-11/include/sound not in /usr/include/alsa/. do you know the reason? – Sunny Shah. Nov 20 '09 at 8:53
probalby because this is kernel related anyway. – RageZ Nov 20 '09 at 8:54
Hi Ragez, Still I cant find asoundlib.h. – Sunny Shah. Nov 20 '09 at 9:02
if you install libclalsadrv-dev – RageZ Nov 20 '09 at 9:03
global.h, input.h, and some other. Can you please tell me how to get all these. – Sunny Shah. Nov 20 '09 at 9:04
show 5 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.