0

我正在尝试在 Windows 8 64 位上使用 MATLAB R2015a 设置 vlfeat 0.9.20。

我安装了 Microsoft Windows SDK 7.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{:}) ;

我该如何解决这个错误?

谢谢 !

4

1 回答 1

3

对于几乎相同的设置(就版本而言),我遇到了同样的问题。

安装 Windows SDK 7.1 时,您必须确保选择为本地或 .NET 开发安装“工具”的选项。

Windows SDK 7.1 的安装选项

就我而言,我已经完成了头文件、编译器和可再发行组件的最小安装,因为我以前只使用它来构建 Python 包。

于 2016-01-07T06:41:16.853 回答