AliOS-Things
AliOS-Things copied to clipboard
win10下(非Alios-Things目录)新建alios工程编译失败
Describe the bug win10下(非Alios-Things目录)新建alios工程编译失败
environment
- branch(version): master分支9月21号最新同步
- Desktop OS(windows linux or macOS):windows
- example:
新建分支,执行
aos make myProject@esp32devkitc
错误log如下
aos-cube version: 0.2.60
Check if required tools for esp32devkitc exist
Making config file for first time
信息: 用提供的模式无法找到文件。
processing components: myProject esp32devkitc platform/mcu/esp32 osal init auto_component
kernel_version:AOS-R-2.0.0
app_version:app-1.0.0-20180921.0934
all components: myProject esp32devkitc platform/mcu/esp32 osal init auto_component yloop cli hal rhino.fs.kv network.lwip alicrypto rhino platform/arch/xtensa/lx6
middleware.common middleware.alink.cloud osal.espos log rhino.vfs kernel.rhino.vfs.device
kernel_version:AOS-R-2.0.0
app_version:app-1.0.0-20180921.0934
信息: 用提供的模式无法找到文件。
Build AOS Now
TOOLCHAIN_PATH=C:/Users/leo/.aos/AliOS-Things/build/compiler/gcc-xtensa-esp32/Win32/bin/
信息: 用提供的模式无法找到文件。
系统找不到指定的路径。
make.exe[1]: *** [build/aos_resources.mk:97: C:/LEO/AliOS-Things-project/myProject/out/myProject@esp32devkitc/resources/resources.h] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
系统找不到指定的路径。
make.exe[1]: *** [build/aos_target_build.mk:300: C:/LEO/AliOS-Things-project/myProject/out/myProject@esp32devkitc/Modules/C/\LEO\AliOS-Things-project//myProject/.d] Error 1
make.exe: *** [build/Makefile:274: main_app] Error 2
[AliOS-Things] ERROR: "C" returned error code 2.
[AliOS-Things] ERROR: Command "C : / U s e r s / l e o / . a o s / A l i O S - T h i n g s / b u i l d \ c m d / w i n 3 2 / m a k e . e x e H O S T _ O S = W i
n 3 2 T O O L S _ R O O T = C : / U s e r s / l e o / . a o s / A l i O S - T h i n g s / b u i l d - e - f b u i l d / M a k e f i l e m y P r o j e c t @ e s p 3 2 d e v k i t c A P P D I R = C : \ L E O \ A l i O S - T h i n g s - p r o j e c t B U I L D _ D I R = C : / L E O / A l i O S - T h i n g s - p r
o j e c t / m y P r o j e c t / o u t" in "C:\Users\leo\.aos\AliOS-Things"
---
终端进程已终止,退出代码: 1
终端将被任务重用,按任意键关闭。
@leoadvance 在最新的master还有这个问题吗?win10 vscode 中能否选择 gitbash 作为默认终端?