【发布时间】:2016-07-30 00:08:31
【问题描述】:
来自website of PhantomJS itself。作者说:
Windows requirements
Supported toolchains: MSVC2012 and MSVC2013.
You must have Perl, Python, Ruby, and Git on PATH. Also, note that Git comes with it’s own version of perl.exe. If you have both Git and a separate perl installation in your PATH, please make sure that you separate Perl install’s bin folder comes before the git’s bin folder in your PATH.
Please also add the folder <phantomjs_path>\src\qt\3rdparty\gnuwin32\bin to your PATH, as required tools such as bison, flex, and gperf will not be found otherwise. Example:
SET PATH=%CD%\src\qt\3rdparty\gnuwin32\bin;%PATH%
Run the build script from Visual Studio Command Prompt.
Tip: Enabling incremental linking will make the linkage process faster.
那我有几个问题:
- 为什么改为“支持的工具链 MSVC2012 & MSVC2013” “选择 VS2012 或 VS2013”?是否有任何强制性(a 必须)安装这两个工具?或者如果我只安装了一个 VS2013,就够了吗?
- 下一点是,它是这样写的“你必须有 Perl、Python、Ruby 和 GIT。”但是这些工具的最低要求版本是什么 还是?
注意:我想在我的 Windows 7x64 下编译和构建它。
【问题讨论】:
-
那么使用能够构建 PhantomJS 吗?如果是,如何? (你再也没有回到这个问题)
-
已经解决了。看看底部的答案@Vaviloff
标签: windows build compilation phantomjs