Fork me on GitHub

mex -setup

 1 >> mex -setup
 2  
 3 Welcome to mex -setup.  This utility will help you set up  
 4 a default compiler.  For a list of supported compilers, see  
 5 http://www.mathworks.com/support/compilers/R2012a/win64.html 
 6  
 7 Please choose your compiler for building MEX-files: 
 8  
 9 Would you like mex to locate installed compilers [y]/n? n
10  
11 Select a compiler: 
12 [1] Intel C++ 12.0 (with Microsoft Software Development Kit (SDK) linker) 
13 [2] Intel C++ 12.0 (with Microsoft Visual C++ 2008 SP1 linker) 
14 [3] Intel C++ 12.0 (with Microsoft Visual C++ 2010 linker) 
15 [4] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker) 
16 [5] Intel Visual Fortran 12 (with Microsoft Software Development Kit (SDK) linker) 
17 [6] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 SP1 linker) 
18 [7] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 Shell linker) 
19 [8] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2010 linker) 
20 [9] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker) 
21 [10] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker) 
22 [11] Microsoft Software Development Kit (SDK) 7.1 
23 [12] Microsoft Visual C++ 2005 SP1 
24 [13] Microsoft Visual C++ 2008 SP1 
25 [14] Microsoft Visual C++ 2010 
26  
27 [0] None 
28  
29 Compiler: 12
30  
31 Warning: The default location for Microsoft Visual C++ 2005 SP1 compiler is: 
32          "C:\Program Files (x86)\Microsoft Visual Studio 8" 
33          but either that directory does not exist or the configuration 
34          is invalid. 
35  
36 Use C:\Program Files (x86)\Microsoft Visual Studio 8 anyway [y]/n? n
37 Please enter the location of your compiler: [C:\Program Files (x86)\Microsoft Visual Studio 8] D:\Program Files (x86)\Microsoft Visual Studio 8
38  
39 Please verify your choices: 
40  
41 Compiler: Microsoft Visual C++ 2005 SP1  
42 Location: D:\Program Files (x86)\Microsoft Visual Studio 8 
43  
44 Are these correct [y]/n? Y
45  
46 *************************************************************************** 
47   Warning: Support for Microsoft Visual C++ 2005 SP1 will be discontinued in a  
48            future release, at which time new versions will be supported.  
49            For a list of currently supported compilers see:  
50            http://www.mathworks.com/support/compilers/R2012a/win64.html 
51 *************************************************************************** 
52  
53 ***************************************************************************** 
54   Error: Could not find the 64-bit compiler.  This may indicate that the  
55          "X64 Compilers and Tools" is not installed.  To build 64-bit  
56          MEX-files Microsoft Visual C++ 2005 requires that these tools are  
57          installed properly.  
58 ***************************************************************************** 
59  
60 Error using mex (line 206)
61 Unable to complete successfully.
>> mex -setup

 

posted @ 2015-10-12 10:58  小奔奔  阅读(243)  评论(0编辑  收藏  举报