Hi Ho
I am now trying to build the sine_wave example
I cloned a working minimal project and then added the sine_wave.c code and the CMakeList.txt
I am getting an errorI see M_PI has a conditional definition in math.h which is #included in the code.In my case neither of these tests seem to be true!!
Have I missed something obvious ( again)
Thanks
Ted
I am now trying to build the sine_wave example
I cloned a working minimal project and then added the sine_wave.c code and the CMakeList.txt
I am getting an error
Code:
identifier "M_PI" is undefined
Code:
#if __BSD_VISIBLE || __XSI_VISIBLE.#define M_PI3.14159265358979323846.#endif
Have I missed something obvious ( again)
Thanks
Ted
Statistics: Posted by tfcroft4 — Mon Feb 05, 2024 2:53 pm