Trying to control meccano servos with an Arduino Nano

So, i downloaded a library from meccano and a test code, since i really can’t code that much myself. So copied the code, uploaded and just says “Error compiling for board Arduino Nano”

This is the error:

< Arduino: 1.8.12 (Mac OS X), Board: “Arduino Nano, ATmega328P (Old Bootloader)”

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/davidgarciacirauqui/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=0000_0000 -ide-version=10812 -build-path /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568 -warnings=none -build-cache /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_cache_408162 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/davidgarciacirauqui/Downloads/Meccano-Smart-Servo-master/meccano_2_smart_servo_test/meccano_2_smart_servo_test.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/davidgarciacirauqui/Documents/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=0000_0000 -ide-version=10812 -build-path /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568 -warnings=none -build-cache /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_cache_408162 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/davidgarciacirauqui/Downloads/Meccano-Smart-Servo-master/meccano_2_smart_servo_test/meccano_2_smart_servo_test.ino
Using board ‘nano’ from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core ‘arduino’ from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used…
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/sketch/meccano_2_smart_servo_test.ino.cpp -o /dev/null
Alternatives for MeccaBrain.h: [meccanoid-library]
ResolveLibrary(MeccaBrain.h)
→ candidates: [meccanoid-library]
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs -I/Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/sketch/meccano_2_smart_servo_test.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs -I/Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library /Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library/MeccaBrain.cpp -o /dev/null
Generating function prototypes…
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs -I/Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/sketch/meccano_2_smart_servo_test.ino.cpp -o /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch…
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs -I/Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/sketch/meccano_2_smart_servo_test.ino.cpp -o /var/folders/l9/2d42syvn3_54c65vk8m_cvt00000gn/T/arduino_build_92568/sketch/meccano_2_smart_servo_test.ino.cpp.o
In file included from /Users/davidgarciacirauqui/Downloads/Meccano-Smart-Servo-master/meccano_2_smart_servo_test/meccano_2_smart_servo_test.ino:9:0:
/Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library/MeccaBrain.h:48:23: error: flexible array member ‘MeccaBrain::servo1Positions’ not at end of ‘class MeccaBrain’
int servo1Positions;
^
Using library meccanoid-library in folder: /Users/davidgarciacirauqui/Documents/Arduino/libraries/meccanoid-library (legacy)
exit status 1
Error compiling for board Arduino Nano. >