ESP-IDF problems with mingw/mingw32/make
ESP-IDF problems with mingw/mingw32/make
Hi,
I followed the instructions to install ESP-IDF, but have problems when coming to the instruction "make menuconfig".
This is not working, and tried about everything you can find on the web...without any succes.
Somewhere, I read that espressif only works with mingw32.
Unfortunately, this world is very confusing, as there is mingw, mingw32, and what with running mingw64, because of a 64 bit system.
Could someone clarify exactly what you have to install to get "make" to work....this means which version of software, which paths to define in which place (windows or in profile.d) ?
I hope to find a solution, as it took me already 3 days without progress.
Thanks in advance
best regards
Ludo
I followed the instructions to install ESP-IDF, but have problems when coming to the instruction "make menuconfig".
This is not working, and tried about everything you can find on the web...without any succes.
Somewhere, I read that espressif only works with mingw32.
Unfortunately, this world is very confusing, as there is mingw, mingw32, and what with running mingw64, because of a 64 bit system.
Could someone clarify exactly what you have to install to get "make" to work....this means which version of software, which paths to define in which place (windows or in profile.d) ?
I hope to find a solution, as it took me already 3 days without progress.
Thanks in advance
best regards
Ludo
Re: ESP-IDF problems with mingw/mingw32/make
Which instructions? These https://docs.espressif.com/projects/esp ... setup.html ?
Mingw32.exe runs fine on a 64 bit system.
Mingw32.exe runs fine on a 64 bit system.
Re: ESP-IDF problems with mingw/mingw32/make
Hi,
thanks, but I followed already this document, but no solution.
have followed all instructions, and make does not work.
now I have an additional problem :
IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/dir instead of C:/dir. I tried to change this, but windows does not allow /c/....(see attachement).
regards
Ludo
thanks, but I followed already this document, but no solution.
have followed all instructions, and make does not work.
now I have an additional problem :
IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/dir instead of C:/dir. I tried to change this, but windows does not allow /c/....(see attachement).
regards
Ludo
- Attachments
-
- msysunixstyle.PNG (3.85 KiB) Viewed 12111 times
Re: ESP-IDF problems with mingw/mingw32/make
hi,
thanks for your feedback.
Unfortunately, I already followed these instructions without succes.
Trying to fix it, I added IDF_PATH to windows, but got following error :
IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/dir instead of C:/dir.
I changed this, but got an error (see attachement) .
Then I deleted completely the windows path to IDF, and kept only the paths to MSYS32/usr/bin to the make file.
Strange enough, I do not have any IDF path in windows anymore, but still get the same error IDF PAth cannot contain colons....
regards
Ludo
thanks for your feedback.
Unfortunately, I already followed these instructions without succes.
Trying to fix it, I added IDF_PATH to windows, but got following error :
IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/dir instead of C:/dir.
I changed this, but got an error (see attachement) .
Then I deleted completely the windows path to IDF, and kept only the paths to MSYS32/usr/bin to the make file.
Strange enough, I do not have any IDF path in windows anymore, but still get the same error IDF PAth cannot contain colons....
regards
Ludo
- Attachments
-
- msysunixstyle.PNG (3.85 KiB) Viewed 12043 times
Re: ESP-IDF problems with mingw/mingw32/make
https://docs.espressif.com/projects/esp ... ml#windows
You want to add it to the path in the msys2 environment not the windows environment. In general if you are using msys2 just pretend windows doesn't even exist.
You want to add it to the path in the msys2 environment not the windows environment. In general if you are using msys2 just pretend windows doesn't even exist.
Re: ESP-IDF problems with mingw/mingw32/make
Hi,
thanks for your feedback.
I have put it in c/msys32/et/profile.d/export_adf_path
But as it does not work, I also tried to put it in windows.
In mingw32, nothing happens, I get following error :
$ make menuconfig
Makefile:2: /project.mk: No such file or directory
make: *** No rule to make target '/project.mk'. Stop.
Still stuck...
Regards
Ludo
thanks for your feedback.
I have put it in c/msys32/et/profile.d/export_adf_path
But as it does not work, I also tried to put it in windows.
In mingw32, nothing happens, I get following error :
$ make menuconfig
Makefile:2: /project.mk: No such file or directory
make: *** No rule to make target '/project.mk'. Stop.
Still stuck...
Regards
Ludo
Re: ESP-IDF problems with mingw/mingw32/make
Close MSYS2 window and open it again. Check if IDF_PATH is set, by typing:
The path previusly entered in the script file should be printed out.Code: Select all
printenv IDF_PATH
If you do not like to have IDF_PATH set up permanently in user profile, you should enter it manually on opening of an MSYS2 window:
Code: Select all
export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf"
Re: ESP-IDF problems with mingw/mingw32/make
somehow, the system does not take the IDF_PATH file in profile.d directory.
when I now manually export it, the path is returned (there was confusion of the export IDF_PATH, which in a documents also was written as EXPORT_IDF_PATH as name.....so had to do export export_idf_path)
I now have following error :
$ make menuconfig
0 [main] make (6616) C:\msys32\usr\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x642D5408/0x612B6408.
Have re-installed cygwin, but error remains.
I think to re-install everything, but the problem is that there are several different documents, some of them refer to old versions. If there was 1 "latest" version, it would be good.
What I also do not understand is that some documents refer to mingw32, some documents refer to cmd.exe...............can I only use cmd.exe , and what should/not I install then ?
1 document with clear instructions would be very welcome.
regards
when I now manually export it, the path is returned (there was confusion of the export IDF_PATH, which in a documents also was written as EXPORT_IDF_PATH as name.....so had to do export export_idf_path)
I now have following error :
$ make menuconfig
0 [main] make (6616) C:\msys32\usr\bin\make.exe: *** fatal error - cygheap base mismatch detected - 0x642D5408/0x612B6408.
Have re-installed cygwin, but error remains.
I think to re-install everything, but the problem is that there are several different documents, some of them refer to old versions. If there was 1 "latest" version, it would be good.
What I also do not understand is that some documents refer to mingw32, some documents refer to cmd.exe...............can I only use cmd.exe , and what should/not I install then ?
1 document with clear instructions would be very welcome.
regards
Re: ESP-IDF problems with mingw/mingw32/make
when I click on the IDF_PATH.sh in the profile.d directory, it opens a screen and says :
bash: c:/msys32/home/user/esp-idf-v3.2.2: is a directory
/usr/bin/bash: Exit 126.
so this does not work..therefore, no automatically created path...now to solve this...
bash: c:/msys32/home/user/esp-idf-v3.2.2: is a directory
/usr/bin/bash: Exit 126.
so this does not work..therefore, no automatically created path...now to solve this...
Re: ESP-IDF problems with mingw/mingw32/make
The contents of IDF_PATH.sh file should be
Try running autorebase.bat in msys2 directory
Code: Select all
export IDF_PATH="c:/msys32/home/user/esp-idf-v3.2.2"
Who is online
Users browsing this forum: Google [Bot] and 107 guests