I have exactly the same problem.
I dont even want to use ESP_SR but totally kills my build process
CMake Error at managed_components/espressif__esp-sr/CMakeLists.txt:113 (add_dependencies):
Cannot add target-level dependencies to non-existent target "flash".
The add_dependencies works for top ...
Search found 2 matches
- Mon Aug 25, 2025 6:31 pm
- Forum: ESP32 Arduino
- Topic: Cannot compile / build simplest program
- Replies: 1
- Views: 1436
- Fri Aug 22, 2025 6:27 pm
- Forum: ESP32 Arduino
- Topic: Cannot compile / build simplest program
- Replies: 1
- Views: 1436
Cannot compile / build simplest program
Building in: D:\Development\Espressif\Workspace\EnvironmentalLogger\build
Configuring in: D:\Development\Espressif\Workspace\EnvironmentalLogger\build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=D:\Development\Espressif\frameworks\esp-idf-v5.5\tools\cmake\toolchain-esp32s3.cmake -DPYTHON_DEPS_CHECKED=1 ...
Configuring in: D:\Development\Espressif\Workspace\EnvironmentalLogger\build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=D:\Development\Espressif\frameworks\esp-idf-v5.5\tools\cmake\toolchain-esp32s3.cmake -DPYTHON_DEPS_CHECKED=1 ...