24小时热门版块排行榜    

查看: 551  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料与化工考研调剂 +3 孅華 2026-03-22 3/150 2026-03-23 11:20 by barlinike
[考研] 070300化学求调剂 +5 苑豆豆 2026-03-20 5/250 2026-03-23 09:39 by guoliang1816
[考研] 291求调剂 +5 孅華 2026-03-22 5/250 2026-03-23 09:20 by haoshis
[考研] 070300,一志愿北航320求调剂 +3 Jerry0216 2026-03-22 5/250 2026-03-23 09:16 by 。。堂堂
[考研] 一志愿070300浙大化学358分,求调剂! +4 酥酥鱼.. 2026-03-21 4/200 2026-03-23 08:12 by Iveryant
[考研] 求调剂 +6 十三加油 2026-03-21 6/300 2026-03-22 17:00 by i_cooler
[考研] 306求调剂 +5 来好运来来来 2026-03-22 5/250 2026-03-22 16:17 by BruceLiu320
[考研] 材料与化工(0856)304求B区调剂 +3 邱gl 2026-03-20 7/350 2026-03-21 19:05 by 15709483992
[考研] 求调剂 +3 13341 2026-03-20 3/150 2026-03-21 18:28 by 学员8dgXkO
[考研] 307求调剂 +3 余意卿 2026-03-18 3/150 2026-03-21 17:31 by ColorlessPI
[考研] 求调剂 +3 .m.. 2026-03-21 4/200 2026-03-21 16:25 by barlinike
[考研] 316求调剂 +6 梁茜雯 2026-03-19 6/300 2026-03-21 06:32 by Ecowxq666!
[考研] 初始318分求调剂(有工作经验) +3 1911236844 2026-03-17 3/150 2026-03-21 02:33 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 295求调剂 +4 一志愿京区211 2026-03-18 6/300 2026-03-20 23:41 by JourneyLucky
[考研] 材料与化工 322求调剂 +4 然11 2026-03-19 4/200 2026-03-20 22:12 by luoyongfeng
[考研] 一志愿西南交通 专硕 材料355 本科双非 求调剂 +5 西南交通专材355 2026-03-19 5/250 2026-03-20 21:10 by JourneyLucky
[考研] 材料学硕318求调剂 +5 February_Feb 2026-03-19 5/250 2026-03-19 23:51 by 23Postgrad
[考研] 085600材料与化工调剂 324分 +10 llllkkkhh 2026-03-18 12/600 2026-03-19 14:33 by llllkkkhh
[考研] 286求调剂 +6 lemonzzn 2026-03-16 10/500 2026-03-19 14:31 by lemonzzn
信息提示
请填处理意见