Ubuntu下使用gcc编译c文件,不能调用sin cos exp等函数~

2025-03-30 21:24:10
推荐回答(1个)
回答1:

编译时加上 -lm
不行再试这个:
gcc -Wall fft.c /usr/lib/libm.a -o fft.out