Troubleshooting Exit Code 2 on VEXcode Pro V5

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

20-30.png

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...

pasted_image_0__1_.png

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: