• AVR Freaks

MPLAB X IDE Cannot Find XC32 Toolchain

Author
KE6FV
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2008/11/16 11:25:58
  • Location: 0
  • Status: offline
2018/01/04 14:42:22 (permalink)
0

MPLAB X IDE Cannot Find XC32 Toolchain

I installed MPLAB X Version 4.05 and the XC32 Compiler Version 1.44 on a Windows 7 system and it seemed to function correctly.  However, I had to uninstall and reinstall both software packages.  (After uninstalling the packages, I deleted any references to them from the registry.)  Upon starting the MPLAB X IDE, a window is displayed that states that no suitable compilers could be found on my system.  One of the steps to fix the problem is to add the compilers to the PATH variable.  I examined the SYSTEM PATH variable and discovered that the installer for the XC32 added the following to the PATH variable; "C:\Program Files (x86)\Microchip\xc32\v1.44\bin;".  (I added the same path to the USER PATH variable.)  I would think that this should be sufficient for the IDE to find the compilers.
 
I also tried to add the compilers using the Tools->Options->Embedded->Build Tools->Add window in the IDE.  When I enter the "C:\Program Files (x86)\Microchip\xc32\v1.44\bin" path in the Base Directory field, the IDE does not think that the directory contains any compilers!!
 
I have been working with a broad variety of development tools (including Atmel Studio, TI Code Composer, IAR Workbench, etc.) for over 40 years and I have yet to encounter this kind of problem. 
 
Any suggestions would be greatly appreciated.
 
   

Steven A. Stark
#1

5 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 19148
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: MPLAB X IDE Cannot Find XC32 Toolchain 2018/01/04 16:21:56 (permalink)
    0
    What Device is selected?
    What happens if you create a project using a PIC32?
     
    I assume you installed it with proper Admin Rights?
    #2
    KE6FV
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2008/11/16 11:25:58
    • Location: 0
    • Status: offline
    Re: MPLAB X IDE Cannot Find XC32 Toolchain 2018/01/05 10:08:32 (permalink)
    0
    I used File->New Project->Microchip Embedded->Standalone Project to create a new project and specified a PIC32MX130F128H as the device.  However, I can't get by the Hardware window because I don't have any programmer/debugger currently connected to my system.
     
    I verified that the Security settings for the IDE and the XC32 have Administrator rights with all of the permissions allowed so that should not be the problem.
     
    Any other ideas?
    #3
    RISC
    Super Member
    • Total Posts : 5983
    • Reward points : 0
    • Status: offline
    Re: MPLAB X IDE Cannot Find XC32 Toolchain 2018/01/05 11:10:17 (permalink)
    0
    Hi,
    I'm not sure why you "played" with the registry / path / ...
    Make sure when you install the compiler to check the box "add path to environment"
    The only time where the compiler was not detected, I just had to to push scan :
    Tools > Options > Embedded > Build Tools > Scan for build tools (button)
    Regards
    #4
    NKurzman
    A Guy on the Net
    • Total Posts : 19148
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: MPLAB X IDE Cannot Find XC32 Toolchain 2018/01/05 11:35:24 (permalink)
    0
    So in the Project Properties window "Compiler Toolchains" has no entries?
    #5
    annapolis
    Administrator
    • Total Posts : 1809
    • Reward points : 0
    • Status: offline
    Re: MPLAB X IDE Cannot Find XC32 Toolchain 2018/01/09 13:56:04 (permalink)
    0
    "However, I can't get by the Hardware window because I don't have any programmer/debugger currently connected to my system."
     
    Select Simulator to get to next Select Compiler screen.
    You can change Project Properties when you have HW.
    #6
    Jump to:
    © 2021 APG vNext Commercial Version 4.5