when i add code " include($ENV{IOT_SOLUTION_PATH}/component.cmake)", vscode show me ninja error

hyu7000
Posts: 12
Joined: Fri Oct 07, 2022 6:20 am

when i add code " include($ENV{IOT_SOLUTION_PATH}/component.cmake)", vscode show me ninja error

Postby hyu7000 » Fri Dec 16, 2022 8:38 am

esp idf : 4.4.3
project : hellow world example project

hi

i want to add esp iot solution. so i created sample project and built no edit. it's success

then in CMakeList.txt of root dir, i add "include($ENV{IOT_SOLUTION_PATH}/component.cmake)" for esp iot solution
(previous process has been done, following this link : https://docs.espressif.com/projects/esp ... arted.html)

Code: Select all

cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
include($ENV{IOT_SOLUTION_PATH}/component.cmake)
project(hello_world)
after added that, error occur :

ninja: error: loading 'build.ninja': The system cannot find the file specified


what is problem?

plz let me know why.

thanks in advance

Who is online

Users browsing this forum: No registered users and 51 guests