EnableInterrupt libarary in Custom class

Hello,
i am trying to use the EnableInterrupt library in the custom class
but i got the error
when i just write the #include <EnableInterrupt.h> in the custom class header
file then i got this big error.

Timer_interupt.cpp.o: In function `enableInterrupt(unsigned char, void (*)(), unsigned char)':
C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: multiple definition of `enableInterrupt(unsigned char, void (*)(), unsigned char)'
cMotor.cpp.o:C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: first defined here
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
Timer_interupt.cpp.o: In function `enableInterrupt(unsigned char, void (*)(), unsigned char)':
C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: multiple definition of `risingPinsPORTB'
cMotor.cpp.o:C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: first defined here
Timer_interupt.cpp.o: In function `enableInterrupt(unsigned char, void (*)(), unsigned char)':
C:\Users\Atif\Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: multiple definition of `risingPinsPORTJ'

this error was big but i put the first half part
Thank You

but i put the first half part

But no links and no code.

this is main ino file

#include <EnableInterrupt.h> 


void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

this is the custom class Test.h

#ifndef cServo_H
#define cServo_H
#include <Arduino.h>
#include <EnableInterrupt.h> 


class Test
        {
public:
         void xRun(String xnum);
         
       };

 #endif

this is Test.cpp

#include "Test.h"


void Test::xRun(String xnum)
    {
    }

You are including EnableInterrupt.h in the .ino file and in the Test.h file, even though you don't actually use anything from EnableInterrupt.h in either file.

My guess, and, since you won't provide a link to EnableInterrupt.h it is ONLY a guess, is that EnableInterrupt.h is piss-poorly written, either not using include guards or implementing functions in the header file (or both).

One thing I noted is that you obviously did not install the library properly, you forgot to remove the -master from the directory name.

...Documents\Arduino\libraries\EnableInterrupt-master/EnableInterrupt.h:1002: first defined here