Library Problem

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Nov 23 04:03:00 GMT 2007


On Fri, Nov 23, 2007 at 12:21:17AM +0100, s.krulj@gmx.at wrote:
>Hi!
>
>I've got a problem using the libflv library (http://klaus.geekserver.net/libflv/). The build worked without any problems. "make" produced a libflv.so file, so i copied it as "libflv.dll" to "/usr/lib". I wrote a test app and tried building it with:
>"gcc -lflv test.c -o test.exe"

You need to put the -lflv after the test.c:

gcc test.c -lflv -o test.exe

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list