Help with cmake error please

orbitcoms
Posts: 141
Joined: Fri Aug 03, 2018 10:08 pm
Location: Sydney, Australia

Help with cmake error please

Postby orbitcoms » Sat Jun 19, 2021 10:58 pm

I have a project that is not compiling. Below is terminal output and attached is cmake log.
Any help much appreciated.

CMake Error at CMakeLists.txt:6 (include):
include could not find load file:

c:\esp_esp-adf/CMakeLists.txt


-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.30.2.windows.1")
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/esp/tools/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
Python requirements from c:\esp\esp-idf\requirements.txt are satisfied.
CMake Error at C:/esp/esp-idf/tools/cmake/build.cmake:189 (message):
Failed to resolve component 'audio_sal'.
Call Stack (most recent call first):
C:/esp/esp-idf/tools/cmake/build.cmake:220 (__build_resolve_and_add_req)
C:/esp/esp-idf/tools/cmake/build.cmake:435 (__build_expand_requirements)
C:/esp/esp-idf/tools/cmake/project.cmake:396 (idf_build_process)
CMakeLists.txt:9 (project)


-- Configuring incomplete, errors occurred!
See also "D:/Firmware/Cab/CAB_ROLEC_ESP_PCB0325_G/build/CMakeFiles/CMakeOutput.log".
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c cmake -G Ninja .." terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
Attachments
CMakeOutput.log
(61.85 KiB) Downloaded 285 times

a33403916@126.com
Posts: 2
Joined: Tue Nov 30, 2021 3:32 am

Re: Help with cmake error please

Postby a33403916@126.com » Tue Nov 30, 2021 3:34 am

ADF_PATH was wrong. The same mistake. best regards to U

Who is online

Users browsing this forum: Bing [Bot] and 127 guests