안녕하세요.

 

모바일에서의 영상 처리 관련 연구를 진행하고 있습니다.

 

이클립스에서 자바-jni 연동해서 개발 중인데요,

 

C 소스 파일에서

 

CvCapture* capture = cvCreateFileCapture("/sdcard/xxx.avi");

 

와 같이 코딩한 뒤에 Cygwin을 이용해서 컴파일 하게 되면

 

'cvCreateFileCapture' was not declared in this scope 라고 에러 메시지가 뜨네요 ..ㅠㅠㅠ

 

해당 에러 메시지를 구글링해보니까 include 시 헤더 파일의 경로를 자세하게 적으니까 해결됐다는 내용이 있길래,

 

#include "cv/include/cv.h"
#include "cxcore/include/cxcore.h"
#include "cvaux/include/cvaux.h"
#include "otherlibs/highgui/highgui.h"

#include "ml/include/ml.h"

 

와 같이도 해보고

 

#include "cv.h"
#include "cxcore.h"
#include "cvaux.h"
#include "highgui.h"

#include "ml.h"

 

와 같이도 해보았지만 모두 위와 동일한 에러 메시지가 뜨네요 ㅠㅠ

 

혹시 해결 방법을 알고 계시다면 도움 좀 부탁드립니다.

 

아참 openCV 버전은 1.0 (1.1?) 입니다...