<?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 Problems getting started with MCUXpresso SDK: can't compile hello world in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Problems-getting-started-with-MCUXpresso-SDK-can-t-compile-hello/m-p/1863336#M4770</link>
    <description>&lt;P&gt;Hello everybody. I am moving my first steps in developing firmware for Cortex-M7 in i.MX8MP processor...&lt;/P&gt;&lt;P&gt;Following the guides, I built, downloaded and installed a MCUXpresso SDK for my EVKIT:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20240510_111738.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/278183iA2C47F6337F4C369/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20240510_111738.png" alt="Screenshot_20240510_111738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am trying to build the hello_world example coming with the SDK but I am receiving errors that I cannot understand.&lt;/P&gt;&lt;P&gt;Basically this is what I did:&lt;/P&gt;&lt;P&gt;1) downloaded and installed MCUXpresso SDK to folder &lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;/home/morix/MCUXpresso&lt;/FONT&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) downloaded and installed GNU ARM toolchain to folder &lt;FONT face="andale mono,times"&gt;/home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi&lt;/FONT&gt; (toolchain was taken from &lt;A href="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&amp;amp;hash=CA590209F5774EE1C96E6450E14A3E26" target="_blank"&gt;https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&amp;amp;hash=CA590209F5774EE1C96E6450E14A3E26&lt;/A&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) &lt;FONT face="andale mono,times"&gt;export ARMGCC_DIR=/home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;4) &lt;FONT face="andale mono,times"&gt;export PATH=$PATH:/home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf/bin&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5) &lt;FONT face="andale mono,times"&gt;cd /home/morix/&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;MCUXpresso/boards/evkmimx8mp/demo_apps/hello_world/armgcc&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6) &lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;./build_debug.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is what I obtain:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;-- TOOLCHAIN_DIR: /home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;CMake Error at /home/morix/MCUXpresso/tools/cmake_toolchain_files/armgcc.cmake:58 (add_link_options): &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&amp;nbsp;Unknown CMake command "add_link_options". &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Call Stack (most recent call first): &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&amp;nbsp;/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:91 (include) &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&amp;nbsp;CMakeLists.txt:18 (ENABLE_LANGUAGE) &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". &amp;nbsp;CMAKE_MAKE_PROGRAM is not set. &amp;nbsp;You probably need to sel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;ect a different build tool. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;-- Configuring incomplete, errors occurred! &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;make: *** No targets specified and no makefile found. &amp;nbsp;Stop.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am sorry for the (maybe) dumb question, but I am stuck at this point and cannot go further (probably I am missing something "big"... but consider that everything is new to me since I am the very first attempt to work on M7).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 09:27:33 GMT</pubDate>
    <dc:creator>morix</dc:creator>
    <dc:date>2024-05-10T09:27:33Z</dc:date>
    <item>
      <title>Problems getting started with MCUXpresso SDK: can't compile hello world</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Problems-getting-started-with-MCUXpresso-SDK-can-t-compile-hello/m-p/1863336#M4770</link>
      <description>&lt;P&gt;Hello everybody. I am moving my first steps in developing firmware for Cortex-M7 in i.MX8MP processor...&lt;/P&gt;&lt;P&gt;Following the guides, I built, downloaded and installed a MCUXpresso SDK for my EVKIT:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20240510_111738.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/278183iA2C47F6337F4C369/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20240510_111738.png" alt="Screenshot_20240510_111738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am trying to build the hello_world example coming with the SDK but I am receiving errors that I cannot understand.&lt;/P&gt;&lt;P&gt;Basically this is what I did:&lt;/P&gt;&lt;P&gt;1) downloaded and installed MCUXpresso SDK to folder &lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;/home/morix/MCUXpresso&lt;/FONT&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) downloaded and installed GNU ARM toolchain to folder &lt;FONT face="andale mono,times"&gt;/home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi&lt;/FONT&gt; (toolchain was taken from &lt;A href="https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&amp;amp;hash=CA590209F5774EE1C96E6450E14A3E26" target="_blank"&gt;https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&amp;amp;hash=CA590209F5774EE1C96E6450E14A3E26&lt;/A&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) &lt;FONT face="andale mono,times"&gt;export ARMGCC_DIR=/home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;4) &lt;FONT face="andale mono,times"&gt;export PATH=$PATH:/home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-elf/bin&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5) &lt;FONT face="andale mono,times"&gt;cd /home/morix/&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;MCUXpresso/boards/evkmimx8mp/demo_apps/hello_world/armgcc&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6) &lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;./build_debug.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is what I obtain:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;-- TOOLCHAIN_DIR: /home/morix/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;CMake Error at /home/morix/MCUXpresso/tools/cmake_toolchain_files/armgcc.cmake:58 (add_link_options): &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&amp;nbsp;Unknown CMake command "add_link_options". &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Call Stack (most recent call first): &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&amp;nbsp;/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:91 (include) &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;&amp;nbsp;CMakeLists.txt:18 (ENABLE_LANGUAGE) &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". &amp;nbsp;CMAKE_MAKE_PROGRAM is not set. &amp;nbsp;You probably need to sel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;ect a different build tool. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;-- Configuring incomplete, errors occurred! &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;make: *** No targets specified and no makefile found. &amp;nbsp;Stop.&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am sorry for the (maybe) dumb question, but I am stuck at this point and cannot go further (probably I am missing something "big"... but consider that everything is new to me since I am the very first attempt to work on M7).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 09:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Problems-getting-started-with-MCUXpresso-SDK-can-t-compile-hello/m-p/1863336#M4770</guid>
      <dc:creator>morix</dc:creator>
      <dc:date>2024-05-10T09:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems getting started with MCUXpresso SDK: can't compile hello world</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Problems-getting-started-with-MCUXpresso-SDK-can-t-compile-hello/m-p/1863351#M4771</link>
      <description>&lt;P&gt;Ok, found the solution. The problem simply was an outdated version of cmake on my PC... &lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;add_link_options&lt;/FONT&gt;&lt;/SPAN&gt; was added to cmake starting from 3.13...&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 09:50:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Problems-getting-started-with-MCUXpresso-SDK-can-t-compile-hello/m-p/1863351#M4771</guid>
      <dc:creator>morix</dc:creator>
      <dc:date>2024-05-10T09:50:12Z</dc:date>
    </item>
  </channel>
</rss>

