|
From: Anoop M. <ano...@gm...> - 2012-04-20 07:39:03
|
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 -- *Anoop Malav* Y08UC029 (*Final Year*) *Computer Science and Engineering* Department *The LNM Institute of Information Technology* Rupa ki Nangal, Post-Sumel, Via-Jamdoli Jaipur-302031, (Rajasthan) INDIA |