Closed javfernandez closed 4 years ago
@javfernandez Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, and etc. would help us debug further. Thanks.
Hi @javfernandez, I cannot seem to reproduce this issue on my Windows machine. What version of CMake do you have?
Also, can you test executing the command on the actual example directory (minus -C ./hello_world
of course)
Neither could I reproduce. Even the -C
option works for me as it should be in the v4.0 branch.
This is suspicious:
Project version: v4.0-dirty
Please examine the output of git status
, clean uncommitted changes and update the submodules.
I executed from de example directory as @renzbagaporo suggested. I get the following output:
C:\Users\USUARIO\Desktop\esp-idf\hello_world>idf.py --port COM10 -v menuconfig
Checking Python dependencies...
Python requirements from C:\Users\USUARIO\Desktop\esp-idf\requirements.txt are satisfied.
Executing action: menuconfig
Running cmake in directory c:\users\usuario\desktop\esp-idf\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=0 c:\users\usuario\desktop\esp-idf\hello_world"...
Warn about uninitialized values.
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.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/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.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 version: v4.0-dirty
-- Building ESP-IDF components for target esp32
Traceback (most recent call last):
File "C:/Users/USUARIO/Desktop/esp-idf/tools/kconfig_new/confgen.py", line 571, in
-- Configuring incomplete, errors occurred! See also "C:/Users/USUARIO/Desktop/esp-idf/hello_world/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1
cd
This seems to be a different error entirely @javfernandez. I'm inclined to be suspicious of the possible modifications as @dobairoland mentioned:
Project version: v4.0-dirty
I second his suggestion of:
Please examine the output of git status, clean uncommitted changes and update the submodules.
and trying again...
Any updates @javfernandez ?
Hi, Im gonna try what @renzbagaporo suggestedd. I see there is a lot of uncommited changes in the repository and I want to try to update the repository
Well, I made it work, I had to dischard all changes and updates all submodules Thanks for all!
Thanks for the update @javfernandez. Please close the issue if this is no longer an issue. Thanks!
https://github.com/renzbagaporo how to do the following? Please examine the output of git status, clean uncommitted changes and update the submodules.
I get the following when i install esp-at
PS C:\Espressif\frameworks\esp-idf-v4.4\esp\esp-at> python build.py install Ready to install ESP-IDF prerequisites.. Windows Installer Download has already installed all prerequisites. Ready to install ESP-AT prerequisites.. Requirement already satisfied: setuptools>=21 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 4)) (51.3.3) Requirement already satisfied: cryptography<35,>=2.1.4 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 9)) (3.4.8) Requirement already satisfied: pyyaml in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 10)) (6.0) Requirement already satisfied: xlrd in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 11)) (2.0.1) Collecting pycryptodome==3.15.0 Downloading pycryptodome-3.15.0-cp35-abi3-win_amd64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 965.8 kB/s eta 0:00:00 Collecting idf-component-manager==1.1.4 Downloading idf_component_manager-1.1.4-py3-none-any.whl (95 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.6/95.6 kB 1.4 MB/s eta 0:00:00 Requirement already satisfied: contextlib2>0.6.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (21.6.0) Requirement already satisfied: schema in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.7.5) Requirement already satisfied: requests-toolbelt in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.9.1) Requirement already satisfied: requests<3 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (2.27.1) Requirement already satisfied: future in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.18.2) Requirement already satisfied: click>=8.0.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (8.0.4) Requirement already satisfied: colorama in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.4.4) Requirement already satisfied: tqdm<5 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (4.63.0) Requirement already satisfied: six in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (1.16.0) Requirement already satisfied: cffi>=1.12 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (1.15.0) Requirement already satisfied: pycparser in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from cffi>=1.12->cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (2.21) Requirement already satisfied: charset-normalizer~=2.0.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (1.26.9) Requirement already satisfied: idna<4,>=2.5 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (3.3) Requirement already satisfied: certifi>=2017.4.17 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (2021.10.8) Installing collected packages: pycryptodome, idf-component-manager Attempting uninstall: idf-component-manager Found existing installation: idf-component-manager 1.0.1 Uninstalling idf-component-manager-1.0.1: Successfully uninstalled idf-component-manager-1.0.1 Successfully installed idf-component-manager-1.1.4 pycryptodome-3.15.0
[notice] A new release of pip available: 22.1.2 -> 22.2.2 [notice] To update, run: python.exe -m pip install --upgrade pip Platform name:
Module name:
Enable silence mode to remove some logs and reduce the firmware size?
Suggestion [3,General]: The command build.py was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\build.py". See "get-help about_Command_Precedence" for more details. PS C:\Espressif\frameworks\esp-idf-v4.4\esp\esp-at> .\build.py install Ready to install ESP-IDF prerequisites.. Windows Installer Download has already installed all prerequisites. Ready to install ESP-AT prerequisites.. Requirement already satisfied: setuptools>=21 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 4)) (51.3.3) Requirement already satisfied: cryptography<35,>=2.1.4 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 9)) (3.4.8) Requirement already satisfied: pyyaml in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 10)) (6.0) Requirement already satisfied: xlrd in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 11)) (2.0.1) Requirement already satisfied: pycryptodome==3.15.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 12)) (3.15.0) Requirement already satisfied: idf-component-manager==1.1.4 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r requirements.txt (line 13)) (1.1.4) Requirement already satisfied: schema in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.7.5) Requirement already satisfied: six in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (1.16.0) Requirement already satisfied: requests-toolbelt in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.9.1) Requirement already satisfied: future in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.18.2) Requirement already satisfied: colorama in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (0.4.4) Requirement already satisfied: tqdm<5 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (4.63.0) Requirement already satisfied: requests<3 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (2.27.1) Requirement already satisfied: click>=8.0.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (8.0.4) Requirement already satisfied: contextlib2>0.6.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from idf-component-manager==1.1.4->-r requirements.txt (line 13)) (21.6.0) Requirement already satisfied: cffi>=1.12 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (1.15.0) Requirement already satisfied: pycparser in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from cffi>=1.12->cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (2.21) Requirement already satisfied: certifi>=2017.4.17 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (2021.10.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (1.26.9) Requirement already satisfied: idna<4,>=2.5 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (3.3) Requirement already satisfied: charset-normalizer~=2.0.0 in c:\espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from requests<3->idf-component-manager==1.1.4->-r requirements.txt (line 13)) (2.0.12)
[notice] A new release of pip available: 22.1.2 -> 22.2.2 [notice] To update, run: python.exe -m pip install --upgrade pip Platform name:ESP32 Module name:WROOM-32 Silence:1 submodules check completed for updates. Ready to set up ESP-IDF tools.. ERROR: This script was called from a virtual environment, can not create a virtual environment again A fatal error occurred: set up ESP-IDF python-env failed
@renzbagaporo Pls see if you can help with the issues I'm facing with esp32
@rkashish75 You can report issues for ESP-AT at https://github.com/espressif/esp-at.
Hi everybody I have a problem while executing the idf.py menuconfig: Operation system:Windows 10. Python Version: Python 3.7.2 The command is: >idf.py --port COM10 -C ./hello_world -v menuconfig And I get Checking Python dependencies... Python requirements from C:\Users\USUARIO\Desktop\esp-idf\requirements.txt are satisfied. Executing action: menuconfig Running cmake in directory c:\users\usuario\desktop\esp-idf\hello_world\build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=0 c:\users\usuario\desktop\esp-idf\hello_world"... Warn about uninitialized values. -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1") -- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32 -- IDF_TARGET not set, using default target: esp32 -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.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/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Users/USUARIO/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.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 version: v4.0-dirty -- Building ESP-IDF components for target esp32 cmake failed with exit code 3221225725
What Im doing wrong Thanks