Problem with code compiling

Hello, @jpearman !
I got strange issue in VEXcode V5 Text: it can’t create some program files.

The system cannot find the path specified.
make: *** [vex/mkrules.mk:11: build/src/main.o] Error 1
[error]: make process closed with exit code : 2

I tried to compile empty code without any setups.
What should I do to fix it?

cut and paste the contents of the Output tab here, then we can see what the error is that’s causing make to exit.

1 Like

[info]: Project Path: D:\Robot

[info]: Saving Project …

[info]: Project saved!

windows build for platform vexv5

The system cannot find the path specified.

make: *** [vex/mkrules.mk:11: build/src/main.o] Error 1

[error]: make process closed with exit code : 2

@jpearman can you help me with it?

I can’t really tell much from that other than your project is on the D drive, perhaps try moving back to default settings and try again. Was this ever working ? Is it a personal or school managed computer ?

2 Likes

@jpearman , I tried to choose default settings, but it didn’t help. This is a personal computer.

I tried to block antivirus program, I tried to use admin rights to open it and I tried to reinstall it. All of it wasn’t useful.

When I made VERBOSE = 1, I got one more string:
md “build/src” 2> nul || :

I hope it might will useful.

The only compiler error I have came up with was similar to that. After a couple hours of coding, it would give me this. I asked a college mentor if he had seen this before and told me to just restart the computer and that would fix it. Sure enough, it did.

1 Like