<?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>i.MX GraphicsのトピックRe: error: 'V4L2_PIX_FMT_YUV24' undeclared here (not in a function)</title>
    <link>https://community.nxp.com/t5/i-MX-Graphics/error-V4L2-PIX-FMT-YUV24-undeclared-here-not-in-a-function/m-p/1203955#M71</link>
    <description>&lt;P&gt;Hi jin1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;issue may be posted on&amp;nbsp; &lt;A href="https://github.com/Avnet/meta-maaxboard/issues" target="_blank"&gt;https://github.com/Avnet/meta-maaxboard/issues&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;NXP supports only linux from source.codeaurora.org/external/imx/linux-imx repository&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Build steps can be found in&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Yocto Project User’s Guide​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 04:43:07 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-12-24T04:43:07Z</dc:date>
    <item>
      <title>error: 'V4L2_PIX_FMT_YUV24' undeclared here (not in a function)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/error-V4L2-PIX-FMT-YUV24-undeclared-here-not-in-a-function/m-p/1203727#M70</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am playing maaxboard (from&amp;nbsp;&lt;SPAN&gt;imx8mqevk).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and I use yocto source code here:&amp;nbsp;&lt;A href="https://github.com/Avnet/meta-maaxboard" target="_blank" rel="noopener"&gt;https://github.com/Avnet/meta-maaxboard&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;bitbake fsl-image-validation-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;but error happened :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;I want to know what libs I need to add? or what the reason?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;it's interesting: the imx-test can not pass the compilation!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;aarch64-poky-linux-gcc&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;--sysroot=/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-I/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/git/include &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-I/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/recipe-sysroot/usr/include &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-I/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/recipe-sysroot/usr/include/imx &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-L/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/recipe-sysroot/usr/lib -c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g -I/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/recipe-sysroot/usr/include/imx&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;mxc_jpeg_test/decoder_test.c -o mxc_jpeg_test/decoder_test.o&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| In file included from mxc_jpeg_test/decoder_test.c:29:0:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| mxc_jpeg_test/mxc_jpeg_test.h:51:13: error: 'V4L2_PIX_FMT_YUV24' undeclared here (not in a function); did you mean 'V4L2_PIX_FMT_YUV32'?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;|&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;.fourcc = V4L2_PIX_FMT_YUV24&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;|&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^~~~~~~~~~~~~~~~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;|&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;V4L2_PIX_FMT_YUV32&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| Makefile:23: recipe for target 'mxc_jpeg_test/decoder_test.o' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| make[1]: *** [mxc_jpeg_test/decoder_test.o] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| make[1]: Leaving directory '/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/git/test'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| ERROR: oe_runmake failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| Makefile:46: recipe for target 'test' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| make: *** [test] Error 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| WARNING: exit code 1 from a shell command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| ERROR: Function failed: do_compile (log file is located at /home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/maaxboard/build/tmp/work/aarch64-mx8m-poky-linux/imx-test/1_7.0+AUTOINC+fb55212d11-r0/temp/log.do_compile.29254)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;: &lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Task (/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test/imx-test_git.bb:do_compile) failed with exit code '1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: Tasks Summary: Attempted 5696 tasks of which 5686 didn't need to be rerun and 1 failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Summary: 1 task failed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;/home/rnd2/work/maaxboard/avnet/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test/imx-test_git.bb:do_compile&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Summary: There was 1 WARNING message shown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Summary: There were 2 ERROR messages shown, returning a non-zero exit code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:38:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/error-V4L2-PIX-FMT-YUV24-undeclared-here-not-in-a-function/m-p/1203727#M70</guid>
      <dc:creator>gonewithwind-peter</dc:creator>
      <dc:date>2020-12-23T15:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: error: 'V4L2_PIX_FMT_YUV24' undeclared here (not in a function)</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/error-V4L2-PIX-FMT-YUV24-undeclared-here-not-in-a-function/m-p/1203955#M71</link>
      <description>&lt;P&gt;Hi jin1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;issue may be posted on&amp;nbsp; &lt;A href="https://github.com/Avnet/meta-maaxboard/issues" target="_blank"&gt;https://github.com/Avnet/meta-maaxboard/issues&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;NXP supports only linux from source.codeaurora.org/external/imx/linux-imx repository&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Build steps can be found in&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Yocto Project User’s Guide​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 04:43:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/error-V4L2-PIX-FMT-YUV24-undeclared-here-not-in-a-function/m-p/1203955#M71</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-12-24T04:43:07Z</dc:date>
    </item>
  </channel>
</rss>

