Open feral913 opened 8 years ago
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
normCrossCorrelation(_IplImage*, _IplImage*, CvPoint2D32f*, CvPoint2D32f*, int, char*, float*, int, int)': lk.cpp:(.text+0x186): undefined reference to
cvCreateImage' lk.cpp:(.text+0x1bc): undefined reference to
cvGetRectSubPix' lk.cpp:(.text+0x20d): undefined reference to
cvMatchTemplate' lk.cpp:(.text+0x259): undefined reference to
cvReleaseImage' lk.cpp:(.text+0x26b): undefined reference to
mexFunction': lk.cpp:(.text+0x301): undefined reference to
cvReleaseImage' lk.o:lk.cpp:(.text+0x339): more undefined references to
mexFunction': lk.cpp:(.text+0x445): undefined reference to
cvCreateImage' lk.cpp:(.text+0x4cb): undefined reference to
cvCreateImage' lk.cpp:(.text+0x562): undefined reference to
cvAlloc' lk.cpp:(.text+0x587): undefined reference to
cvAlloc' lk.cpp:(.text+0x645): undefined reference to
cvAlloc' follow lk.o: In function
cvCalcOpticalFlowPyrLK' lk.cpp:(.text+0x78f): undefined reference to
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.
@feral913 Hello, could you please tell me how can solve this problem?I have the same problem.
use opencv 2.3
I also have this issue, have you solved it yet?
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 to
cvCreateImage' lk.cpp:(.text+0x19f): undefined reference tocvCreateImage' lk.cpp:(.text+0x1bc): undefined reference to
cvCreateImage' lk.cpp:(.text+0x1fa): undefined reference tocvGetRectSubPix' lk.cpp:(.text+0x20d): undefined reference to
cvGetRectSubPix' lk.cpp:(.text+0x221): undefined reference tocvMatchTemplate' lk.cpp:(.text+0x259): undefined reference to
cvReleaseImage' lk.cpp:(.text+0x262): undefined reference tocvReleaseImage' lk.cpp:(.text+0x26b): undefined reference to
cvReleaseImage' lk.o: In functionmexFunction': lk.cpp:(.text+0x301): undefined reference to
cvReleaseImage' lk.cpp:(.text+0x31b): undefined reference tocvReleaseImage' lk.o:lk.cpp:(.text+0x339): more undefined references to
cvReleaseImage' follow lk.o: In functionmexFunction': lk.cpp:(.text+0x445): undefined reference to
cvCreateImage' lk.cpp:(.text+0x462): undefined reference tocvCreateImage' lk.cpp:(.text+0x4cb): undefined reference to
cvCreateImage' lk.cpp:(.text+0x4e9): undefined reference tocvCreateImage' lk.cpp:(.text+0x562): undefined reference to
cvAlloc' lk.cpp:(.text+0x574): undefined reference tocvAlloc' lk.cpp:(.text+0x587): undefined reference to
cvAlloc' lk.cpp:(.text+0x63a): undefined reference tocvAlloc' lk.cpp:(.text+0x645): undefined reference to
cvAlloc' lk.o:lk.cpp:(.text+0x64d): more undefined references tocvAlloc' follow lk.o: In function
mexFunction': lk.cpp:(.text+0x6f9): undefined reference tocvCalcOpticalFlowPyrLK' lk.cpp:(.text+0x78f): undefined reference to
cvCalcOpticalFlowPyrLK' collect2: error: ld returned 1 exit status성공적으로 완료할 수 없습니다.
오류 발생: compile (line 77) eval(['mex lk.cpp -O' include lib]);
so I hope to know what is the problem. Thank you.