Microchip
直播中

刘斌

7年用户 252经验值
私信 关注
[问答]

MPLAB-X 3.55无法识别XC16编译器

我正在从事一个老项目(来自MPLAB-8),但现在在MPLAB-X 3.55。它使用C30 VE 3.31工具链,它工作,现在我想尝试,如果改变到XC16将工作。我已经收集到C30不再被保存,所以将来必须使用XC16。但是当我打开Project属性并查看编译器工具链窗格时,我看到了:XC16(没有找到)我在X:StudioMicrochip xC16V1.31文件夹中安装了XC16(我在一周前安装它)。GC30编译器是在C:StudioMicrochip  MPLABC30v3.31中,为什么MPLAB-X找不到XC16?????

以上来自于百度翻译


      以下为原文

    I am working on an older project (from MPLAB-8) but now in MPLAB-X 3.55. It uses the C30 ver 3.31 tool chain.
It works and now I want to try if changing to XC16 will work. I have gathered that C30 is no longer maintained so for the future one has to use XC16.

But when I open the project properties and look at the Compiler Toolchain pane I see this:
XC16 (None found)


I do have XC16 installed (I installed it a week ago) in folder C:ProgramsMicrochipxc16v1.31
The working C30 compiler is in C:ProgramsMicrochipmplabc30v3.31

Why does MPLAB-X not find XC16????

回帖(12)

李兆峰

2019-4-1 14:56:59
有时你必须“重说”(即……)说服他:)XC16安装在MPLABX窗格的某个地方…

以上来自于百度翻译


      以下为原文

    Sometimes you have to "re-tell" (i.e. ... convince him :) ) that a XC16 is installed, somewhere in the MPLABX panes...
举报

刘琴

2019-4-1 15:04:47
我已经查看了我可以想象的每个MPLAB-X角落,我找不到刷新编译器列表的地方…实际上我只看到了在项目属性中列出的编译器(右键单击一个项目并选择属性)。E:在Windows 7启动按钮程序列表中,我可以导航到XC16“文件夹”,只找到“卸载xC16”作为捷径……确实很奇怪。

以上来自于百度翻译


      以下为原文

    I have looked in every MPLAB-X corner I can imagine and there is nowhere I can find a place to refresh the compiler list...
In fact I see the compilers listed only in the project properties (right-click a project and select Properties).
But as stated above all I can see is this stupid "Not found".
Like this:
 

 
And in Windows7 Start button Programs list I can navigate to the XC16 "folder" and find only "Uninstall XC16" as a shortcut...
Very strange indeed.
举报

陈晨

2019-4-1 15:11:41
卸载它并重新安装它,所有版本都在MPLAB关闭。

以上来自于百度翻译


      以下为原文

    Uninstall it and Install it again with All versions on Mplab Closed.
举报

刘琴

2019-4-1 15:18:24
为了检查我启动了MPLAB 8.84,我的最后一个项目出现了。在MPLAB 8中有菜单项来选择工具套件并设置工具套件的位置。但是XC16 1.31(上星期刚安装的一个)已经在这个环境中存在,而我不需要做任何事情。ST可以通过在语言工具选择框中选择它来切换它。这真的让我吃惊,在这种情况下MPLAB-X如何不知道编译器…卸载和重新安装有什么好处?在MPLAB-X中是否要求编译器安装在“C:程序文件”下面?这是我的系统开发工具中的NO!在MPLAB-X上存储编译器位置的确切位置是什么?编辑:我在我的计算机上查看了注册表,发现:HKEY-CurrTyAuth[SufficeMicrochip  LoalGotoOsLxC16]这里写的是XC16的当前位置,所以信息肯定是存在的!为什么MPLAB-X不把它捡起来?

以上来自于百度翻译


      以下为原文

    In order to check I started MPLAB 8.84 and my last project appeared there.
In MPLAB 8 there are menu items to select the tool suite and to set the location of a tool suite.
But XC16 1.31 (the one I just installed last week) is already present in this environment without me having to do anything, I just can switch the project to it by selecting it in the language tool selection box.
It really beats me how MPLAB-X in such a situation can be unaware of the compiler...
What good would uninstalling and re-installing do?
 
Is there a requirement in MPLAB-X that the compiler is installed below "C:Program Files"?
That is a no-no in my system for development tools!
 
Where exactly is the compiler locations stored on MPLAB-X?
EDIT:
I looked in the Registry on my computer and found this:
HKEY_CURRENT_USERSoftwareMicrochipLanguageToolsXC16
Here is written the current location of XC16, so the information is for sure present!
Why does MPLAB-X not pick it up?
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分