Search found 4 matches

by brunofr
Mon Feb 26, 2024 5:52 pm
Forum: IDEs for ESP-IDF
Topic: Build of Hello_World.c fails for target devices ESP32H2, ESP32C6
Replies: 4
Views: 4202

Re: [Solved] Build of Hello_World.c fails for target devices ESP32H2, ESP32C6

Problem fixed. The build failed as the path length to included files exceeded some limit somewhere. No sure where this limit is as the registry key \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled exists in my W10s and is set to 1 thus permitting an extended-length pa...
by brunofr
Tue Feb 20, 2024 6:51 pm
Forum: IDEs for ESP-IDF
Topic: Build of Hello_World.c fails for target devices ESP32H2, ESP32C6
Replies: 4
Views: 4202

Re: Build of Hello_World.c fails for target devices ESP32H2, ESP32C6

After more searches I found that there are many copies file c++config.h in subdirectories under .....\tools\riscv32-esp-elf\esp-12.2.0_20230208\riscv32-esp-elf\riscv32-esp-elf\include\c++\12.2.0\riscv32-esp-elf\ . After that I managed to get a successful build by adding a path to a directory where t...
by brunofr
Wed Feb 07, 2024 3:18 pm
Forum: IDEs for ESP-IDF
Topic: Build of Hello_World.c fails for target devices ESP32H2, ESP32C6
Replies: 4
Views: 4202

Re: Build of Hello_World.c fails for target devices ESP32H2, ESP32C6

The error messages are in the terminal during the build in the ESP-IDF, not sure what you mean by Microsoft C/C++ extension. Since I have reinstalled VSCode and the ESP-IDF extension from scratch with ESP IDF 5.1.2 stable. I run with the c_cpp_properties.json unmodified after the install. Hard codin...
by brunofr
Sat Feb 03, 2024 4:49 pm
Forum: IDEs for ESP-IDF
Topic: Build of Hello_World.c fails for target devices ESP32H2, ESP32C6
Replies: 4
Views: 4202

Build of Hello_World.c fails for target devices ESP32H2, ESP32C6

Hi, I tried to build the Hello_World.c example shipped with ESP-IDF but it fails with the below messages when I set the target to ESP32H2 or ESP32C6. Surprisingly the build runs fine when the target is set to ESP32. C:/Users/Bruno/Documents/Visual_Studio_Code/ESP-IDF/v5.2/espressif/tools/riscv32-esp...