-
Notifications
You must be signed in to change notification settings - Fork 6
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
Windows 编译 #4
Comments
quickjs本身不支持Visual studio编译。如果要在windows下编译,好像要用mingw编译(我没试过)。 |
我 又在Ubuntu 上试了一下 出现 |
不好意思。麻烦更新一下awtk和awtk-quickjs |
我在win用mingw64和在嵌入式linux(我魔改了一些代码),都成功运行了 |
请教一下
我在Win10下编译出现
G:\MyProgram\awtk-quickjs\3rd\quickjs\quickjs.h(663): error C2440: “类型强制转换”: 无法从“JSVa
lue”转换为“JSValue”
G:\MyProgram\awtk-quickjs\3rd\quickjs\quickjs.h(663): warning C4033: “JS_DupValue”必须返回值
G:\MyProgram\awtk-quickjs\3rd\quickjs\quickjs.h(672): error C2440: “类型强制转换”: 无法从“JSVa
lue”转换为“JSValue”
G:\MyProgram\awtk-quickjs\3rd\quickjs\quickjs.h(672): warning C4033: “JS_DupValueRT”必须返回值
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(138): error C2061: 语法错误: 标识符“packed_u64”
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(138): error C2059: 语法错误:“;”
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(138): error C2449: 在文件范围内找到“{”(是否缺少
函数头?)
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(140): error C2059: 语法错误:“}”
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(146): error C2061: 语法错误: 标识符“packed_u16”
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(146): error C2059: 语法错误:“;”
G:\MyProgram\awtk-quickjs\3rd\quickjs\cutils.h(146): error C2449: 在文件范围内找到“{”(是否缺少
等一些语法错误,是什么问题
The text was updated successfully, but these errors were encountered: