math - Compiling a .c file using gimptool -
i've found gimp plugin on github i'd use: https://github.com/possiblyphilip/koi (check out, seems pretty cool).
but when try install author suggests:
sudo apt-get install libgimp2.0-dev sudo gimptool-2.0 --install-admin koi.c
i following error:
/usr/bin/ld: /tmp/ccaahhwn.o: undefined reference symbol 'cos@@glibc_2.0' //lib/i386-linux-gnu/libm.so.6: error adding symbols: dso missing command line collect2: error: ld returned 1 exit status
how can fix this? i've done googling , found this answer, suggesting error caused missing math library should added in linking stage (-lm). problem gimptool automatically , don't think there's way tell add anything.
the author of plugin says prebuilt binary available, found. i've e-mailed guy, didn't answer yet.
if it's obvious - i'm sorry, can't figure out.
ps nevermind - i've managed install using
sudo cc=gcc cflags=-o3 libs=-lm gimptool-2.0 --install-admin koi.c
Comments
Post a Comment