2016-07-30 4 views
0

website of PhantomJS itselfより。著者は言った:Windowsで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. 

は、その後、私はいくつかの質問を持っている:それは "サポートされているツールチェーンMSVC2012 & MSVC2013" を書かれているのはなぜ

  1. 代わりに "VS2012やVS2013のいずれかを選択してください" の ?必要なのは何ですか( 必須)両方のツールをインストールしていますか? VS2013を1台だけインストールすれば十分ですか?
  2. 次のポイントは、「。あなたはPerlやPython、Rubyの、および GITを持っている必要があります」それは書かれている、である。しかし、これらのツール の最低限必要なバージョンは、とにかく何ですか?

注:私は&をWindows 7x64でコンパイルしたいと思っています。

+0

PhantomJSを構築することができましたか?はいの場合、どうですか? (あなたはこの質問に戻ったことはありません) – Vaviloff

+1

はすでに解決済みです。最下部の回答を見てください@Vaviloff – gumuruh

答えて

1

MSVC2013で十分です。 Perl、Python、Ruby、およびGITの現行バージョンは問題ありません。 前回は、私は正常

  • ルビー1.9.3p545
  • gitのバージョン1.9.4のPython 2.7.5

    • のActiveState Perlのv5.20.2
    • と冬の2016年のWindows 7のx64上でそれを構築しました.msysgit.1
  • +1

    詳細については感謝します@Vaviloff – gumuruh

    関連する問題