웹캠 프로그램 설치 관련 ...

apple2tree의 이미지

안녕하세요.

웹캠 프로그램을 설치하려고 하는데요.
에러가 하나 발생합니다.
고수님들 도와주세요 ...

설치하려고 하는 환경은
Linux Kernel 2.6.x (Fedora Core 7)
Desktop Gnome 2.x

<===== 에러 내용 =====> [root@localhost xawtv-3.95]# make CC console/fbtv.o In file included from console/fbtv.c:31: ./libng/grab-ng.h:28:1: warning: "bool" redefined In file included from /usr/include/curses.h:175, from console/fbtv.c:24: /usr/lib/gcc/i386-redhat-linux/4.1.2/include/stdbool.h:36:1: warning: this is the location of the previous definition In file included from console/fbtv.c:44: console/fs.h:2:20: error: FSlib.h: 그런 파일이나 디렉토리가 없음 In file included from console/fbtv.c:44: console/fs.h:6: error: expected specifier-qualifier-list before ‘FSXFontInfoHeader’ console/fs.h:58: error: expected declaration specifiers or ‘...’ before ‘FSXCharInfo’ console/fs.h:62: error: expected ‘)’ before ‘*’ token console/fbtv.c: In function ‘text_out’: console/fbtv.c:339: error: ‘struct fs_font’ has no member named ‘height’ console/fbtv.c:340: error: ‘struct fs_font’ has no member named ‘fontHeader’ console/fbtv.c:341: warning: pointer targets in passing argument 4 of ‘fs_puts’ differ in signedness console/fbtv.c: In function ‘text_width’: console/fbtv.c:347: warning: pointer targets in passing argument 2 of ‘fs_textwidth’ differ in signedness console/fbtv.c: In function ‘do_capture’: console/fbtv.c:405: error: ‘struct fs_font’ has no member named ‘height’ console/fbtv.c:406: error: ‘struct fs_font’ has no member named ‘height’ console/fbtv.c:443: error: ‘struct fs_font’ has no member named ‘height’ console/fbtv.c:444: error: ‘struct fs_font’ has no member named ‘height’ console/fbtv.c: In function ‘main’: console/fbtv.c:755: error: ‘struct fs_font’ has no member named ‘height’ console/fbtv.c:773: error: ‘struct fs_font’ has no member named ‘width’ console/fbtv.c:813: warning: pointer targets in assignment differ in signedness make: *** [console/fbtv.o] 오류 1

수고하세요.

설치하려는 프로그램 첨부.

File attachments: 
첨부파일 크기
Binary Data xawtv-3.95.tar.gz542.71 KB
Hyun의 이미지

xawtv 로 찍혀지는 비됴를 보려고 하시나요??? 그렇다면 tvtime 패키지가 있었습니다.

$ yum install tvtime

해서 설치하세요.
apple2tree의 이미지


안녕하세요.

답변 너무 감사드립니다.

tvtime 설치는 했는데요 ...
make 쳐도
이전과 같이 에러가 하나 뜨는데요 ㅡㅡ;;

현재 ...
FedoraCore7 / Gnome 에서
웹캠의 영상을 출력하는 프로그램을 만들려고 하는데요 ...
그래서 관련 소스를 찾고 있습니다.

그 일환으로 xawtv를 설치를 해보려고 하는데요 ...

ㅠㅠ

어떻게 해야할지 ...
리눅스를 잘 몰라서 너무 어렵습니다.

수고하세요 ...

Hyun의 이미지

xawtv나 tvtime 컴파일 하면서 에러가 나는건, 아마 그 프로그램이 사용하는 개발패키지가 설치되어있지 않아서 그럴지도 모르겠네요.

예전에 보기론 비디오 카메라 등의 비디오 장치는 리눅스에서 V4L(Video For Linux???)로 연결된다는걸로 알고있습니다. 커널의 관련 드라이버를 찾아보시거나 관련 프로젝트를 둘러보면 인터페이스 API의 사용법을 알 수 있을 듯 합니다.