我正在尝试用MATLAB R2015a在Windows864位上设置vlfeat 0.9.20。
我安装了Microsoft Windows SDK7.1,并运行了mex -setup,似乎找到了正确的SDK。
但是当我运行vl_compile;时,我得到了以下错误:
vl_compile: assuming that Visual C++ is the active compiler
vl_compile: compiling for PCWIN64 (64 bit)
MEX C:\Users\Name\Documents\MATLAB\Tools\vlfeat-0.9.20\toolbox\aib\vl_aib.c
Building with 'Microsoft Windows SDK 7.1 (C)'.
Error using mex
'mt' is not recognized as an internal or external command,
operable program or batch file.
Error in vl_compile (line 140)
mex(cmd{:}) ;如何修复此错误?
谢谢!
发布于 2016-01-07 14:41:17
对于几乎相同的设置(就版本而言),我也遇到了同样的问题。
在安装Windows SDK7.1时,您必须确保选择安装“工具”的选项,以便进行本机或.NET开发。

在我的例子中,我已经完成了头文件、编译器和可再发行包的最小安装,因为我以前只使用它来构建Python包。
https://stackoverflow.com/questions/32063591
复制相似问题