<?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: C/C++ S32DS Project in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/C-C-S32DS-Project/m-p/1798909#M11802</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228043"&gt;@RBSamuel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I guess my manual was not complete. Based on your error messages I think you need to add your linker file:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndreasStolze_1-1706719668094.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261128iA9358375424217D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndreasStolze_1-1706719668094.png" alt="AndreasStolze_1-1706719668094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Andreas&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 16:48:13 GMT</pubDate>
    <dc:creator>AndreasStolze</dc:creator>
    <dc:date>2024-01-31T16:48:13Z</dc:date>
    <item>
      <title>C/C++ S32DS Project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/C-C-S32DS-Project/m-p/1791108#M11742</link>
      <description>&lt;P&gt;Hello everyone!&lt;BR /&gt;&lt;BR /&gt;I`m creating a C/C++ application on S32DS specific for the S32K344.&lt;BR /&gt;Since on C++ there is no RTD, I saw a few solutions on the forum that "migrate" the C project to C++, however when I do the following process, some errors occur:&lt;BR /&gt;&lt;BR /&gt;I create a C project and add the SDK:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RBSamuel_0-1705580906514.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258820i3512DF1425443DF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RBSamuel_0-1705580906514.png" alt="RBSamuel_0-1705580906514.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I add the nature of C++ to the project&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RBSamuel_1-1705580932717.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258821i6FCCEACAC88C1B9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RBSamuel_1-1705580932717.png" alt="RBSamuel_1-1705580932717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I compile, I get the following message:&lt;BR /&gt;&lt;BR /&gt;multiple definition of `_start'; c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/crt0.o:/local/nxa09502/release/opt/freescale/Earmv7nGCC/obj_newlib_nano/arm-none-eabi/thumb/v7e-m+fp/hard/libgloss/arm/semihv2m/../../../../../../../../src_newlib/libgloss/arm/crt0.S:345: first defined here&lt;BR /&gt;&lt;BR /&gt;I tried also to do not use standard start files, but some other errors show up then:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RBSamuel_2-1705580976336.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258822iB11F48F8EC6AB50E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RBSamuel_2-1705580976336.png" alt="RBSamuel_2-1705580976336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RBSamuel_3-1705581026532.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258823iF932E7E8BC768B6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RBSamuel_3-1705581026532.png" alt="RBSamuel_3-1705581026532.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Tried also copying the linker files, but no solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does anyone how I could manage these errors?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 13:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/C-C-S32DS-Project/m-p/1791108#M11742</guid>
      <dc:creator>RBSamuel</dc:creator>
      <dc:date>2024-01-18T13:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: C/C++ S32DS Project</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/C-C-S32DS-Project/m-p/1798909#M11802</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228043"&gt;@RBSamuel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I guess my manual was not complete. Based on your error messages I think you need to add your linker file:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndreasStolze_1-1706719668094.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261128iA9358375424217D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndreasStolze_1-1706719668094.png" alt="AndreasStolze_1-1706719668094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/C-C-S32DS-Project/m-p/1798909#M11802</guid>
      <dc:creator>AndreasStolze</dc:creator>
      <dc:date>2024-01-31T16:48:13Z</dc:date>
    </item>
  </channel>
</rss>

