[Unity]如何集成uwp能用的动态库? #1348
Unanswered
fengshulei
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前找了一个msvc能编译出来的quickjs库,在x64下测试可用。
打包puerts.dll跟workflow里的方式相同,将v8-impl.cc打包静态库链接到quickjs.lib后,然后CMake生成puerts.dll。但是生成的puerts.dll与quickjs.dll在导入unity后运行测试程序时unity会直接闪退(x64环境下),打包出来的uwp应用在hololens设备上也是同样的问题,请问要解决该问题可以从哪方面入手?
由于用的quickjs库对比backend-quickjs中的源码有部分符号缺失,所以把backend-quickjs中quickjs.c的最后面的部分代码拷贝过来了,具体如下图分割线后的代码。
Beta Was this translation helpful? Give feedback.
All reactions