Multiple definition error after importing library ...

I import GxEPD-master to use e-ink panel...

and code

#include <GxEPD.h>
#include <GxGDEP015OC1/GxGDEP015OC1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include <Fonts/FreeSansBold24pt7b.h>

but it has error message

C:\Users\kotra\AppData\Local\Temp\arduino_build_298303\libraries\GxEPD-master\GxIO\GxIO_SPI\GxIO_SPI.cpp.o: In function `GxIO_SPI::reset()':

C:\Users\kotra\Documents\Arduino\libraries\GxEPD-master\src\GxIO\GxIO_SPI/GxIO_SPI.cpp:15: multiple definition of `GxIO_SPI::reset()'

I tried to delete temp/arduino_build_298303/libraries
but it generated again and make same error...

what should I do to eliminate those error?

Why are you including .cpp files?

Put them in the project folder and only include the .h files.

I agree with Blackfin about the problem likely being caused by the #include directives for .cpp files.

However, I disagree about putting the files in the project folder. These files are in a library that is already correctly installed. I would leave them where they are.

pert:
However, I disagree about putting the files in the project folder. These files are in a library that is already correctly installed. I would leave them where they are.

Of course :slaps forehead:

Good call.