lixiaolong08 发表于 2011-12-18 21:27

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

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

lcc preprocessor error: cemdc.c:19 Could not find include file <complex.h>
Error cemdc.c: .\cio.h: 31syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 31skipping `*' `y'
Error cemdc.c: .\cio.h: 39syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 39skipping `*' `pointer'
Error cemdc.c: .\cio.h: 53syntax error; found `*' expecting `)'
Error cemdc.c: .\cio.h: 53skipping `*' `,'
Error cemdc.c: .\cio.h: 53missing name for parameter 1 to function `add_imf'
Error cemdc.c: .\cio.h: 53syntax error; found `int' expecting `{'
Error cemdc.c: .\cio.h: 53empty declaration
Error cemdc.c: .\cio.h: 53syntax error; found `)' expecting `;'
Error cemdc.c: .\cio.h: 53skipping `)'
Error cemdc.c: .\cextr.h: 28syntax error; found `*' expecting `)'
Error cemdc.c: .\cextr.h: 28skipping `*' `,'
Error cemdc.c: .\cextr.h: 28syntax error; found `double' expecting `;'
Error cemdc.c: .\cextr.h: 28empty declaration
Error cemdc.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28skipping `,'
Error cemdc.c: .\cextr.h: 28empty declaration
Error cemdc.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28too 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: 27syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 27skipping `*' `y'
Error cemdc_fix.c: .\cio_fix.h: 34syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 34skipping `*' `pointer'
Error cemdc_fix.c: .\cio_fix.h: 48syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cio_fix.h: 48skipping `*' `,'
Error cemdc_fix.c: .\cio_fix.h: 48missing name for parameter 1 to function `add_imf'
Error cemdc_fix.c: .\cio_fix.h: 48syntax error; found `int' expecting `{'
Error cemdc_fix.c: .\cio_fix.h: 48empty declaration
Error cemdc_fix.c: .\cio_fix.h: 48syntax error; found `)' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 48skipping `)'
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cextr.h: 28skipping `*' `,'
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `double' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28empty declaration
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28skipping `,'
Error cemdc_fix.c: .\cextr.h: 28empty declaration
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28too 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: 31syntax error; found `*' expecting `;'
Error cemdc2.c: .\cio.h: 31skipping `*' `y'
Error cemdc2.c: .\cio.h: 39syntax error; found `*' expecting `;'
Error cemdc2.c: .\cio.h: 39skipping `*' `pointer'
Error cemdc2.c: .\cio.h: 53syntax error; found `*' expecting `)'
Error cemdc2.c: .\cio.h: 53skipping `*' `,'
Error cemdc2.c: .\cio.h: 53missing name for parameter 1 to function `add_imf'
Error cemdc2.c: .\cio.h: 53syntax error; found `int' expecting `{'
Error cemdc2.c: .\cio.h: 53empty declaration
Error cemdc2.c: .\cio.h: 53syntax error; found `)' expecting `;'
Error cemdc2.c: .\cio.h: 53skipping `)'
Error cemdc2.c: .\clocal_mean2.h: 23syntax error; found `*' expecting `)'
Error cemdc2.c: .\clocal_mean2.h: 23skipping `*' `,'
Error cemdc2.c: .\clocal_mean2.h: 23syntax error; found `double' expecting `;'
Error cemdc2.c: .\clocal_mean2.h: 23redeclaration of `complex' previously declared at .\cio.h 53
Error cemdc2.c: .\clocal_mean2.h: 23syntax error; found `*' expecting `;'
Error cemdc2.c: .\clocal_mean2.h: 23illegal expression
Error cemdc2.c: .\clocal_mean2.h: 23type error: pointer expected
Warning cemdc2.c: .\clocal_mean2.h: 23Statement has no effect
Error cemdc2.c: .\clocal_mean2.h: 23syntax error; found `double' expecting `;'
Error cemdc2.c: .\clocal_mean2.h: 23too 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: 27syntax error; found `*' expecting `;'
Error cemdc2_fix.c: .\cio_fix.h: 27skipping `*' `y'
Error cemdc2_fix.c: .\cio_fix.h: 34syntax error; found `*' expecting `;'
Error cemdc2_fix.c: .\cio_fix.h: 34skipping `*' `pointer'
Error cemdc2_fix.c: .\cio_fix.h: 48syntax error; found `*' expecting `)'
Error cemdc2_fix.c: .\cio_fix.h: 48skipping `*' `,'
Error cemdc2_fix.c: .\cio_fix.h: 48missing name for parameter 1 to function `add_imf'
Error cemdc2_fix.c: .\cio_fix.h: 48syntax error; found `int' expecting `{'
Error cemdc2_fix.c: .\cio_fix.h: 48empty declaration
Error cemdc2_fix.c: .\cio_fix.h: 48syntax error; found `)' expecting `;'
Error cemdc2_fix.c: .\cio_fix.h: 48skipping `)'
Error cemdc2_fix.c: .\clocal_mean2.h: 23syntax error; found `*' expecting `)'
Error cemdc2_fix.c: .\clocal_mean2.h: 23skipping `*' `,'
Error cemdc2_fix.c: .\clocal_mean2.h: 23syntax error; found `double' expecting `;'
Error cemdc2_fix.c: .\clocal_mean2.h: 23redeclaration of `complex' previously declared at .\cio_fix.h 48
Error cemdc2_fix.c: .\clocal_mean2.h: 23syntax error; found `*' expecting `;'
Error cemdc2_fix.c: .\clocal_mean2.h: 23illegal expression
Error cemdc2_fix.c: .\clocal_mean2.h: 23type error: pointer expected
Warning cemdc2_fix.c: .\clocal_mean2.h: 23Statement has no effect
Error cemdc2_fix.c: .\clocal_mean2.h: 23syntax error; found `double' expecting `;'
Error cemdc2_fix.c: .\clocal_mean2.h: 23too 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"
>>
页: [1]
查看完整版本: emd工具箱安装时出现的问题