关于Error: Can't compile duplicate declarations of entity "**" into library "work"的错误
来源:互联网 发布:linux cp rfp 编辑:程序博客网 时间:2024/06/05 16:10
今天做SEG7模块添加74138时,出现了Error: Can't compile duplicate declarations of entity "**" into library "work"。“**”是我的一个模块文件名,这个文件名同时有一个.bdf文件,还有一个.v文件。
其中.bdf文件是我为了加74138时新建的文件,存盘时我没有改默认文件名,所以出现和.v文件重名的问题。加.bdf文件前编译没有任何问题,但是加.bdf文件后就出现了开头提到的错误。开始不了解为什么,想了半天发现有重名文件,虽然后缀不同,但是个人认为还是不可以的,于是把.bdf改名,编译通过!
证实了错误原因就是重名文件做怪。
注意:同一个文件名只能代表一个模块,即 *.v文件和 *.bdf文件等不同扩展名的文件只能代表同一个模块,如果建立了其中一个改扩展名的文件就不能建立统一名称的其他扩展名的文件。
摘自:http://jrmen.org.ru/archives/21
- 关于Error: Can't compile duplicate declarations of entity "**" into library "work"的错误
- 关于Error: Can't compile duplicate declarations of entity "**" into library "work"的错误
- Q2:关于数组的解包错误 fatal error: Can't unwrap Optional
- ADB can't work
- mysql into outfile ERROR : Can't create/write to file
- 关于MYSQL Error:ERROR 1005 (HY000) at line 3: Can't create table '.\xx.frm'错误
- CentOS: error installing Netcdf, can't find the z library
- 警告: Can't transform property 'dispatchDirectory' from java.lang.String into com.bh.entity.DispatchDi
- 警告: Can't transform property 'dispatchDirectory' from java.lang.String into com.bh.entity.DispatchDi
- jenkins git can't work ERROR: Timeout after 10 minutes ERROR: Error fetching remote repo 'origin'
- Why can't I ...? Why won't ... work?" What to do in case of problems
- mysql 2014 error (2014) Commands out of sync; You can't run this command now命令不同步错误解决
- linux compile with error can't find a register in class 'GENERAL_REGS' while reloading 'asm'
- mysql:mysqlimport: Error: 13, Can't get stat of $path
- 解决mysqlimport: Error: 13, Can't get stat of
- Can't install via pip because of egg_info error
- MySQL使用中产生的Error:Can't create/write to file错误
- SVN的错误:Error: Can't connect to host '': 由于目标机器积极拒绝,无法连接。
- 动态控制log4j级数
- C#中TextBox实现换行
- https 写了一个数据返回类
- 【Cocos2d-x 状态机篇】第0章--木头学状态,一副自恋的姿态~
- textbook和richtextbox换行
- 关于Error: Can't compile duplicate declarations of entity "**" into library "work"的错误
- textbox和richtextbox换行问题
- 孙鑫Visual C++视频教程学习笔记:掌握C++
- 2-Objective-C 编程
- WIN7可用的VC6.0
- MSVCRTD.lib(crtexew.obj):error LNK2019:无法解析的外部符号WinMain@16,该符号在函数___tmainCRTStartup中被引用
- 又双叒叕 - 中国汉字的奇妙
- VS2008 LINK : fatal error LNK1000: Internal error during Inc
- 有关H264视频卡的情况如何解决