小海豚zc
发表于 2014-12-23 12:00
请问楼主,我在运行mbuild -setup时出错
Would you like mbuild to locate installed compilers /n? y
No supported SDK or compiler was found on this computer.
For a list of supported compilers, see 。。。
然后我尝试
Would you like mbuild to locate installed compilers /n? n
Select a compiler:
Microsoft Software Development Kit (SDK) 7.1
Microsoft Visual C++ 6.0
Microsoft Visual C++ 2008 SP1
Microsoft Visual C++ 2010
Microsoft Visual C++ 2012
None
Warning: The default location for Microsoft Visual C++ 2012 compiler is:
"C:\Program Files (x86)\Microsoft Visual Studio 11.0"
but either that directory does not exist or the configuration
is invalid.
Use C:\Program Files (x86)\Microsoft Visual Studio 11.0 anyway /n? y
Please verify your choices:
Compiler: Microsoft Visual C++ 2012
Location: C:\Program Files (x86)\Microsoft Visual Studio 11.0
Are these correct /n? y
*****************************************************************************
Error: Microsoft Visual C++ 2012 requires the Microsoft Windows Software
Development Kit (SDK), but the SDK cannot be found.Examine your
Microsoft Visual C++ 2012 installation.
*****************************************************************************
Error using mbuild (line 189)
Unable to complete successfully.
上面的五个都试过,错误是差不多是一样的
请问这是什么原因??怎么解决
chybeyond
发表于 2014-12-23 14:14
小海豚zc 发表于 2014-12-23 12:00
请问楼主,我在运行mbuild -setup时出错
Would you like mbuild to locate installed compilers /n? y
...
重装一下vs2010
小海豚zc
发表于 2014-12-23 18:48
chybeyond 发表于 2014-12-23 14:14
重装一下vs2010
我把vc++2012卸载了,重装了2010.还是一样的问题。但是我卸载了 select a complier里边还是有2010和2012的选项
我的matlab是2013a
chybeyond
发表于 2014-12-23 19:43
小海豚zc 发表于 2014-12-23 18:48
我把vc++2012卸载了,重装了2010.还是一样的问题。但是我卸载了 select a complier里边还是有2010和2012 ...
选择y
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers /n? y
Select a compiler:
Microsoft Software Development Kit (SDK) 7.1 in D:\Microsoft Visual Studio 10.0
Microsoft Visual C++ 2010 in D:\Microsoft Visual Studio 10.0
None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2010
Location: D:\Microsoft Visual Studio 10.0
Are these correct /n?
小海豚zc
发表于 2014-12-23 20:39
chybeyond 发表于 2014-12-23 19:43
选择y
Please choose your compiler for building MEX-files:
您说的是运行mex -setup的情况,我的错误是在运行第一个mbuild -setup就出现了,
我又用比vc++2008更老的版本试了下,好多failed,但是最后done了,能调用emd,不知道这样是不是说明可以用了,也不清楚这样算的结果对不对?
HHT
发表于 2014-12-27 21:35
zhlong.ys168.com
jerry0204103
发表于 2015-1-29 15:03
没整明白啊!~~~~~~~
周文静
发表于 2015-3-17 16:05
谢谢啦,终于安装成功了。我觉得mex(’-DC99_OK‘,args(:))应该改为mex(args{:}),最后那个应该是运行install_emd而不是install_emd.m
duncon
发表于 2015-3-27 14:17
MARK一下,正在研究怎么安装