In addition to previous post, if I was to do a ESP-IDF: Build your project
I get the following output.
> Executing task: cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 .. <
-- Found Git: C:/Users/djosh/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
-- 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/djosh/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/djosh/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/djosh/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- 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
-- Project sdkconfig file G:/Test Projects/VS examples/blink/sdkconfig
Traceback (most recent call last):
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 2187, in _enter_file
self._readline = self._open(filename, "r").readline
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 3915, in _open
open(filename, mode, encoding=self._encoding)
PermissionError: [Errno 13] Permission denied: 'G:/Test'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/djosh/esp/esp-idf/tools/kconfig_new/confgen.py", line 640, in <module>
main()
File "C:/Users/djosh/esp/esp-idf/tools/kconfig_new/confgen.py", line 260, in main
config = kconfiglib.Kconfig(args.kconfig)
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 947, in __init__
self._init(filename, warn, warn_to_stderr, encoding)
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 1085, in _init
self._parse_block(None, self.top_node, self.top_node).next = None
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 2982, in _parse_block
prev = self._parse_block(None, parent, prev)
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 2981, in _parse_block
self._enter_file(filename)
File "C:\Users\djosh\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\kconfiglib.py", line 2190, in _enter_file
raise _KconfigIOError(
kconfiglib._KconfigIOError: G:/Test Projects/VS examples/blink/build/kconfigs_projbuild.in:6: Could not open 'G:/Test' (in 'source "G:/Test"') (EACCES: Permission denied)
CMake Error at C:/Users/djosh/esp/esp-idf/tools/cmake/kconfig.cmake:266 (message):
Failed to run confgen.py
(C:/Users/djosh/.espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe;C:/Users/djosh/esp/esp-idf/tools/kconfig_new/confgen.py;--kconfig;C:/Users/djosh/esp/esp-idf/Kconfig;--sdkconfig-rename;C:/Users/djosh/esp/esp-idf/sdkconfig.rename;--config;G:/Test
Projects/VS examples/blink/sdkconfig;--defaults;G:/Test Projects/VS
examples/blink/sdkconfig.defaults;--env-file;G:/Test Projects/VS
examples/blink/build/config.env). Error 1
Call Stack (most recent call first):
C:/Users/djosh/esp/esp-idf/tools/cmake/build.cmake:528 (__kconfig_generate_config)
C:/Users/djosh/esp/esp-idf/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "G:/Test Projects/VS examples/blink/build/CMakeFiles/CMakeOutput.log".
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 .." terminated with exit code: 1.