compile problem v9 esp

For general Flowcode discussion that does not belong in the other sections.
Post Reply
wayne_millard
Posts: 94
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Flowcode v9 compile problem v9 esp

Post by wayne_millard »

Hi all

I have a problem with compiling esp code and have spent over a day on uninstalling and installing toolchains.
OS is windows 11.
Please see report.

Target folder: C:\Users\wayne\Desktop\work
Source name: C:\Users\wayne\Desktop\work\test.fcfx
Device: ESP.ESP32.Heltec_WIFI_Kit_32
Generated by: Flowcode v9.3.1.36
Date: Monday, May 08, 2023 12:43:46
Registered to: wayne_millard (42536314)
Licence key: MEEYVZ
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\wayne\Desktop\esp-idf\" "test" "C:\Users\wayne\Desktop\work\" heltec_sdkconfig
C:\Users\wayne\Desktop\work>REM CRC: 0796FC1E6A776AF9156B257209C35258CE7C28B3EC20AEA2C632DB392A0E4BFD5B3F53B21811978F7B21FE4085045A7E774D1D3D69D8A99EE7320EAE740A5DB67F8D5CAC8A0E1A82899DF7B5AF7AF19707A873416006272C711B8143522C2B69DED9A8239BD70B72B199900461C78937B42DEF8219F63A24580137A2F6C8FDB7553324EFF791947E8AB6FFD612B81BAA97C798A8F1CFC189DE5D38517747C774AF2DD6F839BAECF83F7F994C7164CE77868F480396BDEF2F2C3050DA273BE4EECCB28ED73B4F0B935B5135E97FF9DC88EE7A30EE89165B16CC6735C2880B0855018D7FE4AA495AC4
C:\Users\wayne\Desktop\work>REM REVISION: 7.0
C:\Users\wayne\Desktop\work>REM GUID: 955EA920-4961-4C53-BA6B-EF4AF66BB4C2
C:\Users\wayne\Desktop\work>REM DATE: 24\04\2023
C:\Users\wayne\Desktop\work>REM DIR: FCD\ESP\Batch\esp32_build.bat
============================== Toolchain Check ==============================
git version 2.21.0.windows.1
ESP toolchain found at "C:\Users\wayne\Desktop\esp-idf\"
=============================================================================
Setting IDF_PATH: C:\Users\wayne\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\wayne\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Users\wayne\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\wayne\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\wayne\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\wayne\.espressif\tools\cmake\3.16.4\bin
C:\Users\wayne\.espressif\tools\openocd-esp32\v0.11.0-esp32-20220706\openocd-esp32\bin
C:\Users\wayne\.espressif\tools\ninja\1.10.0\
C:\Users\wayne\.espressif\tools\idf-exe\1.0.1\
C:\Users\wayne\.espressif\tools\ccache\3.7\
C:\Users\wayne\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Users\wayne\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\Users\wayne\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\wayne\Desktop\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/wayne/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/wayne/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/wayne/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/wayne/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/wayne/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
CMake Error at C:/Users/wayne/Desktop/esp-idf/tools/cmake/build.cmake:423 (message):
Traceback (most recent call last):
File "C:\Users\wayne\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\wayne\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\wayne\.espressif\python_env\idf4.2_py3.7_env\lib\site-packages\idf_component_manager\prepare_components\__main__.py", line 4, in <module>
from .prepare import main
File "C:\Users\wayne\.espressif\python_env\idf4.2_py3.7_env\lib\site-packages\idf_component_manager\prepare_components\prepare.py", line 18, in <module>
from ..core import ComponentManager
File "C:\Users\wayne\.espressif\python_env\idf4.2_py3.7_env\lib\site-packages\idf_component_manager\core.py", line 17, in <module>
import requests
File "C:\Users\wayne\.espressif\python_env\idf4.2_py3.7_env\lib\site-packages\requests\__init__.py", line 43, in <module>
import urllib3
File "C:\Users\wayne\.espressif\python_env\idf4.2_py3.7_env\lib\site-packages\urllib3\__init__.py", line 39, in <module>
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl'
module is compiled with OpenSSL 1.1.0j 20 Nov 2018. See:
https://github.com/urllib3/urllib3/issues/2168
Call Stack (most recent call first):
C:/Users/wayne/Desktop/esp-idf/tools/cmake/project.cmake:371 (idf_build_process)
CMakeLists.txt:13 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/wayne/Desktop/work/test/build/CMakeFiles/CMakeOutput.log".
Executing action: all (aliases: build)
Running cmake in directory c:\users\wayne\desktop\work\test\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 c:\users\wayne\desktop\work\test"...
cmake failed with exit code 1
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off

Thanks,
Wayne M

wayne_millard
Posts: 94
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: compile problem v9 esp

Post by wayne_millard »

Hi everyone

Spent another day trying to get a compiled project and still will not work.
I have tried all things that I have found on forum with no success.

Flowcode version 9
Windows 11

Wayne m

Post Reply