-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Ubuntu 15.04
Opencv 3.0.0
Matlab R2014a
I downloaded opentld source from here and modify 'include', and 'libpath'
and also comment out ifdef _CHAR16T ....
and I got and error like this,,
Unix
lk.o: In function normCrossCorrelation(_IplImage*, _IplImage*, CvPoint2D32f*, CvPoint2D32f*, int, char*, float*, int, int)': lk.cpp:(.text+0x186): undefined reference tocvCreateImage'
lk.cpp:(.text+0x19f): undefined reference to cvCreateImage' lk.cpp:(.text+0x1bc): undefined reference tocvCreateImage'
lk.cpp:(.text+0x1fa): undefined reference to cvGetRectSubPix' lk.cpp:(.text+0x20d): undefined reference tocvGetRectSubPix'
lk.cpp:(.text+0x221): undefined reference to cvMatchTemplate' lk.cpp:(.text+0x259): undefined reference tocvReleaseImage'
lk.cpp:(.text+0x262): undefined reference to cvReleaseImage' lk.cpp:(.text+0x26b): undefined reference tocvReleaseImage'
lk.o: In function mexFunction': lk.cpp:(.text+0x301): undefined reference tocvReleaseImage'
lk.cpp:(.text+0x31b): undefined reference to cvReleaseImage' lk.o:lk.cpp:(.text+0x339): more undefined references tocvReleaseImage' follow
lk.o: In function mexFunction': lk.cpp:(.text+0x445): undefined reference tocvCreateImage'
lk.cpp:(.text+0x462): undefined reference to cvCreateImage' lk.cpp:(.text+0x4cb): undefined reference tocvCreateImage'
lk.cpp:(.text+0x4e9): undefined reference to cvCreateImage' lk.cpp:(.text+0x562): undefined reference tocvAlloc'
lk.cpp:(.text+0x574): undefined reference to cvAlloc' lk.cpp:(.text+0x587): undefined reference tocvAlloc'
lk.cpp:(.text+0x63a): undefined reference to cvAlloc' lk.cpp:(.text+0x645): undefined reference tocvAlloc'
lk.o:lk.cpp:(.text+0x64d): more undefined references to cvAlloc' follow lk.o: In functionmexFunction':
lk.cpp:(.text+0x6f9): undefined reference to cvCalcOpticalFlowPyrLK' lk.cpp:(.text+0x78f): undefined reference tocvCalcOpticalFlowPyrLK'
collect2: error: ld returned 1 exit status
mex: link of ' "lk.mexa64"' failed.
성공적으로 완료할 수 없습니다.
오류 발생: compile (line 77)
eval(['mex lk.cpp -O' include lib]);
so I hope to know what is the problem.
Thank you.