All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gabriel M. Beddingfield" <gabrbedd@gmail.com>
To: Max <amx192@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: alsa/asoundlib.h file not found
Date: Wed, 04 Dec 2013 18:37:00 -0800	[thread overview]
Message-ID: <529FE6CC.3070207@gmail.com> (raw)
In-Reply-To: <loom.20131204T193556-311@post.gmane.org>

On 12/04/2013 10:38 AM, Max wrote:
> Gabriel Beddingfield <gabrbedd <at> gmail.com> writes:
>
>>
>> On Tue, Sep 6, 2011 at 5:33 AM, Clemens Ladisch <clemens <at> 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

      reply	other threads:[~2013-12-05  2:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 10:17 alsa/asoundlib.h file not found Appalayagari Sreedhar
2011-09-06 10:33 ` Clemens Ladisch
2011-09-06 11:09   ` Gabriel Beddingfield
2013-12-04 18:38     ` Max
2013-12-05  2:37       ` Gabriel M. Beddingfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529FE6CC.3070207@gmail.com \
    --to=gabrbedd@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amx192@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.