muvox-io / euphonium

Tiny audio platform
GNU Affero General Public License v3.0
96 stars 15 forks source link

Can't Compile from Debian #77

Closed rickyfajar93 closed 8 months ago

rickyfajar93 commented 8 months ago

compiling with IDF 4.4.6 since 4.4.1 can't be compiled anymore

getting errors with /euphonium/include/BerryBind.h:19:36: note: 'std::any' is only available from C++17 onwards /euphonium/include/BerryBind.h:19:36: error: 'any' is not a member of 'std'

rickyfajar93 commented 8 months ago

Solved by adding target_compile_options(euphonium PUBLIC -std=gnu++17) in CMakeLists.txt and target_compile_options(bell PUBLIC -std=gnu++17)