From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gabriel M. Beddingfield" Subject: Re: alsa/asoundlib.h file not found Date: Wed, 04 Dec 2013 18:37:00 -0800 Message-ID: <529FE6CC.3070207@gmail.com> References: <4E65F701.9070304@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by alsa0.perex.cz (Postfix) with ESMTP id 0D2CA2654D1 for ; Thu, 5 Dec 2013 03:37:10 +0100 (CET) Received: by mail-pb0-f49.google.com with SMTP id jt11so24804833pbb.36 for ; Wed, 04 Dec 2013 18:37:09 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Max , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 12/04/2013 10:38 AM, Max wrote: > Gabriel Beddingfield gmail.com> writes: > >> >> On Tue, Sep 6, 2011 at 5:33 AM, Clemens Ladisch ladisch.de> > wrote: >>> Appalayagari Sreedhar wrote: >>>> main.c:2:23: error: asoundlib.h: No such file or directory >>> >>> This means that alsa-lib is not installed correctly. >> >> On Debian/Ubuntu, install a package called libasound2-dev >> On SuSe, you can probably `zypper install -C 'pkgconfig(alsa)'` (I >> think the -C is correct... for "capabilities") >> On Fedora, it's `yum install 'pkgconfig(alsa)'` >> > > I am still getting the problem even though alsa-lib-devel is installed on my > fedora 14. On Fedora 19 I get: $ pkg-config --cflags alsa -I/usr/include/alsa So: 1. Make sure that /usr/include/alsa/asoundlib.h exists 2. Make sure that you add "-I/usr/include/alsa" to your CFLAGS -gabe