Search found 7 matches

by antwdj
Fri Jan 29, 2021 1:56 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 4.1 + Visual Studio Community 2019
Replies: 13
Views: 50998

Re: ESP-IDF 4.1 + Visual Studio Community 2019

I just tested ESP-IDF 4.0.2 with Visual Studio again. In the environment section of CMakeSettings.json you also need to add this line: "IDF_CCACHE_ENABLE": "1", Remove the comma if you put it on the last line in the environment section. This environment variable enable cache when you call a task (eg...
by antwdj
Thu Jan 28, 2021 11:06 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 4.1 + Visual Studio Community 2019
Replies: 13
Views: 50998

Re: ESP-IDF 4.1 + Visual Studio Community 2019

Were the error message still the same? I mean did visual studio still can not find stdio.h, stdint.h, etc files? When you have finished editing CMakeSettings.json, visual studio need to regenerate the CMake cache. But sometime it does not use the most recent CMakeSettings.json. It's a bit annoying. ...
by antwdj
Wed Jan 27, 2021 3:58 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 4.1 + Visual Studio Community 2019
Replies: 13
Views: 50998

Re: ESP-IDF 4.1 + Visual Studio Community 2019

The problem is that Visual Studio CMake can not find the header files. It will search for them in the path specified by the INCLUDE environment variable (see in the CMakeSettings.json). I just tried to run the "set" command again and there was no INCLUDE environment variable there. Sorry I forgot. F...
by antwdj
Tue Jan 26, 2021 11:37 pm
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 4.1 + Visual Studio Community 2019
Replies: 13
Views: 50998

Re: ESP-IDF 4.1 + Visual Studio Community 2019

Could you copy paste the result from the "set" command here? And also the content of your CMakeSettings.json.
by antwdj
Tue Jan 26, 2021 9:00 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 4.1 + Visual Studio Community 2019
Replies: 13
Views: 50998

Re: ESP-IDF 4.1 + Visual Studio Community 2019

I think it fails to found the include files because the path for ESP-IDF 4.0 is different. Try check the paths in the environment section in CMakeSettings.json in step 8. The easy way to check this is to open "ESP-IDF Command Prompt" (double click shortcut on the Desktop). Then type "set" and ENTER....
by antwdj
Sat Jan 09, 2021 6:38 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 3.2.5 + arduino-esp32 1.0.4 + Visual Studio Community 2019
Replies: 0
Views: 3519

ESP-IDF 3.2.5 + arduino-esp32 1.0.4 + Visual Studio Community 2019

Hi, a few days ago I found that Visual Studio 2019 already has support for CMake and Ninja. For those who want to use arduino-esp32 library, this is my installation steps for ESP-IDF 3.2.5 + arduino-esp32 1.0.4 + Visual Studio Community 2019: Note: Ninja binary available only for Windows 64 bit I us...
by antwdj
Sat Jan 09, 2021 6:33 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 4.1 + Visual Studio Community 2019
Replies: 13
Views: 50998

ESP-IDF 4.1 + Visual Studio Community 2019

Hi, a few days ago I found that Visual Studio 2019 already has support for CMake and Ninja. This is my installation steps for ESP-IDF 4.1 + Visual Studio Community 2019: Note: Ninja binary available only for Windows 64 bit I use Visual Studio Community 2019 Version 16.8.3 Steps: Download the ESP-IDF...