-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem Compiling #44
Comments
Having the exact problem, and it's been eating at me for days. |
Hi, I manage to fix this problem myself. if isunix
disp('Unix');
include = ' -I/usr/local/include/opencv/ -I/usr/local/include/';
libpath = '/usr/local/lib/';
files = dir([libpath 'libopencv*.so']);
lib = [];
for i = 1:length(files),
lib = [lib ' -l' files(i).name];
end
lib=strrep(lib,'lib','')
lib=strrep(lib,'-lopencv_ca3d.so','')
eval(['mex lk.cpp -O' include lib]);
%eval(['mex -O lk.cpp' include '-lopencv_core -lopencv_imgproc']);
mex -O -c tld.cpp
mex -O fern.cpp tld.o
mex -O linkagemex.cpp
mex -O bb_overlap.cpp
mex -O warp.cpp
mex -O distance.cpp |
Greate!!! @Seraphli |
Thank you !! @Seraphli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can someone help me with this error? I'm trying to compile the program, but I'm getting this error. Hope someone can help me...
The text was updated successfully, but these errors were encountered: