SoftwareSerial.h: No such file or directory

Hi there folks. I’m new to Arduino and just cannot work this problem out. Any help would be greatly appreciated.

I’ve installed the Arduino IDE v1.8.3 for OSX. I need the SoftwareSerial library as it’s referenced by the TinyGPSPlus library that I want to use.

I’ve written the following sketch…

#include <SoftwareSerial.h>

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

}

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

}

When I verify it I get the error…

/Users/Dave/Documents/Arduino/sketch_jul30c/sketch_jul30c.ino:1:28: fatal error: SoftwareSerial.h: No such file or directory
 #include <SoftwareSerial.h>
                            ^
compilation terminated.
exit status 1
Error compiling for board Adafruit Feather M0.

I think this should just work. I’ve tried reinstalling the IDE, which didn’t make any difference. I also checked inside the package and the library is there (though it isn’t in the ‘Include Library’ menu). Is this a bug or am I being thick?

Many thanks in anticipation.

Adafruit SAMD Boards doesn't include a SoftwareSerial library so that's the expected result.

caferene:
I also checked inside the package and the library is there (though it isn't in the 'Include Library' menu).

You must be looking in the wrong package (maybe Arduino AVR Boards?). See:

Brilliant, thank you very much. I didn't even think of changing the board.