Following this guide, it says to include a library in the C++ Linker called
m. What is this for?
Specifically, Your second Arduino project.
4) Configure project
5th dot point:
AVR C++ Linker -> Libraries: Under libraries, add arduino_core and m (in that order). Under path, add the path to the correct core library, e.g. "