Error -1073741701, make process closed with exit code : 2

I continuously got this error:

build for platform vexv5
“CXX src/main.cpp”
make: *** [vex/mkrules.mk:13: build/src/main.o] Error -1073741701
[error]: make process closed with exit code : 2

After asking for help on the vex discord, I was told to also edit the makefile and setting VERBOSE to 1. This is the result:

[info]: Saving Project …
[info]: Project saved!
windows build for platform vexv5
md “build/src” 2> nul || :
“CXX src/main.cpp”
clang -target thumbv7-none-eabi -fshort-enums -Wno-unknown-attributes -U__INT32_TYPE__ -U__UINT32_TYPE__ -D__INT32_TYPE__=long -D__UINT32_TYPE__=‘unsigned long’ -march=armv7-a -mfpu=neon -mfloat-abi=softfp -Os -Wall -Werror=return-type -fno-rtti -fno-threadsafe-statics -fno-exceptions -std=gnu++11 -ffunction-sections -fdata-sections -DVexV5 -Iinclude -I"C:\Program Files (x86)\VEX Robotics\VEXcode Pro V5\sdk/vexv5/include" -I"C:\Program Files (x86)\VEX Robotics\VEXcode Pro V5\sdk/vexv5/clang/8.0.0/include" -I"C:\Program Files (x86)\VEX Robotics\VEXcode Pro V5\sdk/vexv5/gcc/include" -I"C:\Program Files (x86)\VEX Robotics\VEXcode Pro V5\sdk/vexv5/gcc/include/c++/4.9.3" -I"C:\Program Files (x86)\VEX Robotics\VEXcode Pro V5\sdk/vexv5/gcc/include/c++/4.9.3/arm-none-eabi/armv7-ar/thumb" -c -o build/src/main.o src/main.cpp
make: *** [vex/mkrules.mk:13: build/src/main.o] Error -1073741701
[error]: make process closed with exit code : 2

Still have not fixed. Any help?

any chance you are using Windows 11 ?
did this just stop working ? does a new project build ?

1 Like

Yes, I am using windows 11 Version 21H2

No, it stopped building a few days ago, but i have no clue what caused this

No, a new project does not build at all. I tested this on another computer by sending them a zip of the code and it works fine for them but doesn’t work for me.

Try deleting and re-downloading VEXCode. Make sure you save your code.

I tried this to no avail :frowning:

Still no fixes :frowning:
20 char

It could just be windows 11 as windows 11 still has several issues that need to be fixed with it.

1 Like