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
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to