Skip to content

[Bug Report]: 源码中选择helloworld_demo编译报错 #2014

@woshi520laoxie

Description

@woshi520laoxie

Contact Details

[email protected]

What happened?

A bug happened!
运行环境:vscode开发环境
固件版本:

Version

master (Default)

What soultions are you seeing the problem on?

helloworld_demo

Relevant log output

操作方式:
1、使用vscode打开alios-things,选择项目helloworld_demo
2、选择√号编译
3、提示如下异常
scons: *** [aos_sdk\lib\libuservice.a] Error 1
CC out\lwip\lwip2.0.0\core\tcp_in.o
scons: building terminated because of errors.
make: *** [all] Error 2
Build takes 0 Minutes 23 Seconds.

终端将被任务重用,按任意键关闭。
4、下面是更详细的一些信息(由于信息比较多,只截取了部分-使用管理员打开VSCODE也是这样)
change dir to G:\Item\Code\espressif_ESP32\AliOS-Things\solutions\helloworld_demo.
save aos make params !!!
get current path
G:\Item\Code\espressif_ESP32\AliOS-Things\solutions\helloworld_demo\package.yaml
helloworld_demo
3
configuration haas100 written to G:\Item\Code\espressif_ESP32\AliOS-Things.config.
Build Solution by haas100
scons: Reading SConscript files ...
build toolchain checked = arm-ali-aoseabi

CC out\lwip\lwip2.0.0\core\init.o
C:\Users\56337.aliot\arm-ali-aoseabi\main\bin\arm-ali-aoseabi-ranlib.exe: unable to rename 'aos_sdk\lib\libuservice.a'; reason: Permission denied

注解:由于异常提示不详细,仅仅提示失败,但是没有告知失败原因。不好解决问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions