Fatal error: Stepper.h in online IDE


#1

Hi

An error occurs when using the step motor in the online IDE.

avr/temp/build/code.cpp:2:10: fatal error: Stepper.h: No such file or directory
#include <Stepper.h> compilation terminated.

I am using G.bot(Nano/old).

Please let me know how to remove the error.


#2

Please let me know when it will be fixed.


#3

Hi Mungkle, it could be the problem of this path: “such file or directory #include <Stepper.h>”. The “.h” file here need double quotation marks, with a relative path, such as #include “src/Stepper.h” . The src here is relative path, you need to change to your own relative path.