英文:
IAR Embedded Workbench
问题
尝试打开一个已在另一台电脑上创建的IAR项目(我在另一台电脑上创建的),想要在我的电脑上打开这个项目文件。在尝试打开时,显示:无法打开项目(项目名称及其位置)。
有办法能够打开吗?我见过有些人能够做到,但我尝试时无法成功。
我尝试打开文件,但无法成功。
英文:
I am trying to open an already created project in IAR (I created it on another computer) and want to open the project file in my own computer. When trying to open it, it says: The project (name of the project with the locations) could not be opened.
Is there a way to be able to open it? I have seen some people do that but when I try it does not work.
I have tried to open the file and it does not work
答案1
得分: 1
IAR项目对创建它们的IDE版本非常敏感。
如果不使用相同的IDE版本:
- 新er的IDE版本将提供升级现有的“project.ewp”并自动创建“Backup of project.ewp”,如果项目受版本控制,则可能是不必要的。
- 早期的IDE版本将拒绝打开在较新IDE版本上保存的项目。EWP格式与IDE紧密相关,不向后兼容。
在最坏的情况下,项目文件是一个XML文件,您可以打开并尝试从中提取一些可读信息,比如文件上次保存的版本。但是,信息的大部分已编码到IDE的内部工作中,据我所知,关于这些神秘选项实际上可能意味着什么,目前没有公开的规范。
英文:
IAR projects are very sensitive to the IDE version in which they are created.
If not using the same IDE version:
- A newer IDE version will offer to upgrade an existing "project.ewp" and automatically create a "Backup of project.ewp", which might be unnecessary if the project is under version control.
- An earlier IDE version will refuse to open a project last saved on a newer IDE version. The EWP format is tightly tied to the IDE and, it is not backward compatible.
In the worst case the project file is a XML file which you can open and try to extract some human-readable information from there, such as the last version in which the file was saved. However a significant part of the information is encoded to the IDE inner workings and, as far as I know, there is no open specification about what such cryptic options might actually mean.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论