zk00006 / OpenTLD

OpenTLD is an open source library for real-time 2D tracking of a single object in video. This repository is no longer under development. For latest version see: http://www.tldvision.com/tld2.html
GNU General Public License v3.0
2.1k stars 1.27k forks source link

??? Undefined function or method 'lk' for input arguments of type 'double' on windows 7. #32

Open wajihullahbaig opened 12 years ago

wajihullahbaig commented 12 years ago

??? Undefined function or method 'lk' for input arguments of type 'double'.

Error in ==> tldInit at 20 lk(0);

Error in ==> tldExample at 34 tld = tldInit(opt,[]); % train initial detector and initialize the 'tld' structure

Error in ==> run_TLD at 42 [bb,conf] = tldExample(opt);

I get the above error. Tried to follow a few fixes but none worked. Can some one help? I have installed Win7 x64 OpenCV 2.3.1 Matlab 2011 R2011a VS 2010 - But using VC comiler 9.0 when selecting compilers from MATLAB using mex -setup

I have followed all the installation instructions. This seems to happen right after double clicking inside the bounding box.

Any solution would be helpful Thanks

oxm commented 11 years ago

you should finish compiling first.

ggwp-zz commented 11 years ago

I have same issue, what do mean finish compiling first? I am very new to this.

wajihullahbaig commented 11 years ago

You must make sure that all the OpenCV.Matlab paths are correct. Plus use Matlab32 bit instead of 64, the compiler fails to build the C/C++ functions. You will need a 32 bit C/C++ compiler selected by mex options.

On Mon, Dec 10, 2012 at 9:49 PM, ggwp notifications@github.com wrote:

I have same issue, what do mean finish compiling first? I am very new to this.

— Reply to this email directly or view it on GitHubhttps://github.com/zk00006/OpenTLD/issues/32#issuecomment-11211467.