Skip to content
Discussion options

You must be logged in to vote

I think the error message is pretty speaking. ^~~~~~~~~~~~~~~~src/main.cpp:25:1: note: class template argument deduction is only available with -std=c++17 or -std=gnu++17In file included from src/main.cpp:13:

So either,

  • Use an actual compiler version that supports c++17 or
  • Use the legacy supported syntax AudioSourceSDFAT<> source(startFilePath, ext);
  • Specifiy the SDFAT data types that you want to use: e.g. AudioSourceSDFAT<SdFat32, File32> source(startFilePath, ext);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants