Rename project folder

Paolo1967
Posts: 2
Joined: Tue Aug 28, 2018 1:40 pm

Rename project folder

Postby Paolo1967 » Tue Apr 02, 2019 12:50 pm

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?

ESP_Sprite
Posts: 9051
Joined: Thu Nov 26, 2015 4:08 am

Re: Rename project folder

Postby ESP_Sprite » Wed Apr 03, 2019 3:41 am

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.

Who is online

Users browsing this forum: No registered users and 229 guests