-ldc1394_control 이놈을 설치하려고 하는데 잘 안되네요…
도움좀 청할려고 글을 올리게 되었습니다.
문제는 usb 카메라를 이용하여 예제 프로그램을 돌리려고 하는데요
이런 에러가 발생하네요;
root@dilab-desktop:/usr/src/libdc1394v1/grabdma# ls
LICENSE Makefile README conversions.cpp conversions.h grabcolor.cpp grabdma.cpp grabdma.o grabform7.cpp
root@dilab-desktop:/usr/src/libdc1394v1/grabdma# make
g++ -c -I. -Wall -g -DLINUX grabdma.cpp
grabdma.cpp:31:38: error: libdc1394/dc1394_control.h: No such file or directory
grabdma.cpp:71: error: ‘FORMAT_VGA_NONCOMPRESSED’ was not declared in this scope
grabdma.cpp:72: error: ‘MODE_640x480_MONO’ was not declared in this scope
grabdma.cpp:73: error: ‘FRAMERATE_30’ was not declared in this scope
grabdma.cpp:116: error: ‘dc1394_cameracapture’ does not name a type
grabdma.cpp: In function ‘void cleanup()’:
grabdma.cpp:136: error: ‘dc1394Camera’ was not declared in this scope
grabdma.cpp:136: error: ‘dc1394_dma_unlisten’ was not declared in this scope
grabdma.cpp:137: error: ‘dc1394_dma_release_camera’ was not declared in this scope
grabdma.cpp: In function ‘int main(int, char**)’:
grabdma.cpp:155: error: ‘dc1394_create_handle’ was not declared in this scope
grabdma.cpp:176: error: ‘dc1394_get_camera_nodes’ was not declared in this scope
grabdma.cpp:233: error: ‘dc1394_get_iso_channel_and_speed’ was not declared in this scope
grabdma.cpp:233: error: ‘DC1394_SUCCESS’ was not declared in this scope
grabdma.cpp:251: error: ‘SPEED_400’ was not declared in this scope
grabdma.cpp:256: error: ‘dc1394Camera’ was not declared in this scope
grabdma.cpp:256: error: ‘dc1394_dma_setup_capture’ was not declared in this scope
grabdma.cpp:257: error: ‘DC1394_SUCCESS’ was not declared in this scope
grabdma.cpp:274: error: ‘dc1394_start_iso_transmission’ was not declared in this scope
grabdma.cpp:275: error: ‘DC1394_SUCCESS’ was not declared in this scope
grabdma.cpp:290: error: ‘dc1394_dma_single_capture’ was not declared in this scope
grabdma.cpp:290: error: ‘DC1394_SUCCESS’ was not declared in this scope
grabdma.cpp:296: error: ‘dc1394_dma_done_with_buffer’ was not declared in this scope
grabdma.cpp:313: error: ‘dc1394_dma_single_capture’ was not declared in this scope
grabdma.cpp:313: error: ‘DC1394_SUCCESS’ was not declared in this scope
grabdma.cpp:356: error: ‘dc1394_dma_done_with_buffer’ was not declared in this scope
grabdma.cpp:361: error: ‘dc1394_stop_iso_transmission’ was not declared in this scope
grabdma.cpp:361: error: ‘DC1394_SUCCESS’ was not declared in this scope
make: *** [grabdma.o] 오류 1
root@dilab-desktop:/usr/src/libdc1394v1/grabdma#
예제가 있는 링크입니다.
http://www.ptgrey.com/support/kb/index. ... 7&ST=linux지금 보니깐 -ldc1394_control 이놈이 설치가 안되서 make가 안된다고 하는거 같은데요
어제부터 찾고 했는데 잘 안찾아지네요…
시냅틱도 뒤져보고 소스포지에도 가보고 구글사이트도 엄청 뒤졌는데… ㅜㅜ
거기다가 이상한 에러까지 ㄷ ㄷ
도와주세요 ~
(방금또 이상한짓 하니 이에러는사라졌네요 --;
(예제파일을 지우고 다시 압축 풀어서 make해보니 저렇게 나오네요 --;; )