Closed rickyfajar93 closed 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'
/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'
Solved by adding target_compile_options(euphonium PUBLIC -std=gnu++17) in CMakeLists.txt and target_compile_options(bell PUBLIC -std=gnu++17)
target_compile_options(euphonium PUBLIC -std=gnu++17)
target_compile_options(bell PUBLIC -std=gnu++17)
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'