首页 > 解决方案 > 无法构建 LibAdblockPlus

问题描述

我使用的是 Windows 10 x64 操作系统,我从以下链接下载了 libadblockplus 的主分支:<a href="https://github.com/adblockplus/libadblockplus" rel="nofollow noreferrer">https://github. com/adblockplus/libadblockplus

我已经构建了 V8(Libadblockplus 所需的来自 google 的 javascript 库)。我搭建的V8的头文件和二进制文件的路径分别如下:

C:\V-eight\v8\include

C:\V-eight\v8\out.gn\x64.release\obj

我已经在环境变量中设置了我的路径,这样如果我在命令中执行“where python”,例如 C:>where python,那么我会得到以下响应:

C:\V-eight\depot_tools\python.bat

我已将环境变量“GYP_DEFINES”设置如下: GYP_DEFINES=C:\V-eight\v8

我从以下路径运行 createsolution.bat:C:\V-eight\libadblockplus>createsolution.bat

我收到以下错误:

文件“C:\V-eight\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py”,第 957 行,在 _execute_child startupinfo) WindowsError: [错误 2] 系统找不到指定的文件

标签: python

解决方案


推荐阅读