我下载v8之后,进行编译,编译的v8放在win32下面,能跑起来,但是我构建uwp工程的时候,提交到windows 商店去的时候,应用认证不过,报告上面有一些api不支持,
此应用程序类型不支持 vcruntime140.dll 中的 API _CxxThrowException。v8_libbase.dll 调用此 API。
此应用程序类型不支持 vcruntime140.dll 中的 API __std_exception_copy。v8_libbase.dll 调用此 API。
此应用程序类型不支持 vcruntime140.dll 中的 API __std_exception_destroy。v8_libbase.dll 调用此 API。
此应用程序类型不支持 vcruntime140.dll 中的 API __std_type_info_destroy_list。v8_libbase.dll 调用此 API。
此应用程序类型不支持 vcruntime140.dll 中的 API __vcrt_InitializeCriticalSectionEx。v8_libbase.dll 调用此 API。
此应用程序类型不支持 vcruntime140.dll 中的 API _except_handler4_common。v8_libbase.dll 调用此 API。
此应用程序类型不支持 vcruntime140.dll 中的 API _purecall。v8_libbase.dll 调用此 API。
应该是v8的lib构建是用了win32的api,
然后我自己构建v8的时候,生成的uwp的工程一直无法编译,
gn gen gen.out/v8x86t -ide=vs2015 --args="is_debug=false v8_enable_i18n_support=false is_component_build=false v8_use_snapshot=false current_os=“win” target_os=“winuwp” target_cpu=“x86” current_cpu=“x86"”
我是用上面的命令生成的uwp的all.sln,
我用命令生成的win32的工程,可以编译出v8 的lib,
gn gen gen.out/v8x86n -ide=vs2015 --args="is_debug=false is_component_build=true v8_use_snapshot=false target_cpu=“x86"”
请教哪位大神编译过v8的lib,如何编译给uwp用的v8的lib