MATLAB libsvm安装 make问题
mex-setupPleasechooseyourcompilerforbuildingexternalinterface(MEX)files:Wouldyoulikem...
mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Digital Visual Fortran version 6.0 in C:\Program Files\Microsoft Visual Studio
[2] Lcc C version 2.4 in D:\MATLAB\sys\lcc
[3] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 3
Please verify your choices:
Compiler: Microsoft Visual C/C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio
Are these correct?([y]/n): y
Try to update options file: C:\Users\wmy\Application Data\MathWorks\MATLAB\R14\mexopts.bat
From template: D:\MATLAB\BIN\WIN32\mexopts\msvc60opts.bat
Done . . .
>>
>>
>>
>>
D:\MATLAB\BIN\WIN32\MEX.PL: Error: 'CFLAGS=\$CFLAGS -std=c99' not found.
If make.m failes, please check README about detailed instructions.
>> make
D:\MATLAB\BIN\WIN32\MEX.PL: Error: 'CFLAGS=\$CFLAGS -std=c99' not found.
If make.m failes, please check README about detailed instructions.
>> make
??? Undefined function or variable 'make'.
>> 展开
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Digital Visual Fortran version 6.0 in C:\Program Files\Microsoft Visual Studio
[2] Lcc C version 2.4 in D:\MATLAB\sys\lcc
[3] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 3
Please verify your choices:
Compiler: Microsoft Visual C/C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio
Are these correct?([y]/n): y
Try to update options file: C:\Users\wmy\Application Data\MathWorks\MATLAB\R14\mexopts.bat
From template: D:\MATLAB\BIN\WIN32\mexopts\msvc60opts.bat
Done . . .
>>
>>
>>
>>
D:\MATLAB\BIN\WIN32\MEX.PL: Error: 'CFLAGS=\$CFLAGS -std=c99' not found.
If make.m failes, please check README about detailed instructions.
>> make
D:\MATLAB\BIN\WIN32\MEX.PL: Error: 'CFLAGS=\$CFLAGS -std=c99' not found.
If make.m failes, please check README about detailed instructions.
>> make
??? Undefined function or variable 'make'.
>> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询