Adding .cpp and its header file with a project in C
Posted: Fri Feb 21, 2020 6:44 am
Hello, I want to add a .cpp lib to my c project in esp32 esp-idf environment. So initally I started with adding a single .cpp and its header file with my c project but I am getting unknown name class error and also added component_compile_options(-std=c++14) to my CMakeList.txt file. I have reffered to many similar questions (https://esp32.com/viewtopic.php?t=1593, viewtopic.php?t=362 and many more) in the forum but not able to solve my error.