include could not find load file

benedito821
Posts: 15
Joined: Fri Mar 19, 2021 9:58 pm

include could not find load file

Postby benedito821 » Sat Apr 03, 2021 12:33 pm

Hello!
I have reinstalled the esp-idf extension on other directory (called esp-idf). It usually is installed on directory called esp. The problem is that when I try to run the hell_world example this error appears:

> Executing task: cmake -G Ninja .. <
CMake Error at CMakeLists.txt:5 (include):
include could not find load file:

/home/.../esp/esp-idf/tools/cmake/project.cmake


-- Configuring incomplete, errors occurred!
See also "/home/.../esp-idf/hello_world/build/CMakeFiles/CMakeOutput.log".
The terminal process "/bin/bash '-c', 'cmake -G Ninja ..'" terminated with exit code: 1.

It seems that he is looking for this file in the old directory. How to revert this? I have set all the paths to my new directory and I don't know where I forgot to set the path.

Who is online

Users browsing this forum: Baidu [Spider] and 372 guests