环境: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