Re: [anjuta-list] #include <math.h> didn't work



Hi,

On 07/07/2014 13:54, lsjun wrote:
When in terminal I use "gcc now.c -lm" to link math.h
And in Anjuta I don't know where to add "-lm"
hope your help!

Sorry for the delay. If you have created a Anjuta project with the autotools backend (the default one), you can add such flags by selecting the program in the project view, then click on Project->Properties and add this in the linker flags entry box. If you don't already have some flags, you will have to click on More option first.


Regards,

Sébastien


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]