Adding .cpp and its header file with a project in C
Adding .cpp and its header file with a project in C
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.
Who is online
Users browsing this forum: No registered users and 122 guests