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?
Solved! Go to Solution.
Hi @Hrohn 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:
By following these steps, you should be able to resolve the undefined reference issue for the `ceilf` function in your S32DS project.
If you still face any issues, please provide more details about your project setup and configuration.
Regards,
Hi @Hrohn 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:
By following these steps, you should be able to resolve the undefined reference issue for the `ceilf` function in your S32DS project.
If you still face any issues, please provide more details about your project setup and configuration.
Regards,
@giraffe508 Thanks for your reply. You helped me solve my problem.