编译器貌似是正常了,问题还是在啊
> mbuild -setup
Welcome to mbuild -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2012b/win64.html
Please choose your compiler for building shared libraries or COM components:
Would you like mbuild to locate installed compilers [y]/n? y
Select a compiler:
[1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[2] Microsoft Visual C++ 2012 in C:\Program Files (x86)\Microsoft Visual Studio 11.0
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2012
Location: C:\Program Files (x86)\Microsoft Visual Studio 11.0
Are these correct [y]/n? y
****************************************************************************
Warning: Applications/components generated using Microsoft Visual C++
2012 require that the Microsoft Visual Studio 2012 run-time
libraries be available on the computer used for deployment.
To redistribute your applications/components, be sure that the
deployment machine has these run-time libraries.
****************************************************************************
Trying to update options file: C:\Users\Dell\AppData\Roaming\MathWorks\MATLAB\R2012b\compopts.bat
From template: C:\PROGRA~1\MATLAB\R2012b\bin\win64\mbuildopts\msvc110compp.bat
Done . . .
>> make
Microsoft (R) Incremental Linker Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\Dell\AppData\Local\Temp\mex_xGCGHf\libsvmread.obj
LINK : fatal error LNK1181: 无法打开输入文件“kernel32.lib”
C:\PROGRA~1\MATLAB\R2012B\BIN\MEX.PL: Error: Link of 'libsvmread.mexw64' failed.
If make.m fails, please check README about detailed instructions.