Page 1 of 1

Rename project folder

Posted: Tue Apr 02, 2019 12:50 pm
by Paolo1967
Hi to all

I'm starting to use ESP32 and make some test with some example project using the mingw32.exe enviromet and the make flash command.

All works fine but i can' rename my project folder from the example name to a new name, if i simply rename i get an error.

make[1]: *** Nessuna regola per generare l'obiettivo "D:/msys32/home/paolo.lippi/esp/scan/main/Hydros103.c", necessario per "Hydros103.o". Arresto.
make: *** [D:/msys32/home/paolo.lippi/esp/esp-idf/make/project.mk:468: component-main-build] Error 2

Have you any suggest?

Re: Rename project folder

Posted: Wed Apr 03, 2019 3:41 am
by ESP_Sprite
Remove the build folder; it contains dependency files which refer to your sources by absolute paths (which break if you rename the project folder.) If you build the project afterwards, it'll recreate the build folder with the correct paths.