Witam,
Mam problem z Eclipse, a mianowicie z dodaniem biblioteki tgmath.h. Program pisany w języku C, wersja eclipse to Indigo a efekt próby kompilacji poniżej:
make all
Building target: my_fft
Invoking: Cross GCC Linker
gcc -lm -o "my_fft" ./mian.o
./mian.o: In function `main':
/home/kamilson/workspace/my_fft/Debug/../mian.c:7: undefined reference to `cosf'
collect2: ld returned 1 exit status
make: *** [my_fft] Error 1
Pozdrawiam,
Kamil
Mam problem z Eclipse, a mianowicie z dodaniem biblioteki tgmath.h. Program pisany w języku C, wersja eclipse to Indigo a efekt próby kompilacji poniżej:
make all
Building target: my_fft
Invoking: Cross GCC Linker
gcc -lm -o "my_fft" ./mian.o
./mian.o: In function `main':
/home/kamilson/workspace/my_fft/Debug/../mian.c:7: undefined reference to `cosf'
collect2: ld returned 1 exit status
make: *** [my_fft] Error 1
Pozdrawiam,
Kamil