64位matlab mex64位编译器解决方案

安装libsvm的时候用到了mex -setup,有的会报

Could not find the 64-bit compiler. This may indicate that the

"X64 Compilers and Tools" or the Microsoft Windows Software

Development Kit (SDK) is not installed.

解决方法:

检查自己的vs2008(matlab 2013a支持到vs2012)中的64位编译器是否安装。

重新打开vs2008的setup.exe,选择添加删除功能,在vc++中选择64位编译器,安装后即可通过,其他版本的vs也应该是这么处理的