Hey guys,
So this may have been approached 100 different ways by 500 different people, but right now the search gives me a 500 error every time, so I have to post it.
When running a requirements check, I get to cryptography and it fails. Something very curious is is that "cryptographt>=2.1.4" when ran under Windows produces a file called "=2.1.4" (because > is redirection) which contains some information about a failing cryptography library...hmmm...possibly completely not the cause.
The error message when checking requirements is:
TypeError: '>=' not supported between instances of 'NoneType' and 'str'
which comes from a failure for the build script to find the correct version of ld,exe. Adding some debugging in to the script, this finds:
/usr/lib/gcc/i686-pc-msys/9.1.0/../../../../i686-pc-msys/bin/ld.exe which is the equivalent of /usr/i686-pc-msys/bin/ld.exe
I found the version from this and hardcoded it just to see how much further it would get: it got to the point of building openssl object, which is where it stopped trying to do:
i686-w64-mingw32-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -D_WIN32_WINNT=0x0601 -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fwrapv -D__USE_MINGW_ANSI_STDIO=1 -D_WIN32_WINNT=0x0601 -DNDEBUG -IE:/esp/msys32/mingw32/include/python3.8 -c build/temp.mingw-3.8/_openssl.c -o build/temp.mingw-3.8/build/temp.mingw-3.8/_openssl.o
error: command 'i686-w64-mingw32-gcc' failed: No such file or directory
At this point I'm pretty stumped. I can run some of the examples, but anything that requires cryptography I cannot, and I need this for the esp-va-sdk I'm trying to flash to a LyraTD-MSC board.
In the last 2 days I think I've tried every solution, including deleting everything and starting over.
Windows 10
MSYS32 from the latest zip package from the site
Python running @3.8 from a Mingw32 console
I've thought about going the cmake route as some people say that works for them, but I'm not easily phased and know it's just a missing library or something somewhere.
Is there a reason someone hasn't just created a container image with all of this working?
Thanks for any help.
Paul
Failing to setup environment
-
- Posts: 12
- Joined: Thu Dec 06, 2018 4:03 am
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: taherrera and 209 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.