编译安装TLD时出错

时间:2013-12-11 16:06:08

标签: visual-studio-2010 matlab opencv tld

我正在根据https://github.com/zk00006/OpenTLD/wiki/Installation

上显示的说明安装TLD申请

使用:

OpenCV 2.4.2

Matlab R2010b x 64bits

Win7 x 64

VS2010专业版

一切正常,直到我执行此步骤“6)在Matlab中,运行compile.m”

C:\Program Files\MATLAB\R2011b\extern\include\tmwtypes.h(821) : warning C4091: 'typedef ' : ignored on left of 'wchar_t' when no variable is declared 
**c:\program files\matlab\r2011b\extern\include\matrix.h(319) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int** 
lk.cpp(39) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(40) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(146) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(146) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(155) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(155) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(162) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 
lk.cpp(175) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 
lk.cpp(175) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 
lk.cpp(176) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 
lk.cpp(176) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 
lk.cpp(177) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 
lk.cpp(177) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 
C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: Compile of 'lk.cpp' failed. 

我搜索过很多网站,但无济于事。希望有人可以在这个问题上给我启发。非常感谢所有解决方案。

0 个答案:

没有答案