Make Process Closed with Exit Code 2 - VEXcode Text

Make process closed with exit code 2 is generally a compilation/build error. The following article will cover:

  • How to troubleshoot the make error 2
  • Information from the Output

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

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

20-30.png

  • What the cause of the error is

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

pasted_image_0__1_.png

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