failed to determine path to aas directory

本文详细介绍了在使用Webkit-r174650编译成功后,运行WinLauncher.exe时报错failed to determine path to aas directory的问题,并提供了具体的解决方法,包括修改注册表路径和重装苹果软件等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

环境:win7 32位,vs2013 英文版,webkit-r174650

问题:编译成功webkit,运行WinLauncher.exe,报错:failed to determine path to aas directory

百度了一下,网上说修改C:\cygwin\home\ttcck\WebKit\Tools\win\DLLLauncher\DLLLauncherMain.cpp中的常量pathPrefix 为:static const wstring pathPrefix = L"C:\\Program Files (x86)\\Safari\\Apple Application Support";

但是webkit-r174650里面已经改成

const wstring& pathPrefix = appleApplicationSupportDirectory();

继续看

static wstring appleApplicationSupportDirectory()
{
    return applePathFromRegistry(L"SOFTWARE\\Apple Inc.\\Apple Application Support", L"InstallDir");
}

发现我的注册表中没有这一项,我的另外一台电脑却有这一项,应该缺少安装苹果的软件,把safari,quicktimesdk重装还是不行,只剩下quicktime了,安装之后,注册表就有了

参考:

http://blog.youkuaiyun.com/dreamkid/article/details/11859143

http://blog.youkuaiyun.com/huang3838438/article/details/7962023

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值