<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to install packages &amp;quot;libasound2-dev&amp;quot; in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1761583#M216145</link>
    <description>&lt;P&gt;My board is&amp;nbsp; i.MX 8M Plus EVK,i am trying developing "speak" and "microphone" functionality&lt;/P&gt;&lt;P&gt;I follow IMX_LINUX_USERS_GUIDE 8.3.3 Audio Front End (AFE)&lt;/P&gt;&lt;P&gt;I downloaded AFE code,and try to compile then,but get error like this:&lt;/P&gt;&lt;PRE&gt;root@imx8mpevk:~/nxp-afe# make&lt;BR /&gt;#@echo "\nBuilding: build/obj/main.o"&lt;BR /&gt;aarch64-poky-linux-g++ -MT build/obj/main.o -MMD -MP -MF build/deps/main.Td -g3 -O3 -Wall -Wextra -Wstrict-aliasing -pedantic -Werror -Wunreachable-code -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Wlogical-op -Wmissing-include-dirs -Wnoexcept -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-promo -Wstrict-null-sentinel -Wswitch-default -Wundef -Wno-unused -Wno-parentheses -fdiagnostics-show-option -I src/ -I src/SignalProcessor -I src/AudioStream -I src/AFEUtilities -c -o build/obj/main.o src/main.cpp&lt;BR /&gt;src/main.cpp:5:10: fatal error: alsa/asoundlib.h: No such file or directory&lt;BR /&gt;5 | #include &amp;lt;alsa/asoundlib.h&amp;gt;&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;make: *** [makefile:117: build/obj/main.o] Error 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then, i try to $sudo apt-get install libasound2-dev, but not work&lt;/P&gt;&lt;PRE&gt;root@imx8mpevk:~/nxp-afe# sudo apt-get install libasound2-dev&lt;BR /&gt;Reading package lists... Done&lt;BR /&gt;Building dependency tree... Done&lt;BR /&gt;E: Unable to locate package libasound2-dev&lt;/PRE&gt;&lt;P&gt;then , i modify&amp;nbsp; &amp;lt;build directory&amp;gt;/conf/local.conf&lt;/P&gt;&lt;PRE&gt;MACHINE ??= 'imx8mpevk'&lt;BR /&gt;DISTRO ?= 'fsl-imx-xwayland'&lt;BR /&gt;EXTRA_IMAGE_FEATURES ?= "debug-tweaks"&lt;BR /&gt;USER_CLASSES ?= "buildstats"&lt;BR /&gt;PATCHRESOLVE = "noop"&lt;BR /&gt;BB_DISKMON_DIRS ??= "\&lt;BR /&gt;STOPTASKS,${TMPDIR},1G,100K \&lt;BR /&gt;STOPTASKS,${DL_DIR},1G,100K \&lt;BR /&gt;STOPTASKS,${SSTATE_DIR},1G,100K \&lt;BR /&gt;STOPTASKS,/tmp,100M,100K \&lt;BR /&gt;HALT,${TMPDIR},100M,1K \&lt;BR /&gt;HALT,${DL_DIR},100M,1K \&lt;BR /&gt;HALT,${SSTATE_DIR},100M,1K \&lt;BR /&gt;HALT,/tmp,10M,1K"&lt;BR /&gt;PACKAGECONFIG:append:pn-qemu-system-native = " sdl"&lt;BR /&gt;CONF_VERSION = "2"&lt;BR /&gt;&lt;BR /&gt;DL_DIR ?= "${BSPDIR}/downloads/"&lt;BR /&gt;ACCEPT_FSL_EULA = "1"&lt;BR /&gt;&lt;BR /&gt;# Switch to Debian packaging and include package-management in the image&lt;BR /&gt;PACKAGE_CLASSES = "package_deb"&lt;BR /&gt;EXTRA_IMAGE_FEATURES += "package-management"&lt;BR /&gt;IMAGE_INSTALL:append = "bluez5 bluez5-noinst-tools bluez5-obex openobex obexftp glibc-gconv-utf-16 glibc-utils git libasound2-dev "&lt;BR /&gt;CORE_IMAGE_EXTRA_INSTALL += "apt"&lt;/PRE&gt;&lt;P&gt;at IMAGE_INSTALL ,I added "libasound2-dev", but still not work&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$bitbake imx-image-full&lt;/PRE&gt;&lt;PRE&gt;Loading cache: 100% | | ETA: --:--:--&lt;BR /&gt;Loaded 0 entries from dependency cache.&lt;BR /&gt;Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:00:16&lt;BR /&gt;Parsing of 3440 .bb files complete (0 cached, 3440 parsed). 5303 targets, 361 skipped, 18 masked, 0 errors.&lt;BR /&gt;NOTE: Resolving any missing task queue dependencies&lt;BR /&gt;ERROR: Nothing RPROVIDES 'libasound2-dev' (but /opt/yocto/imx-6.1.36-2.1.0-build/sources/meta-imx/meta-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full.bb RDEPENDS on or otherwise requires it)&lt;BR /&gt;NOTE: Runtime target 'libasound2-dev' is unbuildable, removing...&lt;BR /&gt;Missing or unbuildable dependency chain was: ['libasound2-dev']&lt;BR /&gt;ERROR: Required build target 'imx-image-full' has no buildable providers.&lt;BR /&gt;Missing or unbuildable dependency chain was: ['imx-image-full', 'libasound2-dev']&lt;BR /&gt;&lt;BR /&gt;Summary: There were 2 ERROR messages, returning a non-zero exit code.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please give me advice on how to download "libasound2-dev" packages,Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 05:28:51 GMT</pubDate>
    <dc:creator>yumy</dc:creator>
    <dc:date>2023-11-22T05:28:51Z</dc:date>
    <item>
      <title>How to install packages "libasound2-dev"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1761583#M216145</link>
      <description>&lt;P&gt;My board is&amp;nbsp; i.MX 8M Plus EVK,i am trying developing "speak" and "microphone" functionality&lt;/P&gt;&lt;P&gt;I follow IMX_LINUX_USERS_GUIDE 8.3.3 Audio Front End (AFE)&lt;/P&gt;&lt;P&gt;I downloaded AFE code,and try to compile then,but get error like this:&lt;/P&gt;&lt;PRE&gt;root@imx8mpevk:~/nxp-afe# make&lt;BR /&gt;#@echo "\nBuilding: build/obj/main.o"&lt;BR /&gt;aarch64-poky-linux-g++ -MT build/obj/main.o -MMD -MP -MF build/deps/main.Td -g3 -O3 -Wall -Wextra -Wstrict-aliasing -pedantic -Werror -Wunreachable-code -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Wlogical-op -Wmissing-include-dirs -Wnoexcept -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-promo -Wstrict-null-sentinel -Wswitch-default -Wundef -Wno-unused -Wno-parentheses -fdiagnostics-show-option -I src/ -I src/SignalProcessor -I src/AudioStream -I src/AFEUtilities -c -o build/obj/main.o src/main.cpp&lt;BR /&gt;src/main.cpp:5:10: fatal error: alsa/asoundlib.h: No such file or directory&lt;BR /&gt;5 | #include &amp;lt;alsa/asoundlib.h&amp;gt;&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;make: *** [makefile:117: build/obj/main.o] Error 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then, i try to $sudo apt-get install libasound2-dev, but not work&lt;/P&gt;&lt;PRE&gt;root@imx8mpevk:~/nxp-afe# sudo apt-get install libasound2-dev&lt;BR /&gt;Reading package lists... Done&lt;BR /&gt;Building dependency tree... Done&lt;BR /&gt;E: Unable to locate package libasound2-dev&lt;/PRE&gt;&lt;P&gt;then , i modify&amp;nbsp; &amp;lt;build directory&amp;gt;/conf/local.conf&lt;/P&gt;&lt;PRE&gt;MACHINE ??= 'imx8mpevk'&lt;BR /&gt;DISTRO ?= 'fsl-imx-xwayland'&lt;BR /&gt;EXTRA_IMAGE_FEATURES ?= "debug-tweaks"&lt;BR /&gt;USER_CLASSES ?= "buildstats"&lt;BR /&gt;PATCHRESOLVE = "noop"&lt;BR /&gt;BB_DISKMON_DIRS ??= "\&lt;BR /&gt;STOPTASKS,${TMPDIR},1G,100K \&lt;BR /&gt;STOPTASKS,${DL_DIR},1G,100K \&lt;BR /&gt;STOPTASKS,${SSTATE_DIR},1G,100K \&lt;BR /&gt;STOPTASKS,/tmp,100M,100K \&lt;BR /&gt;HALT,${TMPDIR},100M,1K \&lt;BR /&gt;HALT,${DL_DIR},100M,1K \&lt;BR /&gt;HALT,${SSTATE_DIR},100M,1K \&lt;BR /&gt;HALT,/tmp,10M,1K"&lt;BR /&gt;PACKAGECONFIG:append:pn-qemu-system-native = " sdl"&lt;BR /&gt;CONF_VERSION = "2"&lt;BR /&gt;&lt;BR /&gt;DL_DIR ?= "${BSPDIR}/downloads/"&lt;BR /&gt;ACCEPT_FSL_EULA = "1"&lt;BR /&gt;&lt;BR /&gt;# Switch to Debian packaging and include package-management in the image&lt;BR /&gt;PACKAGE_CLASSES = "package_deb"&lt;BR /&gt;EXTRA_IMAGE_FEATURES += "package-management"&lt;BR /&gt;IMAGE_INSTALL:append = "bluez5 bluez5-noinst-tools bluez5-obex openobex obexftp glibc-gconv-utf-16 glibc-utils git libasound2-dev "&lt;BR /&gt;CORE_IMAGE_EXTRA_INSTALL += "apt"&lt;/PRE&gt;&lt;P&gt;at IMAGE_INSTALL ,I added "libasound2-dev", but still not work&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$bitbake imx-image-full&lt;/PRE&gt;&lt;PRE&gt;Loading cache: 100% | | ETA: --:--:--&lt;BR /&gt;Loaded 0 entries from dependency cache.&lt;BR /&gt;Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:00:16&lt;BR /&gt;Parsing of 3440 .bb files complete (0 cached, 3440 parsed). 5303 targets, 361 skipped, 18 masked, 0 errors.&lt;BR /&gt;NOTE: Resolving any missing task queue dependencies&lt;BR /&gt;ERROR: Nothing RPROVIDES 'libasound2-dev' (but /opt/yocto/imx-6.1.36-2.1.0-build/sources/meta-imx/meta-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full.bb RDEPENDS on or otherwise requires it)&lt;BR /&gt;NOTE: Runtime target 'libasound2-dev' is unbuildable, removing...&lt;BR /&gt;Missing or unbuildable dependency chain was: ['libasound2-dev']&lt;BR /&gt;ERROR: Required build target 'imx-image-full' has no buildable providers.&lt;BR /&gt;Missing or unbuildable dependency chain was: ['imx-image-full', 'libasound2-dev']&lt;BR /&gt;&lt;BR /&gt;Summary: There were 2 ERROR messages, returning a non-zero exit code.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please give me advice on how to download "libasound2-dev" packages,Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 05:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1761583#M216145</guid>
      <dc:creator>yumy</dc:creator>
      <dc:date>2023-11-22T05:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to install packages "libasound2-dev"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1761770#M216168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226015"&gt;@yumy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;To include fsl-alsa-plugins in yocto image one can add i.MX audio support by adding the below package group.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CORE_IMAGE_EXTRA_INSTALL += "&amp;nbsp;packagegroup-fsl-tools-audio \&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 09:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1761770#M216168</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-11-22T09:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to install packages "libasound2-dev"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1812443#M220223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I added&amp;nbsp;&lt;SPAN&gt;the below package group in local.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;CORE_IMAGE_EXTRA_INSTALL += "&amp;nbsp;packagegroup-fsl-tools-audio \&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but not work, following is my error message&lt;/P&gt;&lt;PRE&gt;test.c:11:10: fatal error: alsa/asoundlib.h: No such file or directory&lt;BR /&gt;11 | #include &amp;lt;alsa/asoundlib.h&amp;gt;&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;/PRE&gt;&lt;P&gt;how can i include &amp;lt;alsa/asoundlib.h&amp;gt; on IMX8MQ-EVK&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 05:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-install-packages-quot-libasound2-dev-quot/m-p/1812443#M220223</guid>
      <dc:creator>yumy</dc:creator>
      <dc:date>2024-02-21T05:27:03Z</dc:date>
    </item>
  </channel>
</rss>

