Getting error 5 when I try to flash a patch


#1

I just got my board today, and I'm trying to flash a demo patch to it, but I get this error code:

BDIR = C:\Users****\DOCUME~1\axoloti/build
FIRMWARE = .
process_begin: CreateProcess(C:\Users****\AppData\Local\Temp\make5984-1.bat, C:\Users****\AppData\Local\Temp\make5984-1.bat, ...) failed.
make (e=5): Access is denied.

make: *** [C:\Users****\DOCUME~1\axoloti/build/xpatch.h.gch] Error 5
shell task failed, exit value: 1
Compiling patch failed ( C:\Users****\Documents\axoloti\axoloti-factory\patches\demos\youtube\amon is broke.axp )

And ideas?

Edit: My computer properly recognizes my core, but it won't flash the patch.


#2

Did you install the Axoloti Runtime as described here?


#3

Yes. I followed them to a T. But I still get the same error.


#4

hmmm, is that a straight copy paste, or did you replace a normal directory name with the **** to protect your identity or something? That's fine, but changes the interpretation of the error code quite a bit. If it's a straight copy paste, Axoloti does not seem to find the location of your documents folder correctly.


#5

I put the asterixis in to replace my name. The original copy and paste has the actual folder.


#6

A couple of things to check.
- if you have a anti virus software , check its logs, and also exclude the Axoloti directories.
( there have been instances of anti virus not liking the files that are built by Axoloti, false positives)
- delete the build directory and try again

It seems to be finding the runtime and running make, but something in the setup is causing make to fail.