D:硬件开发资料esp-idf-v5.0.1examplesperipheralstwaitwai_networktwai_network_master>idf.py set-target esp32s3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of op
tions.
Executing action: fullclean
Build directory 'd:硬件开发资料esp-idf-v5.0.1examplesperipheralstwaitwai_networktwai_network_masterbuild' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s3, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory d:硬件开发资料esp-idf-v5.0.1examplesperipheralstwaitwai_networktwai_network_masterbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=1 d:硬件开发资 料esp-idf-v5.0.1examplesperipheralstwaitwai_networktwai_network_master"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.40.0.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: M:/work/tool/Espressif_ide2.9.0/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: M:/work/tool/Espressif_ide2.9.0/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-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: M:/work/tool/Espressif_ide2.9.0/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-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 esp32s3
-- Project sdkconfig file D:/硬件开发资料/esp-idf-v5.0.1/examples/peripherals/twai/twai_network/twai_network_master/sdkconfig
Traceback (most recent call last):
File "D:硬件开发资料esp-idf-v5.0.1toolskconfig_newprepare_kconfig_files.py", line 102, in
main()
File "D:硬件开发资料esp-idf-v5.0.1toolskconfig_newprepare_kconfig_files.py", line 94, in main
env.update(json.load(args.env_file))
File "C:UsersiwlbAppDataLocalProgramsPythonPython310libjson__init__.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xac in position 35: illegal multibyte sequence
Traceback (most recent call last):
File "D:硬件开发资料esp-idf-v5.0.1toolskconfig_newconfgen.py", line 607, in
main()
File "D:硬件开发资料esp-idf-v5.0.1toolskconfig_newconfgen.py", line 255, in main
env = json.load(args.env_file)
File "C:UsersiwlbAppDataLocalProgramsPythonPython310libjson__init__.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xac in position 35: illegal multibyte sequence
CMake Error at D:/硬件开发资料/esp-idf-v5.0.1/tools/cmake/kconfig.cmake:176 (message):
Failed to run confgen.py
(M:/work/tool/Espressif_ide2.9.0/python_env/idf5.0_py3.10_env/Scripts/python.exe;D:/硬件开发资料/esp-idf-v5.0.1/tools/kconfig_new/confgen.py;--list-separator=semicolon;--kconfig;D:/硬件开发资料/esp-idf-v5.0.1/Kconfig;--sdkconfig-rename;D:/硬件开发资料/esp-idf-v5.0.1/sdkconfig.rename;--config;D:/硬件开发资料/esp-idf-v5.0.1/examples/peripherals/twai/twai_network/twai_network_master/sdkconfig;--env-file;D:/硬件开发资料/esp-idf-v5.0.1/examples/peripherals/twai/twai_network/twai_network_master/build/config.env).
Error 1
Call Stack (most recent call first):
D:/硬件开发资料/esp-idf-v5.0.1/tools/cmake/build.cmake:590 (__kconfig_generate_config)
D:/硬件开发资料/esp-idf-v5.0.1/tools/cmake/project.cmake:440 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "D:/硬件开发资料/esp-idf-v5.0.1/examples/peripherals/twai/twai_network/twai_network_master/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "D:硬件开发资料esp-idf-v5.0.1toolsidf.py", line 772, in
main()
File "D:硬件开发资料esp-idf-v5.0.1toolsidf.py", line 707, in main
cli(sys.argv[1:], prog_name=PROG, complete_var=SHELL_COMPLETE_VAR)
File "M:worktoolEspressif_ide2.9.0python_envidf5.0_py3.10_envlibsite-packagesclickcore.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "M:worktoolEspressif_ide2.9.0python_envidf5.0_py3.10_envlibsite-packagesclickcore.py", line 1053, in main
rv = self.invoke(ctx)
File "M:worktoolEspressif_ide2.9.0python_envidf5.0_py3.10_envlibsite-packagesclickcore.py", line 1691, in invoke
return _process_result(rv)
File "M:worktoolEspressif_ide2.9.0python_envidf5.0_py3.10_envlibsite-packagesclickcore.py", line 1628, in _process_result
value = ctx.invoke(self._result_callback, value, **ctx.params)
File "M:worktoolEspressif_ide2.9.0python_envidf5.0_py3.10_envlibsite-packagesclickcore.py", line 754, in invoke
return __callback(*args, **kwargs)
File "D:硬件开发资料esp-idf-v5.0.1toolsidf.py", line 602, in execute_tasks
task(ctx, global_args, task.action_args)
File "D:硬件开发资料esp-idf-v5.0.1toolsidf.py", line 189, in __call__
self.callback(self.name, context, global_args, **action_args)
File "d:硬件开发资料esp-idf-v5.0.1toolsidf_py_actionscore_ext.py", line 161, in set_target
ensure_build_directory(args, ctx.info_name, True)
File "D:硬件开发资料esp-idf-v5.0.1toolsidf_py_actionstools.py", line 455, in ensure_build_directory
RunTool('cmake', cmake_args, cwd=args.build_dir, hints=hints)()
File "D:硬件开发资料esp-idf-v5.0.1toolsidf_py_actionstools.py", line 219, in __call__
print_hints(stderr_output_file, stdout_output_file)
File "D:硬件开发资料esp-idf-v5.0.1toolsidf_py_actionstools.py", line 125, in print_hints
output = ' '.join(line.strip() for line in file if line.strip())
File "D:硬件开发资料esp-idf-v5.0.1toolsidf_py_actionstools.py", line 125, in
output = ' '.join(line.strip() for line in file if line.strip())
UnicodeDecodeError: 'gbk' codec can't decode byte 0xac in position 50: illegal multibyte sequence
D:硬件开发资料esp-idf-v5.0.1examplesperipheralstwaitwai_networktwai_network_master>