Compiler error while using AudioSourceSDFAT.h #2244
-
|
Hello, I am trying to compile the example [env:esp-wrover-kit] When compiling, I get the error message - src/main.cpp:25:1: error: invalid use of template-name ‘audio_tools::AudioSourceSDFAT’ without an argument list I have tried various examples, all of which use the “AudioSourceSDFAT.h” library, always with the same error message. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
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,
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the support. The use of the c++17 Compiler had'nt change anything, but the use of the lagacy supported Syntax solve the problem. Thanks again and have a nice WE |
Beta Was this translation helpful? Give feedback.
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,