Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译报错 #14

Open
WeSrc-Yin opened this issue Dec 1, 2020 · 2 comments
Open

编译报错 #14

WeSrc-Yin opened this issue Dec 1, 2020 · 2 comments

Comments

@WeSrc-Yin
Copy link

exe cmd: node "/home/AWTK-GIT/awtk/tools/idl_gen/index.js" idl/idl.json src failed.
sh: 1: node: not found



rryscript/jerry-ext/common -I3rd/jerryscript/jerryscript/jerry-ext/debugger -I3rd/jerryscript/jerryscript/jerry-ext/handler -I3rd/jerryscript/jerryscript/jerry-ext/module -I3rd/jerryscript/jerryscript/jerry-core/include -I3rd/jerryscript/jerryscript/jerry-core -I3rd/jerryscript/jerryscript/jerry-core/ecma -I3rd/jerryscript/jerryscript/jerry-core/ecma/base -I3rd/jerryscript/jerryscript/jerry-core/ecma/builtin-objects -I3rd/jerryscript/jerryscript/jerry-core/ecma/operations -I3rd/jerryscript/jerryscript/jerry-core/jcontext -I3rd/jerryscript/jerryscript/jerry-core/jrt -I3rd/jerryscript/jerryscript/jerry-core/parser -I3rd/jerryscript/jerryscript/jerry-core/parser/js -I3rd/jerryscript/jerryscript/jerry-core/parser/regexp -I3rd/jerryscript/jerryscript/jerry-core/vm -I3rd/jerryscript/jerryscript/jerry-core/api -I3rd/jerryscript/jerryscript/jerry-core/debugger -I3rd/jerryscript/jerryscript/jerry-core/lit -I3rd/jerryscript/jerryscript/jerry-core/jmem -I3rd/jerryscript/jerryscript/jerry-core/profiles -I3rd/jerryscript/jerryscript/jerry-port/default/include -I3rd/jerryscript/jerryscript/jerry-core/ecma/builtin-objects/typedarray -I3rd/nativefiledialog/nativefiledialog/src/include 3rd/jerryscript/jerry-all-in.c
3rd/jerryscript/jerry-all-in.c:59:95: fatal error: jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-async-function-prototype.c: No such file or directory
compilation terminated.
scons: *** [3rd/jerryscript/jerry-all-in.o] Error 1
scons: building terminated because of errors.

@WeSrc-Yin
Copy link
Author

修改 SConstruct,注释掉下面这行代码,然后重新编译就可以编译通过了:
#os.environ['WITH_JS'] = 'true'

需不需要jerryscript有啥区别吗?因为没用过jerryscript,不知道这是什么东东,既然可以不需要jerryscript,那为啥要它干嘛?

@xianjimli
Copy link
Member

如果你希望用js写model,就需要jerryscript,否则不需要。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants