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
make not working
Re: make not working
Could you run
Code: Select all
echo $ADF_PATH
Re: make not working
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
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
Re: make not working
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?Patsjemoe wrote:in mingw32, nothing happens
Code: Select all
. ./export_adf_path.sh
Re: make not working
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
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
Re: make not working
it looks as I have to trow away the board, nothing works.
Re: make not working
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".
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 23 guests