来自PhantomJS网站。提交人说:
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.然后我有几个问题:
注意:我想在我的Windows 7x64下编译和构建它。
发布于 2016-07-30 02:24:01
MSVC2013就够了。Perl、Python、Ruby和GIT的当前版本都可以。上一次我在2016年冬天成功地在Windows7 x64上构建了它
https://stackoverflow.com/questions/38669105
复制相似问题