I have tried every which way I can think of but still cannot get the esp-at to compile. I've followed the readme file to the letter but something always breaks.
This is my latest output.
Makefile:36: There is no module_config/module_wroom-32,Using module_config/module_esp32_default
/home/Jeff/esp/esp-at/tools/mkfatfs/Makefile.projbuild:13: warning: overriding recipe for target 'clean'
/home/Jeff/esp/esp-idf/components/app_update/Makefile.projbuild:48: warning: ignoring old recipe for target 'clean'
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-61-gab8375a
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Compiler version: 5.2.0
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-61-gab8375a
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
The following Python requirements are not satisfied:
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
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:/msys32/home/Jeff/esp/esp-idf/requirements.txt" for resolving the issue.
make: *** [C:/msys32/home/Jeff/esp/esp-idf/make/project.mk:501: check_python_dependencies] Error 1
So I try to intall the python requirements and get this..
$ python -m pip install --user -r c:/msys32/home/Jeff/esp/esp-idf/requirements.txt
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/developme ... -2-support
Requirement already satisfied: setuptools in c:/msys32/mingw32/lib/python2.7/site-packages (from -r c:/msys32/home/Jeff/esp/esp-idf/requirements.txt (line 4)) (31.0.0.post20170114)
Requirement already satisfied: pyserial>=3.0 in c:/msys32/mingw32/lib/python2.7/site-packages (from -r c:/msys32/home/Jeff/esp/esp-idf/requirements.txt (line 8)) (3.3)
Requirement already satisfied: future>=0.15.2 in c:/msys32/home/jeff/.local/lib/python2.7/site-packages (from -r c:/msys32/home/Jeff/esp/esp-idf/requirements.txt (line 9)) (0.18.2)
Collecting cryptography>=2.1.4
Using cached https://files.pythonhosted.org/packages ... 2.8.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: C:/msys32/mingw32/bin/python.exe C:/msys32/mingw32/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix c:/users/jeff/appdata/local/temp/pip-build-env-pka1o1/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (62 lines):
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/developme ... -2-support
Collecting setuptools>=40.6.0
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting wheel
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting cffi!=1.11.3,>=1.8
Using cached https://files.pythonhosted.org/packages ... 3.2.tar.gz
Processing c:/users/jeff/appdata/local/pip/cache/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl
Installing collected packages: setuptools, wheel, pycparser, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: C:/msys32/mingw32/bin/python.exe -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:/users/jeff/appdata/local/temp/pip-install-73hvjc/cffi/setup.py'"'"'; __file__='"'"'c:/users/jeff/appdata/local/temp/pip-install-73hvjc/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record c:/users/jeff/appdata/local/temp/pip-record-osuh62/install-record.txt --single-version-externally-managed --prefix c:/users/jeff/appdata/local/temp/pip-build-env-pka1o1/overlay --compile
cwd: c:/users/jeff/appdata/local/temp/pip-install-73hvjc/cffi/
Complete output (45 lines):
No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module. See
the error messages above. Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code. (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.freenode.net.)
Trying to continue anyway. If you are trying to install CFFI from
a build done in a different context, you can ignore this warning.
running install
running build
running build_py
creating build
creating build/lib.mingw-2.7
creating build/lib.mingw-2.7/cffi
copying cffi/api.py -> build/lib.mingw-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.mingw-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.mingw-2.7/cffi
copying cffi/commontypes.py -> build/lib.mingw-2.7/cffi
copying cffi/cparser.py -> build/lib.mingw-2.7/cffi
copying cffi/error.py -> build/lib.mingw-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.mingw-2.7/cffi
copying cffi/lock.py -> build/lib.mingw-2.7/cffi
copying cffi/model.py -> build/lib.mingw-2.7/cffi
copying cffi/pkgconfig.py -> build/lib.mingw-2.7/cffi
copying cffi/recompiler.py -> build/lib.mingw-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.mingw-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.mingw-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.mingw-2.7/cffi
copying cffi/verifier.py -> build/lib.mingw-2.7/cffi
copying cffi/__init__.py -> build/lib.mingw-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.mingw-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.mingw-2.7/cffi
copying cffi/_embedding.h -> build/lib.mingw-2.7/cffi
copying cffi/_cffi_errors.h -> build/lib.mingw-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.mingw-2.7
creating build/temp.mingw-2.7/c
i686-w64-mingw32-gcc -fno-strict-aliasing -march=i686 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -DNDEBUG -DNDEBUG -I/usr/include/ffi -I/usr/include/libffi -IC:/msys32/mingw32/include/python2.7 -c c/_cffi_backend.c -o build/temp.mingw-2.7/c/_cffi_backend.o
error: command 'i686-w64-mingw32-gcc' failed: No such file or directory
----------------------------------------
ERROR: Command errored out with exit status 1: C:/msys32/mingw32/bin/python.exe -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:/users/jeff/appdata/local/temp/pip-install-73hvjc/cffi/setup.py'"'"'; __file__='"'"'c:/users/jeff/appdata/local/temp/pip-install-73hvjc/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record c:/users/jeff/appdata/local/temp/pip-record-osuh62/install-record.txt --single-version-externally-managed --prefix c:/users/jeff/appdata/local/temp/pip-build-env-pka1o1/overlay --compile Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: C:/msys32/mingw32/bin/python.exe C:/msys32/mingw32/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix c:/users/jeff/appdata/local/temp/pip-build-env-pka1o1/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
I don't know what to do next.
Cannot compile esp-at
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: Bing [Bot] and 111 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.