I am trying to use lround function and it requires math.h to be included but I am not sure how to include it to an existing project that I have created. I have just created a new C/C++ project. I have attached what the library settings are for my project below.
I was using Redlib and I tried all 3 configuratoins of none, nohost and semihost. However when I try it with newlib it doesnt give me the error. Not sure why thats the case.
Redlib is a small C90 library implementation. See https://community.nxp.com/thread/389152
Hello Kartheek Gajjala,
Is there some error when you config like yours? Please take a screenshot show it.
Also what about the name of lib ?
There is a DOC about how to add static lib in MCUXpresso IDE:
How to create and use static library in MCUXpresso IDE
If still have problem, please attach your project and lib.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------