Compiling Older Projects

Sometimes, when trying to run example projects, you may encounter the following error:

 This just means that the project is using an older version of the compiler that isn't compatible with your (likely newer) version. To fix this, right-click on the project and select "Properties". You will see the window below.

Under "Compiler version", click on the dropdown menu and choose the most recent up-to-date compiler. In the screenshot below, the most up-to-date one is TI v20.2.2.LTS.

Next, choose the "Products" tab. This will show all of the product development kits that are used for this project.

The screenshot above shows that this project uses a "SimpleLink Academy" SDK. For the scope of this class, we will not be using the SimpleLink Academy SDK, so we can safely remove it by clicking on the "com.ti.SIMPLELINK_ACADEMY_MSP432SDK" product and selecting "Remove".

And just as an extra precaution, we should update the SDK version that we are currently using. Choose the "SimpleLink MSP432P4 SDK" product and click "Edit..." You will see the pop-up window below.

Choose your compiler version in the right-side dropdown menu, then press OK. Your products window will look similar to this:

Once everything looks good, select "Apply and Close" and attempt to compile your project again.