Skip to content
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

Invalid MEX-file: lk.mexw64: The specified module could not be found. #43

Open
ghost opened this issue Oct 19, 2013 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Oct 19, 2013

After following the installation instructions and running the compile.m successfully. I tried to run run_TLD.m and this error happens :

Invalid MEX-file 'C:\Users\myname\Documents\GitHub\OpenTLD\mex\lk.mexw64': The specified module could not be found.

Error in tldInit (line 20)
lk(0);

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

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

Please advise on this as I have search google and everything for help. The best I got was that that this will happen if I dont have the neccessary dlls that the mex file requires. Please help!!

Thanks

@the13thson
Copy link

I'm having the same issue. It seems that the way to do it is by using the 32-bit MATLAB, which has come up as a solution, but I'm not willing to accept that, and 32-bit MATLAB is refusing to install on my PC anyway :P. Will comment back here if I figure anything out.

I see this message was made 4 months ago. If you happened to figure it out, please get back to me asap. I'm using OpenTLD as a bridge for some of my research and would like to get it working properly and completely stable.

Much appreciated.

EDIT: So far I've come across a problem while using Dependency Walker, which shows that libmx.dll and libmex.dll seem to be missing out of the dependencies for lk.mexw64. I have found these files, but the *.lib versions of them, and do not know how to go about compiling them for this particular case. As it stands, there seems to be a way of applying it to a Linker Input of some kind through MSVC2010 and having it run through as part of the dependencies, but I have not been successful in this endeavour.

If anyone with more experience could help, it would be amazing.
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant