Multiple libraries error were found

Multiple libraries were found for "SoftwareSerial.h"
Multiple libraries were found for "Wire.h"
Error compiling for board Arduino Mega or Mega 2560.

I only have one copy each file in my library and reading through other blogs I thought it was supposed to be fixed with an 'bug' update.

Thank you o wise forum for your input.

Your topic was MOVED to its current forum category as it is more suitable than the original

Which version of the IDE are you using ?

Please post the full error message copied from the IDE using the "Copy error message" button and posted here in code tags

Both of those libraries are built-in and you should not have them in your 'libraries' directory.

How many serial inputs do you need. The Mega has 4 in hardware, one for the console and three for whatever. From the description the IDE has found more than one library. Search for them from the console. In windy dos enter from c:"dir SoftwareSerial.h" /s enter in Linux from the Terminal enter: find -n "SoftwareSerial.h" enter, Linux is case sensitive, dos is not. You should also be able to find it in the error output from the IDE.

Multiple libraries is not necessarily a problem. As far as I know, the ouput should tell you which one is used and which ones are ignored.

Your error might be caused by the "multiple libraries" if it picks the wrong library but often the error is totally unrelated.

When an error occurs, you should see a button "copy error messages" at the right hand side in the orange bar. Click it and post it here using code tags.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.