<?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: Bitbake with cmake recipe [Yocto] in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1257200#M172125</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;log.do_configure&lt;/EM&gt; is below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function do_configure
CMake Error: The source directory "/home/student/fsl-release-bsp/build-analytics-tflite/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/helloworld/1.0-r0/git" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at /home/student/fsl-release-bsp/build-analytics-tflite/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/helloworld/1.0-r0/temp/log.do_configure.28784)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 09:23:26 GMT</pubDate>
    <dc:creator>ardtrkc</dc:creator>
    <dc:date>2021-04-06T09:23:26Z</dc:date>
    <item>
      <title>Bitbake with cmake recipe [Yocto]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1256641#M172066</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;We have a c++ code and CMakeLists.txt on Github which needs to be run with Cmake. However, when we try to bitbake our recipe we get this specific CMake error;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot_3.png" style="width: 463px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141328i93406875B1F928FD/image-dimensions/463x125?v=v2" width="463" height="125" role="button" title="Screenshot_3.png" alt="Screenshot_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Please check below for our recipe and txt. files-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Our recipe &lt;EM&gt;(helloworld.bb)&lt;/EM&gt; is as follows:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;# Recipe for the Hello World program

SUMMARY = "Recipe for the Hello World program"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

DEPENDS += "opencv"
DEPENDS += "libconfig"
DEPENDS += "tensorflow-lite"

SRC_URI = "git://github.com/aniladar/patch.git;protocol=https;branch=main"

SRCREV = "${AUTOREV}"

# Here we specify the source directory, where we do all the building and expect sources to be placed
S = "${WORKDIR}/git"
B = "${S}"
inherit cmake&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;CMakeLists.txt&lt;/EM&gt; file is as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cmake_minimum_required(VERSION 3.14)

project(patch)

add_executable(minimal minimal.cc)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone give some hints where we are doing wrong or what should be included in our recipe?&lt;/P&gt;&lt;P&gt;Your guidance and clarifications are important for us.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 10:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1256641#M172066</guid>
      <dc:creator>ardtrkc</dc:creator>
      <dc:date>2021-04-05T10:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bitbake with cmake recipe [Yocto]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1256867#M172092</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide the log.do_configure??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 01:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1256867#M172092</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-04-06T01:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bitbake with cmake recipe [Yocto]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1257200#M172125</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;log.do_configure&lt;/EM&gt; is below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DEBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function do_configure
CMake Error: The source directory "/home/student/fsl-release-bsp/build-analytics-tflite/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/helloworld/1.0-r0/git" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at /home/student/fsl-release-bsp/build-analytics-tflite/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/helloworld/1.0-r0/temp/log.do_configure.28784)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 09:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bitbake-with-cmake-recipe-Yocto/m-p/1257200#M172125</guid>
      <dc:creator>ardtrkc</dc:creator>
      <dc:date>2021-04-06T09:23:26Z</dc:date>
    </item>
  </channel>
</rss>

