Page 1 of 1

How to specify include directories

Posted: Tue Mar 17, 2020 11:20 pm
by rglissmann
I'm using Visual Studio and I have some include header files specified in my source. I've been able to modify the c_cpp_properties.json file so the squiggles are gone. The compiler is still complaining that it can't find the included files. I can add more path information in the source but then it can't find additional include files specified in the header files. How can I say to look recursively in a specified directory for the files?

Re: How to specify include directories

Posted: Wed Mar 18, 2020 4:12 am
by boarchuz
Resolving Intellisense squiggles won't do anything to configure the compiler.

Are you familiar with the build system? (Switch to an earlier version of the doc if you're not on IDF v4) https://docs.espressif.com/projects/esp ... ystem.html

If you're still having issues, share your CMakeLists and project tree.