Build Error with linking CXX
Posted: Sat Feb 27, 2021 8:09 pm
So I was trying to build one of my projects (It worked on my old PC but I got a new one), its ESP-IDF/MDF 4.1 on Windows 10.
Here is the error code in CMD:
Thanks for any help.
CmakeLog file:
Here is the error code in CMD:
Code: Select all
-- Adding linker script E:/Desktop/esp-mdf/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script E:/Desktop/esp-mdf/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
CMake Error at E:/Desktop/esp-mdf/esp-idf/tools/cmake/project.cmake:490 (__add_dfu_targets):
Unknown CMake command "__add_dfu_targets".
Call Stack (most recent call first):
CMakeLists.txt:27 (project)
-- Configuring incomplete, errors occurred!
See also "E:/Desktop/Projects/Transmitter/build/bootloader/CMakeFiles/CMakeOutput.log".
[591/967] Linking CXX static library esp-idf\lwip\liblwip.a
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
E:\Desktop\Projects\Transmitter>
CmakeLog file: