I2C Motor controller example won't compile. AccelStepper.h missing.

Here is the error verbose output of compile of the i2c motor controller example code “ADAFRUIT_MOTOR_SHIELD_V2_LIBRARY(6)/Accel_ConstantSpeed” when it failed to compile. It seems to be missing “AccelStepper.h”

Editor

    Sketchbook
    Examples
    Libraries
    Serial Monitor
    Help
    Preferences

I2C_motor0x0F

    I2C_motor0x0F.ino

compilation terminated.

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}", automatically converted to recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Consider upgrading this core.

"/opt/tools/avr-gcc/4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-I/opt/cores/arduino/avr/cores/arduino" "-I/opt/cores/arduino/avr/variants/leonardo" "/tmp/tmp/webide_tmp829130/I2C_motor0x0F/sketch/I2C_motor0x0F.ino.cpp" -o "/dev/null"

"/opt/tools/avr-gcc/4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Leonardo"' "-I/opt/cores/arduino/avr/cores/arduino" "-I/opt/cores/arduino/avr/variants/leonardo" "/tmp/tmp/webide_tmp829130/I2C_motor0x0F/sketch/I2C_motor0x0F.ino.cpp" -o "/tmp/tmp/webide_tmp829130/I2C_motor0x0F/preproc/ctags_target_for_gcc_minus_e.cpp"

/tmp/webide_tmp829130/I2C_motor0x0F/I2C_motor0x0F.ino:14:26: fatal error: AccelStepper.h: No such file or directory

#include <AccelStepper.h>

^

compilation terminated.

Hi, you need to include also this library in you library folder

The example you want to compile relies on this and not on the ADAFRUIT_MOTOR_SHIELD_V2 only!