Problem compiling patches ('mode' is not recognized)


#1

Hello, I've been trying to get my Axoloti working again for the last couple of days without success.
Last time I used it, which would be a couple of months ago, it worked perfectly, but now it just gives this error whenever I attempt to click the 'Live' button on any patch.

Generate code complete
Start compiling patch
The screen cannot be set to the number of lines and columns specified.
BDIR = C:\Users*******\DOCUME~1\axoloti/build
FIRMWARE = .
'mode' is not recognized as an internal or external command,
operable program or batch file.
make: *** [C:\Users*******\DOCUME~1\axoloti/build/xpatch.h.gch] Error 255
shell task failed, exit value: 1
Compiling patch failed ( C:\Users*******\Documents\axoloti\axoloti-factory\patches\demos\synth\eclectric_piano.axp )

In an attempt to fix it, I've reinstalled the Axoloti firmware and the runtime a couple of times. I've also attempted googling the problem, but I couldn't seem to find anyone else with the 'mode' error.

Thanks for the help in advance :slight_smile:


#2

@Lysdal

I dont know if it will help but you could look into "Rescue mode" here:


#3

hmm, not an error Ive seen before, and cant really think what would cause it.

I'd have said it was an issue with the runtime, but if you have already re-installed that, then my next guess would be perhaps your anti-virus is either blocking something (in the runtime) or has quarantined something.
this we have seen a few times.

so check the anti-virus to see if its had a false positive on something in any of the axoloti directories,
and perhaps turn it off temporarily , run axoloti see if its works, then turn it back on again.

(as an outside chance, id also delete the build directory, to check theres not something weird going on with the precompiled header)

( no need to check rescue mode, unless the axoloti board is not connecting...)


#4

Hm.. none of that seemed to work.
The error changes depending on where I say the runtime directory is, could that be of help?
If I set it to
C:\Program Files (x86)\axoloti_runtime
it spits out the error I've shown you, but if I change it to
C:\Program Files (x86)\axoloti_runtime\platform_win
it gives this error instead.

Start compiling patch
The screen cannot be set to the number of lines and columns specified.
'make' is not recognized as an internal or external command,
operable program or batch file.
shell task failed, exit value: 1
Compiling patch failed ( E:\STORAGE\Documents\axoloti\patches\synth.axp )