Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
DreamLovely
Posts: 4 Joined: 2023年 May 4日 14:33
2023年 Dec 14日 19:28
在开始编译app的部分失败。。
Ubuntu20.04,python 3.8.10,基本都是默认的Linux
====== build app(tuyaos_demo_quickstart) begin =======
# 开始编译app
apps/tuyaos_demo_quickstart
tuyaos_demo_quickstart 1.0.0 esp32 apps/tuyaos_demo_quickstart
APP_BIN_NAME=tuyaos_demo_quickstart
APP_VERSION=1.0.0
TARGET_PLATFORM=esp32
APP_PATH=apps/tuyaos_demo_quickstart
USER_CMD=
Start Compile
LESSOPEN=| /usr/bin/lesspipe %s
USER=dlx
SSH_CLIENT=192.168.3.168 51846 22
APP_DEBUG=1
XDG_SESSION_TYPE=tty
TUYA_APPS_BUILD_PATH=.
TUYA_TOOLCHAIN_ZIP=
SHLVL=1
BROWSER=/home/dlx/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/bin/helpers/browser.sh
HOME=/home/dlx
OLDPWD=/home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart
MOTD_SHOWN=pam
VSCODE_IPC_HOOK_CLI=/run/user/1000/vscode-ipc-7c84c7ba-6867-48e0-9570-a73835ff0e2e.sock
TERM_PROGRAM_VERSION=1.85.0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAKEFLAGS= -- USER_CMD= APP_VER=1.0.0 APP_NAME=tuyaos_demo_quickstart
APP_NAME=tuyaos_demo_quickstart
TARGET_PLATFORM=esp32
APP_BIN_NAME=tuyaos_demo_quickstart
COLORTERM=truecolor
MAKE_TERMERR=/dev/pts/0
USER_SW_VER=1.0.0
LOGNAME=dlx
_=./build_app.sh
XDG_SESSION_CLASS=user
XDG_SESSION_ID=5
COMPILE_PREX=/home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/tools/riscv32-esp-elf/bin/riscv32-esp-elf-
TERM=xterm-256color
IDF_PATH=/home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../esp-idf
PATH=/home/dlx/.vscode-server/bin/af28b32d7e553898b2a91af498b1fb666fdebe0c/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
XDG_RUNTIME_DIR=/run/user/1000
MAKELEVEL=1
APP_PATH=apps/tuyaos_demo_quickstart
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MAKEOVERRIDES=${-*-command-variables-*-}
TERM_PROGRAM=vscode
SHELL=/bin/bash
MAKE_TERMOUT=/dev/pts/0
LESSCLOSE=/usr/bin/lesspipe %s %s
TUYA_IDE_PYTHON_ENV=/home/dlx/.tuya/venv/bin/python
TUYA_TOOLCHAIN_PRE=../toolchain/tools/riscv32-esp-elf/bin/riscv32-esp-elf-
TUYA_APPS_BUILD_CMD=build.sh
PWD=/home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
SSH_CONNECTION=192.168.3.168 51846 192.168.3.212 22
TUYAOS_BUILD_PATH=/home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos
USER_CMD=all
MFLAGS=
APP_VER=1.0.0
APP_VERSION=1.0.0
build.sh: 109: /home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env/idf4.4_py3.8_env/bin/python: not found
make: *** [/home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/scripts/mk/app.mk:191: app_by_name] Error 127
dlx@ubuntu:~/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS$
愚者千虑必有一得
Posts: 499 Joined: 2022年 Sep 16日 18:13
2023年 Dec 15日 18:04
这个路径存在么? /home/dlx/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env/idf4.4_py3.8_env/bin/python
DreamLovely
Posts: 4 Joined: 2023年 May 4日 14:33
2023年 Dec 20日 19:05
clean application static ...
find: ‘apps/tuyaos_demo_quickstart/application_components’: No such file or directory
find: ‘apps/tuyaos_demo_quickstart/application_drivers’: No such file or directory
find: ‘apps/tuyaos_demo_quickstart/application_components’: No such file or directory
find: ‘apps/tuyaos_demo_quickstart/application_drivers’: No such file or directory
好像确实少了这些文件。。但是哪里的问题会少这些文件呢
愚者千虑必有一得
Posts: 499 Joined: 2022年 Sep 16日 18:13
2024年 Jun 27日 19:34
这些文件不影响编译,这个是我们产品开发包会有的,找不到没关系
愚者千虑必有一得
Posts: 499 Joined: 2022年 Sep 16日 18:13
2024年 Jun 28日 09:52
你可以试试把vendor路径下的esp32删掉,然后重新编译一下,会重新拉一下esp32的环境。这个地方找不到主要是环境的问题,esp32编译是使用他自己的Python环境的。
renbingcheng
Posts: 5 Joined: 2024年 Jun 28日 16:52
2024年 Jun 28日 17:05
愚者千虑必有一得 2024年 Jun 28日 09:52
你可以试试把vendor路径下的esp32删掉,然后重新编译一下,会重新拉一下esp32的环境。这个地方找不到主要是环境的问题,esp32编译是使用他自己的Python环境的。
我遇到了相同的问题,使用你们提供的虚拟机镜像,安装了cmake和python3.8,也尝试过把vendor路径下的esp32删掉,然后重新编译,结果还是一样,下面是完整的log,麻烦看一下是什么问题?
Code: Select all
tuyaos@tuyaos-dev:~/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS$ ./build_app.sh apps/tuyaos_demo_quickstart tuyaos_demo_quickstart 1.0.0
APP_PATH=apps/tuyaos_demo_quickstart
APP_NAME=tuyaos_demo_quickstart
APP_VERSION=1.0.0
USER_CMD=
APP_NAME=tuyaos_demo_quickstart
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS
APP_VERSION= 1.0.0
TARGET_PLATFORM= esp32
ESP_CHIP_TYPE=esp32c3
use esp32c3 build_path and sdk config
./scripts/prepare_param.sh: 行 7: git:未找到命令
grep: make.yaml: 没有那个文件或目录
toolchain Name: esp32
toolchain Repo: https://airtake-public-data-1254153901.cos.ap-shanghai.myqcloud.com/smart/embed/pruduct/esp32_.zip
toolchain Version:
++++++++++++++++++++ CI package fullname ++++++++++++++++++++
++++++++++++++++++++ the SDK ID tuyaos_demo_quickstart_1.0.0_esp32 ++++++++++++++++++++
generate build_param for [ tuyaos_demo_quickstart ] AT [ esp32 ]
+++++++++++++++++++++++++++++++++++
# Project [ tuyaos_demo_quickstart ] Param:
BUILD_DATE=2024_06_28
BUILD_TIME=16_04_47
GIT_USER=
IOT_SDK_VER=1.0.0
IPC_SDK_VER=1.0.0
SDK_FULL_VER=1.0.0
SDK_BETA_VER=
IOT_SDK_VER_MAJOR=1
IOT_SDK_VER_MINOR=0
IOT_SDK_VER_PATCH=0
KERNEL_VERSION=
PROJECT_NAME=tuyaos_demo_quickstart
TARGET_PLATFORM=esp32
TARGET_PLATFORM_REPO=https://airtake-public-data-1254153901.cos.ap-shanghai.myqcloud.com/smart/embed/pruduct/esp32_.zip
TARGET_PLATFORM_VERSION=
BUILD_STATIC=1
BUILD_SHARED=
SDK_ID=tuyaos_demo_quickstart_1.0.0_esp32
ROOT_DIR=/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS
OUTPUT_DIR=$(ROOT_DIR)/output/$(TARGET_PLATFORM)_$(PROJECT_NAME)
OUTPUT_DIR_INC=$(OUTPUT_DIR)/include
OUTPUT_DIR_STATIC_LIB=$(OUTPUT_DIR)/static/lib
OUTPUT_DIR_SHARED_LIB=$(OUTPUT_DIR)/shared/lib
OUTPUT_DIR_STATIC_OBJS=$(OUTPUT_DIR)/static/objs
OUTPUT_DIR_SHARED_OBJS=$(OUTPUT_DIR)/shared/objs
COMPILE_PREX = /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/tools/riscv32-esp-elf/bin/riscv32-esp-elf-
TUYAOS_BUILD_PATH = /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos
AR = $(COMPILE_PREX)ar
CC = $(COMPILE_PREX)gcc
NM = $(COMPILE_PREX)nm
CPP = $(COMPILE_PREX)g++
STRIP = $(COMPILE_PREX)strip
OBJCOPY = $(COMPILE_PREX)objcopy
OBJDUMP = $(COMPILE_PREX)objdump
RANLIB = $(COMPILE_PREX)ranlib
CXX = $(COMPILE_PREX)g++
CFLAGS =
CFLAGS += -pipe -D_REENTRANT -Wall -Wno-unused-result
ifeq ($(CONFIG_OPERATING_SYSTEM), 100)
CFLAGS += -fPIC
endif
ifeq ($(CONFIG_TUYA_IOT_DEBUG), 1)
CFLAGS += -g
endif
ifdef PRJ_DEFINES
CFLAGS += $(PRJ_DEFINES)
endif
ifdef COMPILE_INCLUDE
CFLAGS += -I $(COMPILE_INCLUDE)
endif
ifdef COMPILE_LIB
export LD_LIBRARY_PATH=$(COMPILE_LIB)
endif
LINKFLAGS =
ifeq ($(CONFIG_OPERATING_SYSTEM), 100)
LINKFLAGS += -lpthread -lm
endif
ifdef PRJ_LINKS
LINKFLAGS += $(PRJ_LINKS)
endif
-----------------------------------
clean application static ...
find: ‘apps/tuyaos_demo_quickstart/application_components’: 没有那个文件或目录
find: ‘apps/tuyaos_demo_quickstart/application_drivers’: 没有那个文件或目录
find: ‘apps/tuyaos_demo_quickstart/application_components’: 没有那个文件或目录
find: ‘apps/tuyaos_demo_quickstart/application_drivers’: 没有那个文件或目录
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/tal_uart.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/dp_process.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/mqrspec.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/split.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/rsecc.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/qrinput.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/qrspec.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/bitstream.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/qrencode.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/mmask.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/qrenc.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/libqrencode/mask.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/tuya_app_main.c
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/tuya_app_main.c: In function '__soc_device_init':
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/tuya_app_main.c:380:5: warning: missing initializer for field 'ap_ssid' of 'WF_GW_PROD_INFO_S' {aka 'struct <anonymous>'} [-Wmissing-field-initializers]
WF_GW_PROD_INFO_S prod_info = {UUID, AUTHKEY};
^~~~~~~~~~~~~~~~~
In file included from include/components/svc_api_wifi/include/tuya_iot_wifi_api.h:19,
from /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/tuya_app_main.c:17:
include/components/svc_wifi/include/tuya_cloud_wifi_defs.h:119:13: note: 'ap_ssid' declared here
CHAR_T *ap_ssid; // strlen(ap_ssid) <= 16,if ap_ssid is null ,then the default ssid is Smartlife_xxxx
^~~~~~~
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/app_key.c
CC /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart/src/app_led.c
AR -rcs /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaos_demo_quickstart.a /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/tal_uart.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/dp_process.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/mqrspec.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/split.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/rsecc.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrinput.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrspec.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/bitstream.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrencode.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/mmask.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrenc.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/mask.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/tuya_app_main.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/app_key.c.o /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/app_led.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaos_demo_quickstart.a build done.
------------------------------
AR -rcs /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaapp_components.a
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaapp_components.a build done.
------------------------------
AR -rcs /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaapp_drivers.a
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaapp_drivers.a build done.
------------------------------
AR -rcs /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaos_demo_quickstart.a /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/bitstream.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/rsecc.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrinput.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/mqrspec.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/split.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/mask.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrenc.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrencode.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/mmask.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/libqrencode/qrspec.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/tuya_app_main.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/app_led.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/app_key.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/tal_uart.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/.objs/static/apps/tuyaos_demo_quickstart/src/dp_process.c.o
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/output/esp32_tuyaos_demo_quickstart/lib/libtuyaos_demo_quickstart.a build done.
------------------------------
====== build app(tuyaos_demo_quickstart) begin =======
# 开始编译app
apps/tuyaos_demo_quickstart
tuyaos_demo_quickstart 1.0.0 esp32 apps/tuyaos_demo_quickstart
APP_BIN_NAME=tuyaos_demo_quickstart
APP_VERSION=1.0.0
TARGET_PLATFORM=esp32
APP_PATH=apps/tuyaos_demo_quickstart
USER_CMD=
Start Compile
LESSOPEN=| /usr/bin/lesspipe %s
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
LC_TIME=zh_CN.UTF-8
USER=tuyaos
LANGUAGE=zh_CN:en
APP_DEBUG=1
XDG_SESSION_TYPE=x11
SSH_AGENT_PID=1180
TUYA_APPS_BUILD_PATH=.
TUYA_TOOLCHAIN_ZIP=
SHLVL=1
HOME=/home/tuyaos
OLDPWD=/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/apps/tuyaos_demo_quickstart
CHROME_DESKTOP=code-url-handler.desktop
DESKTOP_SESSION=ubuntu
TERM_PROGRAM_VERSION=1.90.2
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/code.desktop
GTK_MODULES=gail:atk-bridge
GNOME_SHELL_SESSION_MODE=ubuntu
MANAGERPID=937
LC_MONETARY=zh_CN.UTF-8
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAKEFLAGS= -- USER_CMD= APP_VER=1.0.0 APP_NAME=tuyaos_demo_quickstart
APP_NAME=tuyaos_demo_quickstart
TARGET_PLATFORM=esp32
APP_BIN_NAME=tuyaos_demo_quickstart
GIO_LAUNCHED_DESKTOP_FILE_PID=13189
COLORTERM=truecolor
MAKE_TERMERR=/dev/pts/1
IM_CONFIG_PHASE=1
USER_SW_VER=1.0.0
LOGNAME=tuyaos
JOURNAL_STREAM=8:30033
_=./build_app.sh
XDG_SESSION_CLASS=user
USERNAME=tuyaos
COMPILE_PREX=/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/tools/riscv32-esp-elf/bin/riscv32-esp-elf-
TERM=xterm-256color
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
WINDOWPATH=2
IDF_PATH=/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../esp-idf
PATH=/home/tuyaos/.local/bin:/home/tuyaos/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PAPERSIZE=a4
SESSION_MANAGER=local/tuyaos-dev:@/tmp/.ICE-unix/1218,unix/tuyaos-dev:/tmp/.ICE-unix/1218
INVOCATION_ID=eab76fc176eb44aabb4a94f0ec13fdde
XDG_RUNTIME_DIR=/run/user/1000
XDG_MENU_PREFIX=gnome-
GDK_BACKEND=x11
LC_ADDRESS=zh_CN.UTF-8
MAKELEVEL=1
DISPLAY=:0
APP_PATH=apps/tuyaos_demo_quickstart
XDG_CURRENT_DESKTOP=Unity
LC_TELEPHONE=zh_CN.UTF-8
LANG=zh_CN.UTF-8
XAUTHORITY=/run/user/1000/gdm/Xauthority
XMODIFIERS=@im=ibus
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_SESSION_DESKTOP=ubuntu
MAKEOVERRIDES=${-*-command-variables-*-}
TERM_PROGRAM=vscode
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
ORIGINAL_XDG_CURRENT_DESKTOP=ubuntu:GNOME
SHELL=/bin/bash
LC_NAME=zh_CN.UTF-8
GDMSESSION=ubuntu
MAKE_TERMOUT=/dev/pts/1
QT_ACCESSIBILITY=1
LESSCLOSE=/usr/bin/lesspipe %s %s
TUYA_IDE_PYTHON_ENV=/home/tuyaos/.tuya/venv/bin/python
LC_MEASUREMENT=zh_CN.UTF-8
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GJS_DEBUG_OUTPUT=stderr
TUYA_TOOLCHAIN_PRE=../toolchain/tools/riscv32-esp-elf/bin/riscv32-esp-elf-
LC_IDENTIFICATION=zh_CN.UTF-8
TUYA_APPS_BUILD_CMD=build.sh
QT_IM_MODULE=ibus
PWD=/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
LC_NUMERIC=zh_CN.UTF-8
TUYAOS_BUILD_PATH=/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos
USER_CMD=all
MFLAGS=
LC_PAPER=zh_CN.UTF-8
APP_VER=1.0.0
APP_VERSION=1.0.0
build.sh: 109: /home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env/idf4.4_py3.8_env/bin/python: not found
make: *** [/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/scripts/mk/app.mk:191:app_by_name] 错误 127
tuyaos@tuyaos-dev:~/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS$ cmake --version
cmake version 3.16.9
CMake suite maintained and supported by Kitware (kitware.com/cmake).
tuyaos@tuyaos-dev:~/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS$ python3.8 --version
Python 3.8.10
tuyaos@tuyaos-dev:~/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS$
愚者千虑必有一得
Posts: 499 Joined: 2022年 Sep 16日 18:13
2024年 Jun 28日 17:40
esp-idf的python环境是在这个目录,看看这个是否完整?
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env/idf4.4_py3.8_env/bin/python
试试把/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env目录删掉重新编译一下试试?
renbingcheng
Posts: 5 Joined: 2024年 Jun 28日 16:52
2024年 Jun 28日 17:52
愚者千虑必有一得 2024年 Jun 28日 17:40
esp-idf的python环境是在这个目录,看看这个是否完整?
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env/idf4.4_py3.8_env/bin/python
试试把/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env目录删掉重新编译一下试试?
1.esp-idf的python环境目录完整
2.目录删掉重新编译python环境目录会恢复,但还是无法编译成功
愚者千虑必有一得
Posts: 499 Joined: 2022年 Sep 16日 18:13
2024年 Jun 28日 19:07
renbingcheng 2024年 Jun 28日 17:52
愚者千虑必有一得 2024年 Jun 28日 17:40
esp-idf的python环境是在这个目录,看看这个是否完整?
/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env/idf4.4_py3.8_env/bin/python
试试把/home/tuyaos/Documents/tuya/Projects/ESP32C3_TuyaOS-3.6.5/software/TuyaOS/vendor/esp32/tuyaos/../toolchain/python_env目录删掉重新编译一下试试?
1.esp-idf的python环境目录完整
2.目录删掉重新编译python环境目录会恢复,但还是无法编译成功
我刚刚又试了一下,可以编译成功,你看看用我们的镜像试试?https://www.tuyaos.com/viewtopic.php?t=1201