完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我是新的论坛,我遇到一个问题与MCC版本控制(GIT)。我在论坛上搜索,没有发现类似的问题。因此,我发布了一个新的线程来描述这个问题。请告诉我,如果我做错了什么,或者它是一个假警报。后台有Windows PC和Mac笔记本电脑,并设置Git版本控制的一个消亡项目。Git ReavicRead远程是在Bit Bu桶上,GitigNORE是从Microchip论坛上的帖子粘贴复制的。我创建了一个Mac上传到RPO的项目,当我试图继续在Windows上的工作并对MCC配置、问题集做一些修改时,我把克隆到我的Windows PC.上。MCC输出表示:手动差异/合并需要,但实际上所有的行都在所有生成的文件中移动。详情请参阅附图。如果我在Mac上编辑MCC,我在Windows上创建和编辑,它可以,但不是跨平台。所以可以在QualoSythyHPC.ZIP附件中找到,不能发布Git链接。McCopy.MC3和GiTigNoRE在其中。我已经上传了IDE日志文件和一些截图。希望有人可以查看这个,看看问题是什么。谢谢。系统INFooDePosi:好奇HPCMIC:PIC18F24K40MCCONTURCT.MC3生成:OSX 102.6MPLAB IDV4.01MCC V3.36XC81.44并修改:Windows 7MPLAB IDV4.01MCC V3.36XC81.44,渭源
QualoSythyHPC.Zip(149.44 KB)-下载33次 以上来自于百度翻译 以下为原文 Hi, I am new to the forum and I come to a problem with MCC with version control (GIT). I searched the forum and found no similar problem raised. Therefore I post a new thread to describe the issue. Please let me know if I did anything wrong or it is a false alARM. Background I have windows PC and a MAC laptop and setting up GIT version control for a evluating project. GIT reposity remote is on Bitbucket and .gitignore is copy pasted from a post on microchip forum. I created the project on MAC uploaded to repo and clone the repo onto my Windows PC. When i tried to continue my job on Windows and make some changes to MCC configuration, problem comes. Problem After I clicked generate button, contents in mcc_generated_files are removed. MCC output says: Manual diff/merge required, but actually all lines are moved in all generated files. Please see attached pictures for details. It is fine if I edit MCC on MAC and I tried vice versa, create and edit on Windows, it is ok, but not cross platform. So project can be found in attachment in Curiosity_HPC.zip, cannot post git links. McConfig.mc3 and .gitignore are in it. I've uploaded IDE log file and some screenshots as well. Hopefully some one can look into this and see what the problem is. Thanks. System Info DevBoard: Curiosity HPC Chip: PIC18F24K40 McConfig.mc3 generated on: OSX 10.12.6 MPLAB IDE v4.01 MCC v3.36 xc8 1.44 and modified on: Windows 7 MPLAB IDE v4.01 MCC v3.36 xc8 1.44 Regards, Weiyuan Attached Image(s) Attachment(s) MPLAB_IDE_Log.txt (228.27 KB) - downloaded 51 times Curiosity_HPC.zip (149.44 KB) - downloaded 33 times |
|
相关推荐
6个回答
|
|
|
对不起,我没有早点看到。我会让人看看你的附属项目,并把结果公布在这里。有时,当修改控制系统使文件只读或触摸文件时会发生奇怪的事情,但是合并在MCC中工作的方式,您不应该看到这样的事情。我最好的猜测是,运行MCC的用户拥有目录列表的权限,所以MCC可以看到文件,但是这个用户对文件有一定的访问限制。如果是这样的话,当我在我的机器上打开它时,这个项目会很好地工作,所以我们需要仔细看看你的设置。团队建设MCC使用Git,所以交互不太可能是由Git中正常的东西引起的。
以上来自于百度翻译 以下为原文 I am sorry I did not seen this earlier. I will have someone look at your attached project and post the results here. Sometimes strange things can happen when revision control systems make files read-only or touch files but the way the merge works in MCC you should never see something like this. My best guess would be that the user you are running MCC with has rights for directory listing so MCC can see the files, but that user has some access restriction on the files. If this is the case the project will work fine when I open it on my machine, so we will need to take a closer look at your setup. The team building MCC use Git so it is very unlikely that the interaction is caused by something normal in Git. |
|
|
|
|
|
|
|
|
|
|
|
谢谢你的回复和时间。如果我在Mac上创建了一个存储库并更新MCC,那就完全好了。当我在Windows上创建它并在Mac上克隆它,反之亦然。我检查了我克隆的项目的文件夹权限,我拥有完全的控制权,文件夹属性与其他项目文件夹相同。感觉好像与Git合并有关,它一直在说“成功”。手动差异/合并需要。“但没有合并发生。
以上来自于百度翻译 以下为原文 Cobusve, thanks for you reply and time. It is complete fine if I create a repository on Windows and update MCC after, on mac too. It happens when I create it on Windows and clone it on mac and vise versa. I checked folder permission on the project I cloned, I have full control and folder properties are the same as other project folders. Feel like something to do with git merge, it kept saying "Success. Manual diff/merge required.", but no merge happing. |
|
|
|
|
|
尝试NETBEUS LAF插件NETBESE。NETBUS插件也在MPLABX上工作。
以上来自于百度翻译 以下为原文 Try Darcular LAF plugin for netbeans. Netbeans plugins also work on MPLABX. |
|
|
|
|
|
Hi Wuu,这是MCC中的一个bug。MC3CONTION文件存储生成的文件名及其散列的映射,用于差异合并。问题在于,它存储了在Mac和Windows之间不同的相对文件名(例如:MCCGRONGATIONEXPROFIX文件MCC.H.V.MCCGEGROUDATIONXFILE /MCC.H)。当在被转移到其他OS的项目上需要一个差异合并时,它不能得到每个文件的哈希值,因为它期望一个文件。不同的文件名,然后存储在配置文件中,因此差异合并显示为空白。错误已经提交给MCC团队,并且应该在下一个版本中修复。现在,我唯一的解决方案是手动更改MC3配置文件(每次切换时)。操作系统)正确地打开项目。您需要更改在FieldFielHasHyryMyMype节中保存的相对文件名,根据您切换到的OS,更改-gt;///-& gt。
以上来自于百度翻译 以下为原文 Hi wzhu, This is a bug in MCC. The mc3 configuration file stores a map of the generated filenames and their hash for the diff merge. The problem is that it stores the relative filename, which is different between Macs and Windows (for example: mcc_generated_filesmcc.h vs. mcc_generated_files/mcc.h). When a diff merge is required on a project that was moved to the other OS, it cannot get the hash for each file since it expects a different filename then the one stored in the configuration file, so the diff merge is displayed as blank. The bug has been submitted to the MCC team and should be fix in their next release. For now, the only solution I have would be to manually change the mc3 configuration file (each time you switch the OS) to open the project correctly. You would need to change the relative filename saved in the generatedFileHashHistoryMap section, changing -> / or / -> depending on which OS you switch to. |
|
|
|
|
|
感谢卷心菜,我将坚持一个OS现在,期待下一个版本。
以上来自于百度翻译 以下为原文 Thanks Cabbage, I'll stick to one OS for now and looking forward to next release. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1124浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 06:02 , Processed in 0.834599 second(s), Total 82, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2449