声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 3852|回复: 1

[HHT] install HHT toolbox 的惨痛

[复制链接]
发表于 2008-9-1 12:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我的过程是这样的,虽然是有报错误的:

>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications:

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

Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2008a\sys\lcc
[2] Microsoft Visual C++ 6.0 in D:\Program Files\Microsoft Visual Studio C++\MSDev98

[0] None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C++ 6.0
Location: D:\Program Files\Microsoft Visual Studio C++\MSDev98

Are these correct [y]/n? y
Warning: MBUILD requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'D:\Program Files\Microsoft Visual Studio C++\MSDev98'.)
Trying to update options file: C:\Documents and Settings\zzj\Application Data\MathWorks\MATLAB\R2008a\compopts.bat
From template:             C:\PROGRA~1\MATLAB\R2008a\bin\win32\mbuildopts\msvc60compp.bat

Done . . .

>>  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] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2008a\sys\lcc\bin
[2] Microsoft Visual C++ 6.0 in D:\Program Files\Microsoft Visual Studio C++\MSDev98

[0] None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C++ 6.0
Location: D:\Program Files\Microsoft Visual Studio C++\MSDev98

Are these correct [y]/n? y
Warning: MEX requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'D:\Program Files\Microsoft Visual Studio C++\MSDev98'.)
Trying to update options file: C:\Documents and Settings\zzj\Application Data\MathWorks\MATLAB\R2008a\mexopts.bat
Fromtemplate:             C:\PROGRA~1\MATLAB\R2008a\bin\win32\mexopts\msvc60opts.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/solutions/data/1-5C27B9.html?solution=1-5C27B9
           Building with the -largeArrayDims option enables the new API.
**************************************************************************

>>  install_emd
cemdc.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc.c(19) : fatalerror C1083: Cannot open include file: 'complex.h': No such file ordirectory

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio.c(121) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc_fix.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc_fix.c(19) :fatal error C1083: Cannot open include file: 'complex.h': No such fileor directory

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc_fix.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio_fix.c(104) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc2.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc2.c(19) : fatalerror C1083: Cannot open include file: 'complex.h': No such file ordirectory

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio.c(121) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2_fix.c
C:\ProgramFiles\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cemdc2_fix.c(19) :fatal error C1083: Cannot open include file: 'complex.h': No such fileor directory

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

cemdc2_fix.c
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\cio_fix.c(104) : warning C4018: '!=' : signed/unsigned mismatch
C:\Program Files\MATLAB\R2008a\toolbox\package_emd\EMDs\src\clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

  C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

Warning: The compilation of the following files failed:
> In make_emdc at 48
  In install_emd at 26
cemdc.c
cemdc_fix.c
cemdc2.c
cemdc2_fix.c
Some errors occurred during compilation. See details above.
Installation complete. Run index_emd for a list of functions.
IMPORTANT: After running INSTALL_EMD you must run the "savepath" command to save the installation
but be careful that if you previously removed parts of the path (using e.g. the "rmpath" command)
these will be permanently removed after you run "savepath"
>>

我装了7.1matlab,vc++6.0,系统说没有complex.h,我看了,的却没有。我估计可能是vc版本太高,就没有这个文件,但是大家都是用的vc++6.0我怎么就出错了呢?
请大家给些建议。
我想很多板油也有同感吧
有板油说只要add toolbox到matlab 的directionary里面,但是这么做能够完整么?
回复
分享到:

使用道具 举报

发表于 2008-9-1 16:10 | 显示全部楼层
老问题,一直没有解决
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-17 04:44 , Processed in 0.061192 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表