Installing MPLAB® XC32++ Compiler

1 Download MPLAB® XC32 Installer


Download the installer appropriate to your operating system.

2 Run the Installer

Choose your operating system from the tabs below:

1

Run Installer

WinInstall.png

Go to the location where you downloaded the installer. Unzip the downloaded file and run the installer:
xc32-vX.XX-windows-installer.exe.

Depending on your Windows security settings, you may get a window asking if you are sure you want to run this program. AnswerYes.

2

Setup

ClickNext >.

install1.png
Click image to enlarge.

3

Accept License Agreement

Click on the radio button next to "I accept the agreement".

ClickNext >.

install2.png
Click image to enlarge.

4

Choose Installer

If you are installing the compiler for use on your machine only, click on the radio button next to "Install compiler".

If you have a network license and are installing on a server, click on the radio button next to "Install the Network License Server".

ClickNext >.

install3.png
Click image to enlarge.

5

Installation Type

If you are not using a network license server, leave this unchecked. Otherwise, check the box and provide the name of the network license server.

ClickNext >.

install4.png
Click image to enlarge.

6

Installation Directory

Use the default installation location, or choose a different one if you prefer.

ClickNext >.

install5.png
Click image to enlarge.

7

Compiler Settings

  • "Apply settings to all users of this machine"
    • Leave checked or uncheck if required in your environment
  • "Add XC32 to the PATH environment variable"
    • Not generally required unless you plan to use XC32 from the command line (terminal or script)


ClickNext >.

install6.png
Click image to enlarge.

8

Ready to Install Compiler

ClickNext >.

install7.png
Click image to enlarge.

9

Setup

Wait while the installer unpacks and installs all the files.

install8.png
Click image to enlarge.

10

Licensing Information

If you want to use the C++ compiler, click on the link for a free XC32++ license. This will unlock the C++ features of XC32.

If you:

  • Have activated a license on a previous version of MPLAB XC32
  • Wish to use the free version of the compiler (some optimization features disabled)

simply clickNext >.

Otherwise, choose to:

  • Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features)
  • Use the Pro evaluation version (reverts to free version after 60 days)
  • Provide an activation key.


ClickNext >.

install9.png
Click image to enlarge.

11

Installation Complete

ClickFinish.

install10.png
Click image to enlarge.

1

Run Installer

You may need to make the file executable. In a terminal, go to the directory where you downloaded the installer and run the command:

chmod u+x xc32-vX.XX-linux-installer.run


Then as root or usingsudo, run the installer:

sudo ./xc32-vX.XX-linux-installer.run

2

Setup

ClickNext >.

install1.png
Click image to enlarge.

3

Accept License Agreement

Click on the radio button next to "I accept the agreement".

ClickNext >.

install2.png
Click image to enlarge.

4

Choose Installer

If you are installing the compiler for use on your machine only, click on the radio button next to "Install compiler".

If you have a network license and are installing on a server, click on the radio button next to "Install the Network License Server".

ClickNext >.

install3.png
Click image to enlarge.

5

Installation Type

If you are not using a network license server, leave this unchecked. Otherwise, check the box and provide the name of the network license server.

ClickNext >.

install4.png
Click image to enlarge.

6

Installation Directory

Use the default installation location, or choose a different one if you prefer.

ClickNext >.

install5.png
Click image to enlarge.

7

Compiler Settings

  • "Apply settings to all users of this machine"
    • Leave checked or uncheck if required in your environment.


ClickNext >.

install6.png
Click image to enlarge.

8

Ready to Install Compiler

ClickNext >.

install7.png
Click image to enlarge.

9

Setup

Wait while the installer unpacks and installs all the files.

install8.png
Click image to enlarge.

10

Licensing Information

If you want to use the C++ compiler, click on the link for a free XC32++ license. This will unlock the C++ features of XC32.

If you:

  • Have activated a license on a previous version of MPLAB XC32.
  • Wish to use the free version of the compiler (some optimization features disabled).

simply clickNext >.

Otherwise, choose to:

  • Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features).
  • Use the Pro evaluation version (reverts to free version after 60 days).
  • Provide an activation key.


ClickNext >.

install9.png
Click image to enlarge.

11

Installation Complete

ClickFinish.

install10.png
Click image to enlarge.

1

Run Installer

MacInstall.png

Go to the location where you downloaded the installer. Double click on the downloaded file to unpack it and run the installer:
xc32-vX.XX-osx.app.

You may get a warning message window. You can click onOpen to continue.

install0.png
Click image to enlarge.

Your computer's login and password need to be entered if you have enabled that protection for new installations. If you don't have a password enabled you can just click onOK to continue.

install0a.png
Click image to enlarge.

2

Setup

ClickNext >.

install1.png
Click image to enlarge.

3

Accept License Agreement

Click on the radio button next to "I accept the agreement".

ClickNext >.

install2.png
Click image to enlarge.

4

Choose Installer

If you are installing the compiler for use on your machine only, click on the radio button next to "Install compiler".

If you have a network license and are installing on a server, click on the radio button next to "Install the Network License Server".

ClickNext >.

install3.png
Click image to enlarge.

5

Installation Type

If you are not using a network license server, leave this unchecked. Otherwise, check the box and provide the name of the network license server.

ClickNext >.

install4.png
Click image to enlarge.

6

Installation Directory

Use the default installation location, or choose a different one if you prefer.

ClickNext >.

install5.png
Click image to enlarge.

7

Compiler Settings

  • "Add XC32 to the PATH environment variable"
    • Not generally required unless you plan to use XC32 from the command line (terminal or script).


ClickNext >.

install6.png
Click image to enlarge.

8

Ready to Install Compiler

ClickNext >.

install7.png
Click image to enlarge.

9

Setup

Wait while the installer unpacks and installs all the files.

install8.png
Click image to enlarge.

10

Licensing Information

If you:

  • Have activated a license on a previous version of MPLAB XC32.
  • Wish to use the free version of the compiler (some optimization features disabled).

simply clickNext >.

Otherwise, choose to:

  • Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features).
  • Use the Pro evaluation version (reverts to free version after 60 days).
  • Provide an activation key.


ClickNext >.

install9.png
Click image to enlarge.

11

Installation Complete

ClickFinish.

install10.png
Click image to enlarge.