awtk-mvvm
awtk-mvvm copied to clipboard
编译报错
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.
修改 SConstruct,注释掉下面这行代码,然后重新编译就可以编译通过了: #os.environ['WITH_JS'] = 'true'
需不需要jerryscript有啥区别吗?因为没用过jerryscript,不知道这是什么东东,既然可以不需要jerryscript,那为啥要它干嘛?
如果你希望用js写model,就需要jerryscript,否则不需要。