To: | |
---|---|
Subject: | Re: [pwc] Thank you + |
From: | Gert Vervoort <> |
Date: | Mon, 17 Sep 2007 17:43:54 +0200 |
oliver wrote: > Thanks, I now managed to compile libpwc, but now I have > another problem : I am use to installing libs with apt-get and > then compile with a -lthelib option. I am quite lost with .o and .a files > on my hands. Is there any way I can install libpwc so I can use it easily, > I have been trying to recompile testlibpwc.c myself without any success. > > There are 2 ways, you can either compile against the libpwc directory: gcc -O3 -o v4l2_read_pwc2 v4l2_read_pwc2.c -Ilibpwc-20060524 libpwc-20060524/libpwc.a -lm Or copy the library libpwc.a to /usr/local/lib or /usr/local/lib64, and the header files libpwc.h and pwc-ioctl.h to /usr/local/include : gcc -O3 -o v4l2_read_pwc2 v4l2_read_pwc2.c -lpwc -lm Gert _______________________________________________ pwc mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [pwc] Thank you +, oliver |
---|---|
Next by Date: | [pwc] VIDIOCPWCRUSER: Bad file descriptor, Roman Haefeli |
Previous by Thread: | Re: [pwc] Thank you +, oliver |
Next by Thread: | [pwc] VIDIOCPWCRUSER: Bad file descriptor, Roman Haefeli |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU