OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 4322|回复: 5

EMCV 链接时的警告

[复制链接]
发表于 2009-4-12 16:10:16 | 显示全部楼层 |阅读模式
我把EMCV 的文件全加入我建的测试工程中(简单的图像读入),在链接是出现警告如下:
<Linking>
>> warning: missing DW_AT_name attribute
>> warning: function definitions in CSU declarations are not supported
是何原因?请于老师指点下?  多谢
回复

使用道具 举报

发表于 2009-4-12 17:19:00 | 显示全部楼层

EMCV 链接时的警告

我的也是这个问题,请帮忙解决啊
回复 支持 反对

使用道具 举报

发表于 2009-4-12 23:39:41 | 显示全部楼层

EMCV 链接时的警告

版本不说、平台不说、编译配置过程不说、就连错误信息都懒得贴全,那又何来的帮助或回答之言。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-13 14:49:26 | 显示全部楼层

EMCV 链接时的警告

版本不说、平台不说、编译配置过程不说、就连错误信息都懒得贴全,那又何来的帮助或回答之言。

不好意思! 谢谢提醒!
我的平台是dm6446     编译配置: -g -fr&quot;$(Proj_dir)\\Debug&quot; -i&quot;C:\\CCStudio_v3.3\\MyProjects\\test\\test\\trunk\\cv&quot; -i&quot;C:\\CCStudio_v3.3\\MyProjects\\test\\test\\trunk\\cvaux&quot; -i&quot;C:\\CCStudio_v3.3\\MyProjects\\test\\test\\trunk\\cxcore&quot; -d&quot;_DEBUG&quot; -mv6400  链接配置:-c -m&quot;.\\Debug\\test.map&quot; -o&quot;.\\Debug\\test.out&quot; -w -x
警告信息:
  1. &#91;Linking...&#93; &quot;C:\\CCStudio_v3.3\\C6000\\cgtools\\bin\\cl6x&quot; -@&quot;Debug.lkf&quot;
  2. <Linking>
  3. >> warning: missing DW_AT_name attribute
  4. >> warning: function definitions in CSU declarations are not supported
  5. >> warning: missing DW_AT_name attribute
  6. >> warning: function definitions in CSU declarations are not supported
  7. >> warning: missing DW_AT_name attribute
  8. >> warning: function definitions in CSU declarations are not supported
  9. >> warning: missing DW_AT_name attribute
  10. >> warning: function definitions in CSU declarations are not supported
  11. >> warning: missing DW_AT_name attribute
  12. >> warning: function definitions in CSU declarations are not supported
  13. >> warning: missing DW_AT_name attribute
  14. >> warning: function definitions in CSU declarations are not supported
  15. >> warning: missing DW_AT_name attribute
  16. >> warning: function definitions in CSU declarations are not supported
  17. >> warning: missing DW_AT_name attribute
  18. >> warning: function definitions in CSU declarations are not supported
  19. >> warning: missing DW_AT_name attribute
  20. >> warning: function definitions in CSU declarations are not supported
  21. >> warning: missing DW_AT_name attribute
  22. >> warning: function definitions in CSU declarations are not supported
  23. >> warning: missing DW_AT_name attribute
  24. >> warning: function definitions in CSU declarations are not supported
  25. >> warning: missing DW_AT_name attribute
  26. >> warning: function definitions in CSU declarations are not supported
  27. >> warning: missing DW_AT_name attribute
  28. >> warning: function definitions in CSU declarations are not supported
  29. >> warning: missing DW_AT_name attribute
  30. >> warning: function definitions in CSU declarations are not supported
  31. >> warning: missing DW_AT_name attribute
  32. >> warning: function definitions in CSU declarations are not supported
  33. >> warning: missing DW_AT_name attribute
  34. >> warning: function definitions in CSU declarations are not supported
  35. >> warning: missing DW_AT_name attribute
  36. >> warning: function definitions in CSU declarations are not supported
  37. >> warning: missing DW_AT_name attribute
  38. >> warning: function definitions in CSU declarations are not supported
  39. >> warning: missing DW_AT_name attribute
  40. >> warning: function definitions in CSU declarations are not supported
  41. >> warning: missing DW_AT_name attribute
  42. >> warning: function definitions in CSU declarations are not supported
  43. >> warning: missing DW_AT_name attribute
  44. >> warning: function definitions in CSU declarations are not supported
  45. >> warning: missing DW_AT_name attribute
  46. >> warning: function definitions in CSU declarations are not supported
  47. Build Complete,
  48.   0 Errors, 77 Warnings, 0 Remarks.
复制代码

希望不吝赐教!
回复 支持 反对

使用道具 举报

发表于 2009-4-13 20:49:08 | 显示全部楼层

EMCV 链接时的警告

这可能跟编译器版本有关,DW_AT_name是debug段的东西。
你可以试试:
1、去掉-g -d&quot;DEBUG&quot;之类跟debug版本有关的东西,直接编译release版本
2、有些编译器不认识void
回复 支持 反对

使用道具 举报

发表于 2009-8-14 21:44:33 | 显示全部楼层

EMCV 链接时的警告

555555
我也遇到这样的问题啊。怎么解决啊??
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-4-20 00:16 , Processed in 0.012064 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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