make not working

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

make not working

Postby Patsjemoe » Mon Aug 05, 2019 6:26 pm

I installed ESP-ADF in the ESP directory, as mentioned in the guideline.

where 'make' works in /c/msys32/home/user/esp/ESP-IDF/examples/get-started/blink,
it does not work in /c/msys32/home/user/esp/esp-adf/examples/get-started/play_mp3

I also created a file : export_adf_path.sh with "export ADF_PATH=/c/msys32/home/user/esp/esp-adf"

I get following error :
Makefile:2: /project.mk: No such file or directory
make: *** No rule to make target '/project.mk'. Stop.
Any suggestion why the path seems not to be taken ?

Note : when using mingw32, make is also not working, none of the internet solutions work.

best regards
Ludo

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: make not working

Postby ESP_Dazz » Tue Aug 06, 2019 7:19 am

Could you run

Code: Select all

echo $ADF_PATH

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: make not working

Postby Patsjemoe » Tue Aug 06, 2019 9:25 am

Hi,
thanks for responding.
in cmd.exe, I get $ADF_PATH
in mingw32, nothing happens

when using adf.py build in the /c/msys32/home/user/esp/esp-adf/examples/get-started/play_mp3,
I get following error :
-- Configuring incomplete, errors occurred!
See also "C:/msys32/home/user/esp/esp-adf/examples/get-tarted/play_mp3/build/CMakeFiles/CMakeOutput.log".
See also "C:/msys32/home/user/esp/esp-adf/examples/get-started/play_mp3/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1

regards

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: make not working

Postby ESP_Dazz » Tue Aug 06, 2019 9:40 am

Patsjemoe wrote:in mingw32, nothing happens
This means export_adf_path.sh did not export the ADF_PATH properly. Did you run the export script in the current shell by putting a dot in front of the command?

Code: Select all

. ./export_adf_path.sh

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: make not working

Postby Patsjemoe » Tue Aug 06, 2019 11:12 am

no, I ran it in the /adf as well as in /play_mp3 directory without the ..
when running it with the .. I get :
$ . ./export_adf_path.sh
bash: ./export_adf_path.sh: No such file or directory

I have put it in it in /c/msys32/etc/profile.d

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: make not working

Postby Patsjemoe » Thu Aug 08, 2019 7:36 am

it looks as I have to trow away the board, nothing works. :x

Patsjemoe
Posts: 40
Joined: Wed Jul 17, 2019 11:22 am

Re: make not working

Postby Patsjemoe » Fri Aug 16, 2019 3:37 pm

Make is now working in MINGW32, with ESP-IDF v3.2.2
It was not allowed to install toolchain 2.0, as this is for ESP-IDF v4.0 ...but that is not clearly mentioned in the install sheets.
Also, I need to manually start IDF_PATH and ADF_PATH, as when starting up mingw32, it does not take into account the profile.d directory.
ALso, I need to add a full path in the toolchain with "make menuconfig".

Who is online

Users browsing this forum: No registered users and 26 guests