Troubleshooting Exit Code 2 on VEXcode Pro V5

The VEX Visual Studio Code Extension has replaced VEXcode Pro V5, which is now end-of-life.

VEXcode Blocks and VEXcode Text remain actively developed and supported for all VEX platforms.

Make process closed with exit code 2 is generally a compilation/build error.


How to troubleshoot the make error 2:

  • Whenever you see the make process closed with exit code 2 error you can read the log in the output to see where the error is within your program. The Output can provide information on the following:
    • What row/column the error is in within the file
    • What the cause of the error is

Information from the Output:

  • What row/column the error is in within the file

Flowchart illustrating troubleshooting steps for V5 category issues, featuring decision points and actions to resolve common problems.

In the following example, the output is providing the information that there is an error on line (row) 20 column 30. This is shown as, “20:30.”

What the cause of the error is...

Screenshot illustrating troubleshooting steps for V5 category, featuring highlighted options and instructions for resolving common issues.

The output also provides information as to why the error is shown. A semicolon is missing after the expression, “Brain.Screen.print(“Hello”)”

Note: If you are running an older version of the VEXcode Pro V5 application, previous versions of VEXcode Pro V5 were allowing special characters in the filename or the project name.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: