Why am I getting "fatal error: SoftwareSerial.h: No such file or directory" I downloaded the Adafruit_GPS library from Adafruit and I'm trying to compile the example code (due_parsing) but I can't seem to get past this silly error:

In file included from due_parsing.ino:15:

/Users/haddad/Documents/Arduino/libraries/Adafruit_GPS/Adafruit_GPS.h:24: fatal error: SoftwareSerial.h: No such file or directory
compilation terminated.


This is the location in the example Arduino Sketch where SoftwareSerial.h is mentioned:

#ifdef __AVR__
  #include &lt;SoftwareSerial.h&gt;
#endif


I noticed it's around an ifdef guard, so shouldn't it not even matter that I don't have this library?

I went into the .h and .cpp files and commented out the where it called SoftwareSerial.h, but I'm still getting that above error.

Does anybody know how to fix this?
I am using Arduino IDE v1.5.5



Update:

I didn't put the library in the library direct on my mac but I'm now getting tons of errors, all the errors are with SoftwareSerial.cpp. Is anybody else having similar issues when you go to compile?
According to your comment:


  after commenting out those ifdef guards, it worked


I would say that is a bug in the Adafruit_GPS library.

As a matter of fact, the DUE is not using the AVR architecture (it uses ARM), that explains why #ifdef __AVR__ in Adafruit_GPS.h never passes; but then something else should be done specifically for the DUE (missing #else or #elif).

After checking on github, there is an issue open for that; unfortunately, as of April 2014, it has not moved for 10 months.

Your best guess would be to go there and try to "reactivate" this issue.