make command to compile library (ESP32 setting windows)

ElektronikMann
Posts: 1
Joined: Sun Apr 07, 2019 9:12 pm

make command to compile library (ESP32 setting windows)

Postby ElektronikMann » Sun Apr 07, 2019 9:26 pm

i followed this tutorial to install Setting up ESP32 on windows using msys, but when i made make command to build librarys i get this error. how i can solve the issue, thank you !!

/**********************************************************************************************************************************************************/
arezki.youyou@CEVLAP2621 MINGW32 /c/esp32/esp-idf-template
$ make
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
The following Python requirements are not satisfied:
cryptography>=2.1.4
pyparsing>=2.0.3
pyelftools>=0.22
The recommended way to install a packages is via "pacman". Please run "pacman -Ss <package_name>" for searching the package database and if found then "pacman -S mingw-w64-i686-python2-<package_name>" for installing it.
NOTE: You may need to run "pacman -Syu" if your package database is older and run twice if the previous run updated "pacman" itself.
Please read https://github.com/msys2/msys2/wiki/Using-packages for further information about using "pacman"
WARNING: The cryptography package have dependencies on system packages so please make sure you run "pacman -Syu" followed by "pacman -S mingw-w64-i686-python2-cryptography".
Alternatively, you can run "C:/msys32/mingw32/bin/python.exe -m pip install --user -r C:/esp32/esp-idf/requirements.txt" for resolving the issue.
make: *** [/c/esp32/esp-idf/make/project.mk:245: check_python_dependencies] Error 1

/**********************************************************************************************************************************************************/

vivektech
Posts: 1
Joined: Tue Apr 16, 2019 9:13 am

Re: make command to compile library (ESP32 setting windows)

Postby vivektech » Tue Apr 16, 2019 9:17 am

I had same issue, even python packages listed in requirements were latest!.
Uninstalled pyelftools and reinstalled again and everything worked further. Please try the same at your end.

Zasarynn
Posts: 1
Joined: Tue Apr 16, 2019 5:42 am

Re: make command to compile library (ESP32 setting windows)

Postby Zasarynn » Tue Apr 16, 2019 11:40 am

and i have the same problem and can't fix it.

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: make command to compile library (ESP32 setting windows)

Postby fly135 » Wed Apr 17, 2019 12:43 am

Let me help you out with that...

viewtopic.php?f=13&t=9798
Need to do these two things in win10, as it appear the requirements script doesn't work correctly on 10 with IDF v3.1.1

pacman -S mingw-w64-i686-python2-cryptography
pacman -S mingw-w64-i686-python2-enum

Who is online

Users browsing this forum: No registered users and 120 guests