How to specify include directories

rglissmann
Posts: 10
Joined: Wed Feb 19, 2020 1:08 am

How to specify include directories

Postby rglissmann » Tue Mar 17, 2020 11:20 pm

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?

boarchuz
Posts: 604
Joined: Tue Aug 21, 2018 5:28 am

Re: How to specify include directories

Postby boarchuz » Wed Mar 18, 2020 4:12 am

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.

Who is online

Users browsing this forum: No registered users and 20 guests