Arduino: 1.8.19 (Windows 10), Board: "SparkFun ESP32 Thing Plus, 80MHz, Default (6.25MB APP/OTA/3.43MB SPIFFS), 921600, None"
In file included from C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_player.h:4,
from C:\Users\Admin\Documents\Arduino\sketch_mar04a\sketch_mar04a.ino:8:
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: error: 'vector' is not a member of 'std'
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:6:1:
+#include <vector>
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70:
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: error: 'vector' is not a member of 'std'
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:77: error: template argument 1 is invalid
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~~~~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: error: 'vector' is not a member of 'std'
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: error: 'vector' is not a member of 'std'
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:89: error: template argument 1 is invalid
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: error: 'vector' is not a member of 'std'
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: error: 'vector' is not a member of 'std'
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:70: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:89: error: template argument 1 is invalid
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:54: error: 'std::shared_ptr' is not a type
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^~~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:26:64: error: expected ',' or '...' before '<' token
Melody(String title, unsigned short timeUnit, std::shared_ptr<std::vector<NoteDuration>> notes, bool automaticSilence):
^
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:84:24: error: 'vector' is not a member of 'std'
std::shared_ptr<std::vector<NoteDuration>> notes;
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:84:24: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:84:24: error: 'vector' is not a member of 'std'
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:84:24: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:84:31: error: template argument 1 is invalid
std::shared_ptr<std::vector<NoteDuration>> notes;
^~~~~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:84:43: error: expected unqualified-id before '>' token
std::shared_ptr<std::vector<NoteDuration>> notes;
^~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h: In constructor 'Melody::Melody()':
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:24:4: error: class 'Melody' does not have any field named 'notes'
notes(nullptr) {};
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h: In constructor 'Melody::Melody(String, short unsigned int, int)':
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:27:39: error: class 'Melody' does not have any field named 'notes'
title(title), timeUnit(timeUnit), notes(notes), automaticSilence(automaticSilence) {};
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:27:45: error: 'notes' was not declared in this scope
title(title), timeUnit(timeUnit), notes(notes), automaticSilence(automaticSilence) {};
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:27:45: note: suggested alternative: 'note_t'
title(title), timeUnit(timeUnit), notes(notes), automaticSilence(automaticSilence) {};
^~~~~
note_t
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h: In member function 'short unsigned int Melody::getLength() const':
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:48:8: error: 'notes' was not declared in this scope
if(notes == nullptr) return 0;
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:48:8: note: suggested alternative: 'note_t'
if(notes == nullptr) return 0;
^~~~~
note_t
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:49:14: error: 'notes' was not declared in this scope
return (*notes).size();
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:49:14: note: suggested alternative: 'note_t'
return (*notes).size();
^~~~~
note_t
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h: In member function 'NoteDuration Melody::getNote(short unsigned int) const':
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:57:14: error: 'notes' was not declared in this scope
if(i < (*notes).size()) {
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:57:14: note: suggested alternative: 'note_t'
if(i < (*notes).size()) {
^~~~~
note_t
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:60:14: error: 'notes' was not declared in this scope
return (*notes).back();
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:60:14: note: suggested alternative: 'note_t'
return (*notes).back();
^~~~~
note_t
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h: In member function 'bool Melody::isValid() const':
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:71:12: error: 'notes' was not declared in this scope
return notes != nullptr && (*notes).size() != 0;
^~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody.h:71:12: note: suggested alternative: 'note_t'
return notes != nullptr && (*notes).size() != 0;
^~~~~
note_t
In file included from C:\Users\Admin\Documents\Arduino\sketch_mar04a\sketch_mar04a.ino:9:
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h: At global scope:
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:24: error: 'vector' is not a member of 'std'
std::shared_ptr<std::vector<NoteDuration>> notes;
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:24: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:9:1:
+#include <vector>
#endif
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:24:
std::shared_ptr<std::vector<NoteDuration>> notes;
^~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:24: error: 'vector' is not a member of 'std'
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:24: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:31: error: template argument 1 is invalid
std::shared_ptr<std::vector<NoteDuration>> notes;
^~~~~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\Melody_Player\src/melody_factory.h:50:43: error: expected unqualified-id before '>' token
std::shared_ptr<std::vector<NoteDuration>> notes;
^~
exit status 1
Error compiling for board SparkFun ESP32 Thing Plus.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.