I have an error message saying that its having an error compiling

Try:

#define INT_PIN 2 // INT0