24小时热门版块排行榜    

查看: 715  |  回复: 2

best--zzz

新虫 (初入文坛)

[求助] libsvm安装的问题

问题如下,我按下面步骤安装libsvm出现错误,是什么原因?应该如何解决?求高手指点:
mex -setup
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n? n

Select a compiler:
[1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[2] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[3] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
[4] Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
[5] Microsoft Visual C++ 2005 SP1
[6] Microsoft Visual C++ 2008 Express
[7] Microsoft Visual C++ 2008 SP1
[8] Microsoft Visual C++ 2010
[9] Microsoft Visual C++ 2010 Express

[0] None

Compiler: 5

The default location for Microsoft Visual C++ 2005 SP1 compilers is C:\Program Files (x86)\Microsoft Visual Studio 8,
but that directory does not exist on this machine.  

Use C:\Program Files (x86)\Microsoft Visual Studio 8 anyway [y]/n? y

Please verify your choices:

Compiler: Microsoft Visual C++ 2005 SP1  
Location: C:\Program Files (x86)\Microsoft Visual Studio 8

Are these correct [y]/n? y

*****************************************************************************
  Error: Could not find the 64-bit compiler.  This may indicate that the  
         "X64 Compilers and Tools" is not installed.  To build 64-bit  
         MEX-files Microsoft Visual C++ 2005 requires that these tools are  
         installed properly.  
*****************************************************************************

***************************************************************************
  Warning: Support for Microsoft Visual C++ 2005 SP1 will be discontinued in a  
           future release, at which time new versions will be supported.  
           For a list of currently supported compilers see:  
           http://www.mathworks.com/support/compilers/current_release/
***************************************************************************

Trying to update options file: C:\Users\zhangxin\AppData\Roaming\MathWorks\MATLAB\R2010b\mexopts.bat
From template:              D:\MATLAB~2\bin\win64\mexopts\msvc80opts.bat

Done . . .

**************************************************************************
  Warning: The MATLAB C and Fortran API has changed to support MATLAB
           variables with more than 2^32-1 elements.  In the near future
           you will be required to update your code to utilize the new
           API. You can find more information about this at:
           http://www.mathworks.com/support ... /?solution=1-5C27B9
           Building with the -largeArrayDims option enables the new API.
**************************************************************************

>> make
  Error: Could not find the compiler "cl" on the DOS path.
         Use mex -setup to configure your environment properly.


  D:\MATLAB~2\BIN\MEX.PL: Error: Unable to locate compiler.

??? Error using ==> mex at 208
Unable to complete successfully.

Error in ==> make at 3
mex -O -c svm.cpp
回复此楼
把握此刻,计划未来
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

emanlee

木虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
best--zzz: 金币+5, ★★★很有帮助 2013-04-20 17:43:08
http://www.mathworks.cn/matlabce ... /view_thread/302730

This is a very strong indication that the compiler is not intalled
properly. Please try uninstalling the compiler and reinstalling it.

Be sure to pay attention to Note 6 bellow:
http://www.mathworks.com/support ... 2008a/win64.html#n6
2楼2013-04-19 15:21:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

best--zzz

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by emanlee at 2013-04-19 15:21:01
http://www.mathworks.cn/matlabcentral/newsreader/view_thread/302730

This is a very strong indication that the compiler is not intalled
properly. Please try uninstalling the compiler and reinstal ...

谢谢,我试试重装一下VS2010
把握此刻,计划未来
3楼2013-04-20 17:43:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 best--zzz 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 27博士 +7 锦鲤送福至 2026-11-10 7/350 2026-11-16 23:03 by Equinoxhua
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +4 uKOSCocCb6Fm 2026-11-12 10/500 2026-11-16 22:49 by Equinoxhua
[硕博家园] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +5 SX5mJmPWDfOO 2026-11-13 5/250 2026-11-16 13:40 by LrcgbaWjazY5
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 XJXMuRjD7cK7 2026-11-13 4/200 2026-11-16 13:29 by LrcgbaWjazY5
[论文投稿] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 XJXMuRjD7cK7 2026-11-13 4/200 2026-11-16 11:39 by K7HMGGdOpylw
[公派出国] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 uKOSCocCb6Fm 2026-11-12 7/350 2026-11-15 03:43 by xSrQNSSjcgoX
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 uKOSCocCb6Fm 2026-11-12 8/400 2026-11-15 02:26 by xSrQNSSjcgoX
[论文投稿] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 uKOSCocCb6Fm 2026-11-12 10/500 2026-11-15 02:15 by xSrQNSSjcgoX
[硕博家园] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 G2rhSvqvhNzl 2026-11-10 6/300 2026-11-15 00:27 by Equinoxhua
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 1Nb0IVlmV6v0 2026-11-11 4/200 2026-11-13 11:18 by Equinoxhua
[硕博家园] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +5 C6CRn66RYYXS 2026-11-10 9/450 2026-11-13 11:02 by Equinoxhua
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 TgvkbZZl9tqB 2026-11-11 6/300 2026-11-12 12:42 by ECLTXnJnRSXf
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 cdqGD6ftHmbl 2026-11-11 5/250 2026-11-12 12:28 by ECLTXnJnRSXf
[硕博家园] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 cdqGD6ftHmbl 2026-11-11 4/200 2026-11-12 12:26 by ECLTXnJnRSXf
[考博] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 Z7qfCsdIiD1T 2026-11-10 5/250 2026-11-12 11:25 by HajghKOMynmz
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +5 Z7qfCsdIiD1T 2026-11-10 8/400 2026-11-12 11:20 by HajghKOMynmz
[教师之家] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 Z7qfCsdIiD1T 2026-11-10 5/250 2026-11-12 11:14 by HajghKOMynmz
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +7 czAiolzR0IJC 2026-11-10 9/450 2026-11-12 11:00 by HajghKOMynmz
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 G2rhSvqvhNzl 2026-11-10 6/300 2026-11-12 10:38 by HajghKOMynmz
[教师之家] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 C6CRn66RYYXS 2026-11-10 8/400 2026-11-12 10:16 by HajghKOMynmz
信息提示
请填处理意见