声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1353|回复: 0

[HHT] emd工具箱安装时出现的问题

[复制链接]
发表于 2011-12-18 21:27 | 显示全部楼层 |阅读模式

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

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

x
小弟刚接触HHT不久,用matlab R2009a 安装emd工具箱式出现了错误,请哪位兄弟帮忙解释下什么原因,万分感谢!!

lcc preprocessor error: cemdc.c:19 Could not find include file <complex.h>
Error cemdc.c: .\cio.h: 31  syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 31  skipping `*' `y'
Error cemdc.c: .\cio.h: 39  syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 39  skipping `*' `pointer'
Error cemdc.c: .\cio.h: 53  syntax error; found `*' expecting `)'
Error cemdc.c: .\cio.h: 53  skipping `*' `,'
Error cemdc.c: .\cio.h: 53  missing name for parameter 1 to function `add_imf'
Error cemdc.c: .\cio.h: 53  syntax error; found `int' expecting `{'
Error cemdc.c: .\cio.h: 53  empty declaration
Error cemdc.c: .\cio.h: 53  syntax error; found `)' expecting `;'
Error cemdc.c: .\cio.h: 53  skipping `)'
Error cemdc.c: .\cextr.h: 28  syntax error; found `*' expecting `)'
Error cemdc.c: .\cextr.h: 28  skipping `*' `,'
Error cemdc.c: .\cextr.h: 28  syntax error; found `double' expecting `;'
Error cemdc.c: .\cextr.h: 28  empty declaration
Error cemdc.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28  skipping `,'
Error cemdc.c: .\cextr.h: 28  empty declaration
Error cemdc.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28  too many errors

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

lcc preprocessor error: cemdc_fix.c:19 Could not find include file <complex.h>
Error cemdc_fix.c: .\cio_fix.h: 27  syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 27  skipping `*' `y'
Error cemdc_fix.c: .\cio_fix.h: 34  syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 34  skipping `*' `pointer'
Error cemdc_fix.c: .\cio_fix.h: 48  syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cio_fix.h: 48  skipping `*' `,'
Error cemdc_fix.c: .\cio_fix.h: 48  missing name for parameter 1 to function `add_imf'
Error cemdc_fix.c: .\cio_fix.h: 48  syntax error; found `int' expecting `{'
Error cemdc_fix.c: .\cio_fix.h: 48  empty declaration
Error cemdc_fix.c: .\cio_fix.h: 48  syntax error; found `)' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 48  skipping `)'
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cextr.h: 28  skipping `*' `,'
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `double' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28  empty declaration
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28  skipping `,'
Error cemdc_fix.c: .\cextr.h: 28  empty declaration
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28  too many errors

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

lcc preprocessor error: cemdc2.c:19 Could not find include file <complex.h>
Error cemdc2.c: .\cio.h: 31  syntax error; found `*' expecting `;'
Error cemdc2.c: .\cio.h: 31  skipping `*' `y'
Error cemdc2.c: .\cio.h: 39  syntax error; found `*' expecting `;'
Error cemdc2.c: .\cio.h: 39  skipping `*' `pointer'
Error cemdc2.c: .\cio.h: 53  syntax error; found `*' expecting `)'
Error cemdc2.c: .\cio.h: 53  skipping `*' `,'
Error cemdc2.c: .\cio.h: 53  missing name for parameter 1 to function `add_imf'
Error cemdc2.c: .\cio.h: 53  syntax error; found `int' expecting `{'
Error cemdc2.c: .\cio.h: 53  empty declaration
Error cemdc2.c: .\cio.h: 53  syntax error; found `)' expecting `;'
Error cemdc2.c: .\cio.h: 53  skipping `)'
Error cemdc2.c: .\clocal_mean2.h: 23  syntax error; found `*' expecting `)'
Error cemdc2.c: .\clocal_mean2.h: 23  skipping `*' `,'
Error cemdc2.c: .\clocal_mean2.h: 23  syntax error; found `double' expecting `;'
Error cemdc2.c: .\clocal_mean2.h: 23  redeclaration of `complex' previously declared at .\cio.h 53
Error cemdc2.c: .\clocal_mean2.h: 23  syntax error; found `*' expecting `;'
Error cemdc2.c: .\clocal_mean2.h: 23  illegal expression
Error cemdc2.c: .\clocal_mean2.h: 23  type error: pointer expected
Warning cemdc2.c: .\clocal_mean2.h: 23  Statement has no effect
Error cemdc2.c: .\clocal_mean2.h: 23  syntax error; found `double' expecting `;'
Error cemdc2.c: .\clocal_mean2.h: 23  too many errors

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

lcc preprocessor error: cemdc2_fix.c:19 Could not find include file <complex.h>
Error cemdc2_fix.c: .\cio_fix.h: 27  syntax error; found `*' expecting `;'
Error cemdc2_fix.c: .\cio_fix.h: 27  skipping `*' `y'
Error cemdc2_fix.c: .\cio_fix.h: 34  syntax error; found `*' expecting `;'
Error cemdc2_fix.c: .\cio_fix.h: 34  skipping `*' `pointer'
Error cemdc2_fix.c: .\cio_fix.h: 48  syntax error; found `*' expecting `)'
Error cemdc2_fix.c: .\cio_fix.h: 48  skipping `*' `,'
Error cemdc2_fix.c: .\cio_fix.h: 48  missing name for parameter 1 to function `add_imf'
Error cemdc2_fix.c: .\cio_fix.h: 48  syntax error; found `int' expecting `{'
Error cemdc2_fix.c: .\cio_fix.h: 48  empty declaration
Error cemdc2_fix.c: .\cio_fix.h: 48  syntax error; found `)' expecting `;'
Error cemdc2_fix.c: .\cio_fix.h: 48  skipping `)'
Error cemdc2_fix.c: .\clocal_mean2.h: 23  syntax error; found `*' expecting `)'
Error cemdc2_fix.c: .\clocal_mean2.h: 23  skipping `*' `,'
Error cemdc2_fix.c: .\clocal_mean2.h: 23  syntax error; found `double' expecting `;'
Error cemdc2_fix.c: .\clocal_mean2.h: 23  redeclaration of `complex' previously declared at .\cio_fix.h 48
Error cemdc2_fix.c: .\clocal_mean2.h: 23  syntax error; found `*' expecting `;'
Error cemdc2_fix.c: .\clocal_mean2.h: 23  illegal expression
Error cemdc2_fix.c: .\clocal_mean2.h: 23  type error: pointer expected
Warning cemdc2_fix.c: .\clocal_mean2.h: 23  Statement has no effect
Error cemdc2_fix.c: .\clocal_mean2.h: 23  syntax error; found `double' expecting `;'
Error cemdc2_fix.c: .\clocal_mean2.h: 23  too many errors

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

Warning: <complex.h> compiler extension not found. using ANSI C implementation (slower) instead for the following files:}
> In make_emdc at 41
  In install_emd at 26
cemdc.c
cemdc_fix.c
cemdc2.c
cemdc2_fix.c

Compilation successfull.

Some codes can run faster if they are compiled with a C compiler
that handles the C99 complex data type ("complex.h"). 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"
>>

本帖被以下淘专辑推荐:

回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-12-26 20:18 , Processed in 0.089580 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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