24小时热门版块排行榜    

Znn3bq.jpeg
查看: 571  |  回复: 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的回帖

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的回帖
查看全部 3 个回答

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[论文投稿] 急需审稿人!!! +3 陆小果画大饼 2026-04-21 3/150 2026-04-21 23:54 by jzy_123456
[考博] 申博/考博 +4 啃面包的小书虫 2026-04-17 8/400 2026-04-21 16:26 by 啃面包的小书虫
[考研] 一志愿A区211,22408 321求调剂 +7 随心所欲☆ 2026-04-15 8/400 2026-04-21 08:22 by Equinoxhua
[考研] 295分求调剂 +6 ?要上岸? 2026-04-17 6/300 2026-04-21 08:18 by Equinoxhua
[考研] 085600材料与化工调剂 5+3 孜孜不倦2002 2026-04-19 6/300 2026-04-20 21:25 by babero
[论文投稿] 期刊推荐 +3 材料研究生 2026-04-15 5/250 2026-04-20 16:02 by 豆豆7758
[论文投稿] 有没有接收比较快的sci期刊呀,最好在一个月之内的,研三孩子求毕业 20+4 之护着 2026-04-16 7/350 2026-04-20 15:45 by 豆豆7758
[考研] 337求调剂 +3 jyz04 2026-04-18 3/150 2026-04-20 12:24 by 研可安
[考博] 申博 +3 Xyyx. 2026-04-18 3/150 2026-04-20 10:44 by YuY66
[考博] 湖南大学刘巧玲课题组2026年第二批次博士研究生招生信息 +3 南风观火 2026-04-18 5/250 2026-04-20 10:13 by 南风观火
[考研] 294求调剂 +8 淡然654321 2026-04-17 9/450 2026-04-19 19:51 by Equinoxhua
[考研] 求调剂 +10 小聂爱学习 2026-04-16 12/600 2026-04-19 16:51 by 中豫男
[考研] 求调剂 +6 苦命人。。。 2026-04-18 7/350 2026-04-19 16:27 by 中豫男
[考研] 294求调剂 +15 淡然654321 2026-04-15 15/750 2026-04-19 08:20 by cuisz
[考研] 0854求调剂 +23 门路摸摸 2026-04-15 27/1350 2026-04-19 01:59 by 烟雨流涯
[考研] 300求调剂 +12 橙a777 2026-04-15 12/600 2026-04-18 23:51 by 路病情
[考研] 接受任何调剂 +6 也就是栗子 2026-04-17 7/350 2026-04-18 17:20 by 涵竹刘
[考研] 收到复试调剂但是去不了 +8 小蜗牛* 2026-04-16 8/400 2026-04-18 11:15 by zixin2025
[考研] 260求调剂 +4 Zyt1314520.. 2026-04-17 5/250 2026-04-18 08:28 by babysonlkd
[考研] 急需调剂 +9 绝不放弃22 2026-04-15 10/500 2026-04-18 08:09 by chixmc
信息提示
请填处理意见