<?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 Re: ipu-examples - Compile error - fatal error: linux/mxcfb.h: No such file or directory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344196#M47426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am having the same error. I generated the SDK correctly but it is not including the mxcfb.h header file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is because our platform is headless, so no framebuffer headers are needed/included, make sens?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you an idea on how to get around this, what should I add when compiling Yocto to get these files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Malek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Jun 2015 10:16:35 GMT</pubDate>
    <dc:creator>maleklamari</dc:creator>
    <dc:date>2015-06-07T10:16:35Z</dc:date>
    <item>
      <title>ipu-examples - Compile error - fatal error: linux/mxcfb.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344194#M47424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a VIA VAB-820 (i.MX6Q) with VIA's Linux EVK (AMOS-820 HMI Solution Pack Evaluation Package) installed.&amp;nbsp; I'm trying to compile the IPU examples from &lt;A href="https://github.com/rogeriorps/ipu-examples" title="https://github.com/rogeriorps/ipu-examples"&gt;https://github.com/rogeriorps/ipu-examples&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I git cloned the repo into my directory, cd'ed to ipu-examples, and typed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./configure --host=arm-none-linux-gnueabi --target=mx6 --prefix=/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create my Makefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I type make, I get an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make[1]: Entering directory `/home/linaro/Desktop/ipu-examples'&lt;/P&gt;&lt;P&gt;Making all in mx6/basic/example1&lt;/P&gt;&lt;P&gt;make[2]: Entering directory `/home/linaro/Desktop/ipu-examples/mx6/basic/example1'&lt;/P&gt;&lt;P&gt;gcc -DHAVE_CONFIG_H -I. -I../../..&amp;nbsp; -I //usr/src/kernel/include/uapi -I //usr/src/kernel/include/&amp;nbsp; -g -O2 -MT basic_ex1.o -MD -MP -MF .deps/basic_ex1.Tpo -c -o basic_ex1.o basic_ex1.c&lt;/P&gt;&lt;P&gt;basic_ex1.c:32:25: fatal error: linux/mxcfb.h: No such file or directory&lt;/P&gt;&lt;P&gt;compilation terminated.&lt;/P&gt;&lt;P&gt;make[2]: *** [basic_ex1.o] Error 1&lt;/P&gt;&lt;P&gt;make[2]: Leaving directory `/home/linaro/Desktop/ipu-examples/mx6/basic/example1'&lt;/P&gt;&lt;P&gt;make[1]: *** [all-recursive] Error 1&lt;/P&gt;&lt;P&gt;make[1]: Leaving directory `/home/linaro/Desktop/ipu-examples'&lt;/P&gt;&lt;P&gt;make: *** [all] Error 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like it can't find /usr/include/linux/mxcfb.h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 19:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344194#M47424</guid>
      <dc:creator>Robert_P</dc:creator>
      <dc:date>2014-12-11T19:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: ipu-examples - Compile error - fatal error: linux/mxcfb.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344195#M47425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first you must ensure that your SDK contains all the header files you need.&lt;/P&gt;&lt;P&gt;If you build an image like fsl-image-multimedia the command is&lt;/P&gt;&lt;P&gt;bitbake fsl-image-multimedia -c populate_sdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say, you have installed the SDK to the default folder which is for me:&lt;/P&gt;&lt;P&gt;/usr/local/oecore-x86_64/sysroots/cortexa9hf-vfp-neon-angstrom-linux-gnueabi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check that the header is present:&lt;/P&gt;&lt;P&gt;/usr/local/oecore-x86_64/sysroots/cortexa9hf-vfp-neon-angstrom-linux-gnueabi/usr/src/kernel/include/linux/mxcfb.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, set the prefix accordingly, configure, and the build will succeed:&lt;/P&gt;&lt;P&gt;./configure --host=arm-none-linux-gnueabi --target=mx6 --prefix=/usr/local/oecore-x86_64/sysroots/cortexa9hf-vfp-neon-angstrom-linux-gnueabi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(There will be warnings, but ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When everything else failed, you may also edit the makefiles generated by configure. They are pretty straightforward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 18:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344195#M47425</guid>
      <dc:creator>frankba</dc:creator>
      <dc:date>2015-04-10T18:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: ipu-examples - Compile error - fatal error: linux/mxcfb.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344196#M47426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am having the same error. I generated the SDK correctly but it is not including the mxcfb.h header file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is because our platform is headless, so no framebuffer headers are needed/included, make sens?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you an idea on how to get around this, what should I add when compiling Yocto to get these files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Malek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 10:16:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344196#M47426</guid>
      <dc:creator>maleklamari</dc:creator>
      <dc:date>2015-06-07T10:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: ipu-examples - Compile error - fatal error: linux/mxcfb.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344197#M47427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you dont use/have framebuffer in your project, some of the ipu-examples will simply not work because they use framebuffer for output.Other examples are file-to-file resp. memory-to-memory, like resizing. They include mxcfb.h but dont really need to. You may try to get these examples working for your system by changing the includes and Makefiles.&lt;/P&gt;&lt;P&gt;Also check &lt;A href="http://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html" title="http://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html"&gt;Yocto Project Linux Kernel Development Manual&lt;/A&gt; about the packages you have to include in your image, &lt;/P&gt;&lt;P&gt;e.g. you might want to add to your image (or in local.conf):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append += "\&lt;/P&gt;&lt;P&gt;&amp;nbsp; kernel-dev \&lt;/P&gt;&lt;P&gt;&amp;nbsp; kernel-devsrc \&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRA_IMAGE_FEATURES += "\&lt;/P&gt;&lt;P&gt;&amp;nbsp; dev-pkgs \&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 20:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ipu-examples-Compile-error-fatal-error-linux-mxcfb-h-No-such/m-p/344197#M47427</guid>
      <dc:creator>frankba</dc:creator>
      <dc:date>2015-06-11T20:42:46Z</dc:date>
    </item>
  </channel>
</rss>

