声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 3315|回复: 18

[HHT] 关于EMD程序安装的问题

[复制链接]
发表于 2008-3-25 15:24 | 显示全部楼层 |阅读模式

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

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

x
我运行>> install_emd 后出现如下的错误。

请问这是什么缘故?
是找不到C编译器的缘故吗?

真诚请教,这个程序该如何使用。

[fenge]错误信息[/fenge]

cemdc.c
cemdc.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc.c
clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc_fix.c
cemdc_fix.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc_fix.c
clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc2.c
cemdc2.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2.c
clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2_fix.c
cemdc2_fix.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

  D:\MATLAB71\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

cemdc2_fix.c
clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

  D:\MATLAB71\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.
回复
分享到:

使用道具 举报

发表于 2008-3-25 15:40 | 显示全部楼层
你的MATLAB版本是多少?低于7.0吗?

如果足够的话 按照http://forum.vibunion.com/forum/thread-40562-1-33.html这个帖子的安装办法安装
 楼主| 发表于 2008-3-25 15:42 | 显示全部楼层
我的Matlab的版本是高于7.0的。
我先按照您提供的帖子看看能不能解决我的问题。

谢谢你了,这么快就回复了我。
 楼主| 发表于 2008-3-25 15:45 | 显示全部楼层
我的Matlab运行不了mbuild -setup这个指令。

这是不是我的版本不对?
发表于 2008-3-25 15:52 | 显示全部楼层

回复 4楼 的帖子

报错了?怎么显示的错误提示?
 楼主| 发表于 2008-3-25 15:57 | 显示全部楼层
本帖最后由 wdhd 于 2016-9-12 14:07 编辑
原帖由 zhangnan3509 于 2008-3-25 15:52 发表
报错了?怎么显示的错误提示?

是这样的错误:

>> mbuild -setup
??? Undefined command/function 'mbuild'.
发表于 2008-3-25 16:08 | 显示全部楼层

回复 6楼 的帖子

这就奇怪了。我的显示是这样的
mbuild -setup
Please choose your compiler for building standalone MATLAB applications:

Would you like mbuild to locate installed compilers [y]/n?
楼上输入命令的格式正确吗?
发表于 2008-3-25 16:59 | 显示全部楼层
本帖最后由 wdhd 于 2016-9-12 14:07 编辑
原帖由 dailiangren 于 2008-3-25 15:57 发表


是这样的错误:

>> mbuild -setup
??? Undefined command/function 'mbuild'.

matlab 是完整安装吗
 楼主| 发表于 2008-3-25 19:38 | 显示全部楼层
我现在重新安装一下matlab试试。
发表于 2008-3-25 19:40 | 显示全部楼层

回复 9楼 的帖子

如果仅仅做一维的EMD,用2005版就可以没必要安装
 楼主| 发表于 2008-3-25 21:44 | 显示全部楼层
我在网络上搜索了下,并且用vc++试验了下,据说是因为vc++里面不包含complex库,所以如果是vc编译器就不行了。
发表于 2008-4-5 18:50 | 显示全部楼层
我也遇到这个问题
发表于 2008-4-5 19:04 | 显示全部楼层

回复 12楼 的帖子

我没遇见过这样的情况,是不是VC++版本的问题
 楼主| 发表于 2008-4-6 10:35 | 显示全部楼层

回复 13楼 的帖子

嗯,说是缺少complex库文件。

我想可能是某个能支持复数运算的类吧,可能vc 6.0里头没有包含。
发表于 2008-4-7 13:24 | 显示全部楼层
不过好像不影响程序的运行,我做过
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-9-22 12:49 , Processed in 0.060074 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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