Can't record to table


#1

I'm trying to record some audio to table but patch can't compile:

Generate code complete
Start compiling patch
BDIR = C:\Users\Kuzma\DOCUME~1\axoloti/build
FIRMWARE = .
"RM"
rm -f C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.o C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.elf C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.bin C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.d C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.map C:\Users\Kuzma\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. -Winvalid-pch -MD -MP --include C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.h -c C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.cpp -o C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.o 
! C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.h.gch
. C:/Program Files (x86)/Axoloti/app/objects/osc/bltable.h
C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.cpp: In member function 'void rootc::instancerecord__1::dsp(const int32_t*, int32_t, int32_t, int32_t)':
C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.cpp:139:31: error: 'class rootc' has no member named 'instancetesty1_i'
       pos = asat>>(27-parent->instancetesty1_i.LENGTHPOW);
                               ^
C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.cpp:151:25: error: 'class rootc' has no member named 'instancetesty1_i'
        if (pos< parent->instancetesty1_i.LENGTH)
                         ^
C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.cpp:152:23: error: 'class rootc' has no member named 'instancetesty1_i'
               parent->instancetesty1_i.array[pos++] = __SSAT(inlet_wave[buffer_index],28)>>parent->instancetesty1_i.GAIN;
                       ^
C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.cpp:152:100: error: 'class rootc' has no member named 'instancetesty1_i'
               parent->instancetesty1_i.array[pos++] = __SSAT(inlet_wave[buffer_index],28)>>parent->instancetesty1_i.GAIN;
                                                                                                    ^
make: *** [C:\Users\Kuzma\DOCUME~1\axoloti/build/xpatch.bin] Error 1
shell task failed, exit value: 1
Compiling patch failed ( untitled )

Patch is rather simple:

Any tips?


#2

Ahh. Excuse me, i'm dumb smile had to name an instance of alloc 'testy1' too


#3

Can you please explain?
I have the same problem but no idea how so solve.