[pwc] Thank you +
Gert Vervoort
gert.vervoort at hccnet.nl
Mon Sep 17 17:43:54 CEST 2007
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
More information about the pwc
mailing list