Build Error with linking CXX

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Build Error with linking CXX

Postby DutchOrange » 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:

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>
Thanks for any help.

CmakeLog file:
Attachments
CMakeOutput.log
(49.41 KiB) Downloaded 441 times

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: Build Error with linking CXX

Postby DutchOrange » Tue Mar 16, 2021 2:00 pm

A fresh reinstall of the IDF 4.2 worked

Who is online

Users browsing this forum: No registered users and 6 guests