Page 1 of 1

include could not find load file

Posted: Sat Apr 03, 2021 12:33 pm
by benedito821
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.