Impossibile to compile any patches (Windows 10)


#1

Can't compile any of my patches, even the ones loaded as startup, but the axoloti keeps working, just impossible to compile any patches on my computer examples and tutorials included.
It happened suddenly with no specific reason or particular stuff installed on my machine.
Can't figure out.

USB device found
connected
Authentic Axoloti Core
search path : objects
Rx paramchange patch null0 -134.217.728
Rx paramchange patch null1 0
Rx paramchange patch null2 0
Rx paramchange patch null3 0
Rx paramchange patch null4 0
Rx paramchange patch null5 0
Rx paramchange patch null6 15.728.640
Rx paramchange patch null7 -134.217.728
Rx paramchange patch null8 83.886.080
Rx paramchange patch null9 83.886.080
Rx paramchange patch null10 0
Rx paramchange patch null11 0
Rx paramchange patch null12 0
Rx paramchange patch null13 0
Rx paramchange patch null14 -134.217.728
Rx paramchange patch null15 44.040.192
Rx paramchange patch null16 3.145.728
Rx paramchange patch null17 69.206.016
Rx paramchange patch null18 0
Rx paramchange patch null20 1
Rx paramchange patch null21 1
Rx paramchange patch null22 1
Rx paramchange patch null23 1
Rx paramchange patch null24 1
Rx paramchange patch null25 1
Rx paramchange patch null26 1
Rx paramchange patch null27 1
Rx paramchange patch null28 1
Rx paramchange patch null29 1
Rx paramchange patch null30 1
Rx paramchange patch null31 1
Rx paramchange patch null32 1
Rx paramchange patch null33 1
Rx paramchange patch null34 1
Rx paramchange patch null35 1
Firmware version: 1.0.0.1, crc=0xD510CB0B, entrypoint=0x20011000
finished loading objects
Saving preferences...
preferences path : C:\Users\Utente\Documents\axoloti\axoloti.prefs
Generate code complete
Start compiling patch
BDIR = C:\Users\Utente\DOCUME~1\axoloti/build
FIRMWARE = .
"RM"
rm -f C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.o C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.elf C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.bin C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.d C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.map C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.lst
"APP"
arm-none-eabi-g++ -nostdlib -fno-exceptions -fno-rtti -mcpu=cortex-m4 -O3 -fomit-frame-pointer -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wunused-parameter -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB -std=c++11 -DARM_MATH_CM4 -D__FPU_PRESENT -H -IC:\PROGRA~2\Axoloti\app/CMSIS/Include -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/common/ARMCMx/CMSIS/include -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/common/ARMCMx -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/GCC/ARMCMx -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/GCC/ARMCMx/STM32F4xx -IC:\PROGRA~2\Axoloti\app/chibios/os/kernel/include -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/include -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32F4xx -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/GPIOv2 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/I2Cv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/OTGv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/RTCv2 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/SPIv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/TIMv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/USARTv1 -IC:\PROGRA~2\Axoloti\app/chibios/boards/ST_STM32F4_DISCOVERY -IC:\PROGRA~2\Axoloti\app/chibios/ext/fatfs/src -I. -IC:\PROGRA~2\Axoloti\app/chibios -Winvalid-pch -MD -MP --include C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.h -c C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.cpp -o C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.o
process_begin: CreateProcess(NULL, arm-none-eabi-g++ -nostdlib -fno-exceptions -fno-rtti -mcpu=cortex-m4 -O3 -fomit-frame-pointer -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wunused-parameter -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB -std=c++11 -DARM_MATH_CM4 -D__FPU_PRESENT -H -IC:\PROGRA~2\Axoloti\app/CMSIS/Include -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/common/ARMCMx/CMSIS/include -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/common/ARMCMx -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/GCC/ARMCMx -IC:\PROGRA~2\Axoloti\app/chibios/os/ports/GCC/ARMCMx/STM32F4xx -IC:\PROGRA~2\Axoloti\app/chibios/os/kernel/include -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/include -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32F4xx -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/GPIOv2 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/I2Cv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/OTGv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/RTCv2 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/SPIv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/TIMv1 -IC:\PROGRA~2\Axoloti\app/chibios/os/hal/platforms/STM32/USARTv1 -IC:\PROGRA~2\Axoloti\app/chibios/boards/ST_STM32F4_DISCOVERY -IC:\PROGRA~2\Axoloti\app/chibios/ext/fatfs/src -I. -IC:\PROGRA~2\Axoloti\app/chibios -Winvalid-pch -MD -MP --include C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.h -c C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.cpp -o C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.o, ...) failed.
make (e=2): Impossibile trovare il file specificato.

make: *** [C:\Users\Utente\DOCUME~1\axoloti/build/xpatch.bin] Error 2
shell task failed, exit value: 1
Compiling patch failed ( C:\Users\Utente\Desktop\Axol_1.3.axp )


#2

no problems on Os X, patches compile successfully, so I think it is a Windows10 related problem. Any idea?


#3

A quick guess, if this happened suddenly, maybe a virus-scanner decided to quarantine the arm-none-eabi-g++ executable? It should be in C:\Program Files (x86)\axoloti_runtime\platform_win\bin
Could you re-install the axoloti runtime?


#4

Solved...it was AVG, thanks johannes!


#5

Please send a complaint to AVG, it's not nice that they're mis-classifying the gcc compiler...


#6

installed today and I am getting this on win 10 Home, version 1803 when trying to run a factory demo:

Patch contains invalid net! tri_1:pitch
Generate code complete
Start compiling patch
BDIR = C:\Users\Jurgen\DOCUME~1\axoloti/build
FIRMWARE = .
RM
APP
! C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.h.gch
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:41:2: error: #error "unresolved object: null in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: null in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:79:2: error: #error "unresolved object: *c_2 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: *c_2 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:132:2: error: #error "unresolved object: null in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: null in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:134:2: error: #error "unresolved object: null in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: null in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:136:2: error: #error "unresolved object: tri_2 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: tri_2 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:138:2: error: #error "unresolved object: mux_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: mux_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:140:2: error: #error "unresolved object: *c_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: *c_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:142:2: error: #error "unresolved object: out_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: out_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:144:2: error: #error "unresolved object: scope_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
#error "unresolved object: scope_1 in patch: C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp"
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp: In member function 'void rootc::dsp()':
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:514:6: error: 'net0' was not declared in this scope
net0;
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:515:6: error: 'net1' was not declared in this scope
net1;
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:518:6: error: 'net4' was not declared in this scope
net4;
^
C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.cpp:520:6: error: 'net6' was not declared in this scope
net6;
^
make: *** [C:\Users\urgent\DOCUME~1\axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 1
Compiling patch failed ( C:\Users\urgent\Documents\axoloti\axoloti-factory\patches\demos\aliasing\triangle oscillator.axp )

I have checked the bin and the gcc compiler seems to be in there.

Axoloti version : 1.0.12-2-0-g60a2f99 build time : 08/04/2018 20:20:07 CEST
Link to firmware CRC E95BAC96

seems that uninstalling and reinstalling fixed it
could it be that I had this problem, because I ran the msi before unzipping the runtime?


#7

looks like either that particular patch is corrupted, or the library download has failed.

try another demo patch,
if that fails, reset the all libraries (make sure you have an internet connection) in preferences
(allowing it to delete the libraries)


#8

yes, I tried clicking Reset All in preferences and that deleted all the demo patches, but they weren't downloaded again.

repairing the install didn't work either.

uninstalling and reinstalling did.

I wonder if it happened, because I installed before I unzipped the run time.

Is there a dependency there?