<?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>S32 Design StudioのトピックRe: undefined reference to `ceilf'</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674259#M10370</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219272"&gt;@Hrohn&lt;/a&gt;&amp;nbsp;It seems like you are facing an issue with the linker not finding the reference to the `ceilf` function. To resolve this issue, you need to add the math library to your project's linker settings. Here's how you can do that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In S32 Design Studio, right-click on your project in the Project Explorer and select 'Properties.'&lt;/LI&gt;&lt;LI&gt;Go to 'C/C++ Build' &amp;gt; 'Settings' &amp;gt; 'Cross ARM C++ Linker' &amp;gt; 'Libraries.'&lt;/LI&gt;&lt;LI&gt;Click on the '+' button under 'Libraries (-l)' and add 'm' (without quotes) to the list. This will link the math library to your project.&lt;/LI&gt;&lt;LI&gt;Click 'Apply' and then 'OK' to save the changes.&lt;/LI&gt;&lt;LI&gt;Rebuild your project, and the linker should now find the reference to the `ceilf` function.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;By following these steps, you should be able to resolve the undefined reference issue for the `ceilf` function in your S32DS project.&lt;BR /&gt;If you still face any issues, please provide more details about your project setup and configuration.&lt;BR /&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 07:36:17 GMT</pubDate>
    <dc:creator>giraffe508</dc:creator>
    <dc:date>2023-06-22T07:36:17Z</dc:date>
    <item>
      <title>undefined reference to `ceilf'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674162#M10369</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When I compile the project with S32DS for S32 Platform, I need to use the "float ceilf(float)" function. I have included the header file math.h in my C file, but the ceilf function is still not defined, what can I do?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 03:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674162#M10369</guid>
      <dc:creator>Hrohn</dc:creator>
      <dc:date>2023-06-22T03:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `ceilf'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674259#M10370</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219272"&gt;@Hrohn&lt;/a&gt;&amp;nbsp;It seems like you are facing an issue with the linker not finding the reference to the `ceilf` function. To resolve this issue, you need to add the math library to your project's linker settings. Here's how you can do that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In S32 Design Studio, right-click on your project in the Project Explorer and select 'Properties.'&lt;/LI&gt;&lt;LI&gt;Go to 'C/C++ Build' &amp;gt; 'Settings' &amp;gt; 'Cross ARM C++ Linker' &amp;gt; 'Libraries.'&lt;/LI&gt;&lt;LI&gt;Click on the '+' button under 'Libraries (-l)' and add 'm' (without quotes) to the list. This will link the math library to your project.&lt;/LI&gt;&lt;LI&gt;Click 'Apply' and then 'OK' to save the changes.&lt;/LI&gt;&lt;LI&gt;Rebuild your project, and the linker should now find the reference to the `ceilf` function.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;By following these steps, you should be able to resolve the undefined reference issue for the `ceilf` function in your S32DS project.&lt;BR /&gt;If you still face any issues, please provide more details about your project setup and configuration.&lt;BR /&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 07:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674259#M10370</guid>
      <dc:creator>giraffe508</dc:creator>
      <dc:date>2023-06-22T07:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `ceilf'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674273#M10371</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215113"&gt;@giraffe508&lt;/a&gt;&amp;nbsp;Thanks for your reply. You helped me solve my problem.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 07:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/undefined-reference-to-ceilf/m-p/1674273#M10371</guid>
      <dc:creator>Hrohn</dc:creator>
      <dc:date>2023-06-22T07:45:48Z</dc:date>
    </item>
  </channel>
</rss>

