|
From: Anoop M. <ano...@gm...> - 2012-04-20 06:54:29
|
Hi, I am trying to create a patch to test the functionality of png_save(). I could successfully include the header, however, I dont seem to get an idea about which libraries to link. my brlcad installation is in : > /usr/brlcad I am using the following command to compile > gcc -I /usr/brlcad/include/ -L /usr/brlcad/lib -lbrlcad test_malav.c and i get the following error > /tmp/ccXhPkEt.o: In function `main': > test_malav.c:(.text+0x86): undefined reference to `png_save' > collect2: ld returned 1 exit status |