ariya / phantomjs

Scriptable Headless Browser
http://phantomjs.org
BSD 3-Clause "New" or "Revised" License
29.46k stars 5.76k forks source link

windows build phantomjs 2.1 issue #14089

Closed bourbon1991 closed 8 years ago

bourbon1991 commented 8 years ago

Hello, I tried to build phantomjs 2.1 in windows 8.1 64bit. I followed the build method in the document. However, I encountered a problem: ....... ( if not exist Makefile.WebCore.DerivedSources E:\php_sx\phantomjs\phant omjs-2.1.1-2\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs -2.1.1-2\phantomjs\src\qt\qtwebkit\Source\WebCore\DerivedSources.pri "WEBKIT_CON FIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gst reamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_nativefullscreen video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.WebCore.Der ivedSources ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nma ke.exe" -f Makefile.WebCore.DerivedSources perl -I E:/php_sx/phantomjs/phantomjs-2.1.1-2/phantomjs/src/qt/qtwebkit/ Source/WebCore/bindings/scripts E:/php_sx/phantomjs/phantomjs-2.1.1-2/phantomjs/ src/qt/qtwebkit/Source/WebCore/css/makegrammar.pl --outputDir generated --extraD efines "UNICODE WIN32 QT_NO_GRAPHICSVIEW QT_NO_GRAPHICSEFFECT QT_NO_STYLESHEET Q T_NO_STYLE_CDE QT_NO_STYLE_CLEANLOOKS QT_NO_STYLE_MOTIF QT_NO_STYLE_PLASTIQUE QT _NO_PRINTPREVIEWDIALOG ENABLE_3D_RENDERING=1 ENABLE_BLOB=1 ENABLE_CANVAS_PATH=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_CSS_BOX_DECORATION_BREAK=1 ENABLE_CSS_COMPOSIT ING=1 ENABLE_CSS_EXCLUSIONS=1 ENABLE_CSS_FILTERS=1 ENABLE_CSS_IMAGE_SET=1 ENABLE _CSS_REGIONS=1 ENABLE_CSS_SHAPES=1 ENABLE_CSS_STICKY_POSITION=1 ENABLE_CSS_TRANS FORMS_ANIMATIONS_UNPREFIXED=1 ENABLE_DATALIST_ELEMENT=1 ENABLE_DETAILS_ELEMENT=1 ENABLE_DOWNLOAD_ATTRIBUTE=1 ENABLE_FAST_MOBILE_SCROLLING=1 ENABLE_FILTERS=1 ENA BLE_FTPDIR=1 ENABLE_FULLSCREEN_API=1 ENABLE_ICONDATABASE=1 ENABLE_IFRAME_SEAMLES S=1 ENABLE_INDEXED_DATABASE=1 ENABLE_INPUT_TYPE_COLOR=1 ENABLE_INSPECTOR=1 ENABL E_INSPECTOR_SERVER=1 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_LEGACY_NOTIFICATIONS=1 ENABLE_LEGACY_VIEWPORT_ADAPTION=1 ENABLE_LEGACY_VENDOR_PREFIXES=1 ENABLELEGACY WEB_AUDIO=1 ENABLE_LINK_PREFETCH=1 ENABLE_METER_ELEMENT=1 ENABLEMHTML=1 ENABLE NOTIFICATIONS=1 ENABLE_PAGE_VISIBILITY_API=1 ENABLE_PROGRESS_ELEMENT=1 ENABLE_RE SOLUTION_MEDIA_QUERY=1 ENABLE_REQUEST_ANIMATION_FRAME=1 ENABLE_SHARED_WORKERS=1 ENABLE_SMOOTH_SCROLLING=1 ENABLE_SQL_DATABASE=1 ENABLE_SUBPIXELLAYOUT=1 ENABLE SVG=1 ENABLE_SVG_FONTS=1 ENABLE_TOUCH_ADJUSTMENT=1 ENABLE_TOUCHEVENTS=1 ENABLE VIEW_MODE_CSS_MEDIA=1 ENABLE_WEB_SOCKETS=1 ENABLE_WEB_TIMING=1 ENABLE_WORKERS=1 ENABLE_XHR_TIMEOUT=1 WTF_USE_TILED_BACKING_STORE=1 WTF_USE_CROSS_PLATFORM_CONTEX T_MENUS=1 HAVE_QTPRINTSUPPORT=1 HAVE_QSTYLE=1 HAVE_QTTESTLIB=1 PLUGIN_ARCHITECTU RE_UNSUPPORTED=1 ENABLE_TOUCH_SLIDER=1 WTF_USE_LEVELDB=1 ENABLE_ACCELERATED_2D_C ANVAS=0 ENABLE_BATTERY_STATUS=0 ENABLE_CANVAS_PROXY=0 ENABLE_CSP_NEXT=0 ENABLE_C SS_GRID_LAYOUT=0 ENABLE_CSS_HIERARCHIES=0 ENABLE_CSS_IMAGEORIENTATION=0 ENABLE CSS_IMAGE_RESOLUTION=0 ENABLE_CSS_SHADERS=0 ENABLE_CSS_VARIABLES=0 ENABLE_CSS3_C ONDITIONAL_RULES=0 ENABLE_CSS3_TEXT=0 ENABLE_CSS3_TEXT_LINE_BREAK=0 ENABLE_DASHB OARD_SUPPORT=0 ENABLE_DATAGRID=0 ENABLE_DATA_TRANSFER_ITEMS=0 ENABLE_DEVICE_ORIE NTATION=0 ENABLE_DIRECTORY_UPLOAD=0 ENABLE_FILE_SYSTEM=0 ENABLE_FONT_LOAD_EVENTS =0 ENABLE_GAMEPAD=0 ENABLE_GEOLOCATION=0 ENABLE_GESTURE_EVENTS=0 ENABLE_HIGH_DPI _CANVAS=0 ENABLE_INPUT_SPEECH=0 ENABLE_INPUT_TYPE_DATE=0 ENABLE_INPUT_TYPE_DATET IME_INCOMPLETE=0 ENABLE_INPUT_TYPE_DATETIMELOCAL=0 ENABLE_INPUT_TYPE_MONTH=0 ENA BLE_INPUT_TYPE_TIME=0 ENABLE_INPUT_TYPE_WEEK=0 ENABLE_LEGACY_CSS_VENDOR_PREFIXES =0 ENABLE_MATHML=0 ENABLE_MEDIA_SOURCE=0 ENABLE_MEDIA_STATISTICS=0 ENABLEMEDIA STREAM=0 ENABLE_MICRODATA=0 ENABLE_MOUSE_CURSOR_SCALE=0 ENABLE_NAVIGATOR_CONTENT _UTILS=0 ENABLE_NETSCAPE_PLUGIN_API=0 ENABLE_NETWORK_INFO=0 ENABLE_NOSNIFF=0 ENA BLE_ORIENTATION_EVENTS=0 ENABLE_PROXIMITY_EVENTS=0 ENABLE_QUOTA=0 ENABLE_RESOURC E_TIMING=0 ENABLE_SCRIPTED_SPEECH=0 ENABLE_SECCOMP_FILTERS=0 ENABLE_SHADOW_DOM=0 ENABLE_STYLE_SCOPED=0 ENABLE_TEMPLATE_ELEMENT=0 ENABLE_TEXT_AUTOSIZING=0 ENABLE _THREADED_HTML_PARSER=0 ENABLE_TOUCH_ICON_LOADING=0 ENABLE_USERTIMING=0 ENABLE VIBRATION=0 ENABLE_VIDEO=0 ENABLE_VIDEO_TRACK=0 ENABLE_WEBGL=0 ENABLE_WEB_AUDIO= 0 ENABLE_XSLT=0" --preprocessor "E:\php_sx\phantomjs\phantomjs-2.1.1-2\phantomjs \src\qt\qtbase\bin\moc.exe -E" --symbolsPrefix cssyy css\CSSGrammar.y.in bison: m4: Invalid argument Died at E:/php_sx/phantomjs/phantomjs-2.1.1-2/phantomjs/src/qt/qtwebkit/Source/W ebCore/css/makegrammar.pl line 84. NMAKE : fatal error U1077: “C:\Strawberry\perl\bin\perl.EXE”: return code “0x2” Stop. NMAKE : fatal error U1077: “(”: return code“0x2” Stop. NMAKE : fatal error U1077: “cd”: return code“0x2” Stop.

ERROR: Failed to build PhantomJS! Building Qt WebKit failed.

my path is: C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Perl64\site\bin;C:\Perl64\bin;D:\Git\cmd;C:\Windows\SysWOW64;C:\CMake\bin;C:\opencv2\opencv\sources_mingw\bin;C:\opencv2\opencv\build\x86\vc12\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\gradle-2.7\bin;C:\Program Files\OpenNI\Bin64;C:\Program Files\PCL 1.6.0\bin;C:\Users\shenbowei1991.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin;E:\php_sx\phantomjs\phantomjs-2.1.1-2\phantomjs\src\qt\3rdparty\gnuwin32\bin;C:\Qt\Qt5.5.1\5.5\msvc2013\bin;C:\Qt\Qt5.5.1\Tools\QtCreator\bin

Thanks for some advises !

vitallium commented 8 years ago

I suggest to use ActiveState Perl. We didn't test Strawberry Perl.

bourbon1991 commented 8 years ago

@Vitallium thanks your reply ,but I haved tried ActiveState Perl 64 bit , the problem still exist……

vitallium commented 8 years ago

Are you trying to build 64bit version?

Also, I see that you have Qt in your %PATH%. Please remove it: C:\Qt\Qt5.5.1\5.5\msvc2013\bin;C:\Qt\Qt5.5.1\Tools\QtCreator\bin

bourbon1991 commented 8 years ago

@Vitallium hi,sorry for the late reply. I have followed your advise , remove the qt bin in path , and install the 32 bit ActiveState Perl . However, the problem is still not solved…… .......... \src\qt\qtbase\bin\moc.exe -E" --symbolsPrefix cssyy css\CSSGrammar.y.in bison: m4: Invalid argument Died at E:/php_sx/phantomjs/phantomjs-2.1.1-2/phantomjs/src/qt/qtwebkit/Source/W ebCore/css/makegrammar.pl line 84. NMAKE : fatal error U1077: “C:\Perl\bin\perl.EXE”: return code“0x2” Stop. NMAKE : fatal error U1077: “(”: return code“0x2” Stop. NMAKE : fatal error U1077: “cd”: return code“0x2” Stop.

My ruby and python are also 64bit , is necessary replace them with 32 bit? thanks!

xeoshow commented 8 years ago

Is there any virtual machine env for this? Which seems could make the build process easier.

bourbon1991 commented 8 years ago

@Vitallium hello, I have repeated the whole build process using 32bit perl , 32bit ruby and 32bit python. But the problem is not solved. My build process is as follow:

  1. git clone git://github.com/ariya/phantomjs.git
  2. cd phantomjs
  3. git checkout 2.1.1
  4. git submodule init
  5. git submodule update
  6. add the 3rdparty bin into path
  7. python build.py

my path now is: C:\Perl\site\bin;C:\Perl\bin;C:\ProgramData\Oracle\Java\javapath;C:\ImageMagick- 6.9.1-Q16;D:\CTEX\UserData\miktex\bin;D:\CTEX\MiKTeX\miktex\bin;D:\CTEX\CTeX\cte x\bin;D:\CTEX\CTeX\cct\bin;D:\CTEX\CTeX\ty\bin;D:\CTEX\Ghostscript\gs9.00\bin;D: \CTEX\GSview\gsview;D:\CTEX\WinEdt;C:\OSG\bin;C:\Program Files (x86)\GtkSharp\2. 12\bin;D:\Git\cmd;C:\Windows\SysWOW64;C:\CMake\bin;C:\opencv2\opencv\sources_min gw\bin;C:\opencv2\opencv\build\x86\vc12\bin;C:\xampp\php;C:\ProgramData\Composer Setup\bin;C:\gradle-2.7\bin;C:\Program Files\OpenNI\Bin64;C:\Program Files\PCL 1 .6.0\bin;C:\Users\shenbowei1991.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\C:\ Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Micro soft Visual Studio 12.0\VC\bin;E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs \src\qt\3rdparty\gnuwin32\bin;C:\python35\Scripts\;C:\python35\;C:\Ruby22\bin;E: \forever\cocos2d-x-3.3\templates;E:\forever\cocos2d-x-3.3\tools\cocos2d-console\ bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\Wireles sCommon\;C:\Program Files (x86)\Java\jdk1.8.0_65\bin;C:\Program Files (x86)\Java \jdk1.8.0_65\jre\bin;C:\Users\shenbowei1991\Anaconda;C:\Users\shenbowei1991\Anac onda\Scripts

Is there any mistakes in my build process? Thanks very much!

vitallium commented 8 years ago

@bourbon1991 check that there is no duplicated tools (like bison, flex) in your path. You can get the executable path by running this command: what bison

bourbon1991 commented 8 years ago

@Vitallium thanks, I have checked all the tools in your 3rdparty\gnuwin32\bin, the path are all in the 3rdparty\gnuwin32\bin the error is: .......

ntomjs\src\qt\qtbase\bin\moc.exe -E" --symbolsPrefix cssyy css\CSSGrammar.y.in
bison: m4: Invalid argument
Died at E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source
/WebCore/css/makegrammar.pl line 84.
NMAKE : fatal error U1077: “C:\Perl\bin\perl.EXE”: return code“0x2”

I found the code in makegrammar.pl line 84: open HPP, "<$fileBase.cpp.h" or open HPP, "<$fileBase.hpp" or die;

what is the reason cause the "die" ?

vitallium commented 8 years ago

What's the output of what bison command?

bourbon1991 commented 8 years ago

@Vitallium I can not use the what command, the wherecommand output is:

E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs>where bison
E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\gnuwin32\bin\b
ison.exe
vitallium commented 8 years ago

ah, yes. it's where, not what. In this case could you please post the full build log?

bourbon1991 commented 8 years ago

@Vitallium would the following log be enough ? Thanks.

E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs>python build.py > build.log

Microsoft (R) 程序维护实用工具 12.00.21005.1 版
版权所有 (C) Microsoft Corporation。  保留所有权利。

Microsoft (R) 程序维护实用工具 12.00.21005.1 版
版权所有 (C) Microsoft Corporation。  保留所有权利。

offlineasm: Parsing E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtw
ebkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm and debug\LLIntOffsets
Extractor.exe and creating assembly file generated\debug\LLIntAssembly.h.
offlineasm: No magic values found. Skipping assembly file generation.
offlineasm: Parsing E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtw
ebkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm and release\LLIntOffse
tsExtractor.exe and creating assembly file generated\release\LLIntAssembly.h.
offlineasm: No magic values found. Skipping assembly file generation.
bison: m4: Invalid argument
Died at E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source
/WebCore/css/makegrammar.pl line 84.
NMAKE : fatal error U1077: “C:\Perl\bin\perl.EXE”: 返回代码(return code)“0x2”
Stop.
NMAKE : fatal error U1077: “(”: 返回代码(return code)“0x2”
Stop.
NMAKE : fatal error U1077: “cd”: 返回代码(return code)“0x2”
Stop.

build.log is:

----------------------------------------
               WARNING
----------------------------------------

Building PhantomJS from source takes a very long time, anywhere from 30 minutes
to several hours (depending on the machine configuration). It is recommended to
use the premade binary packages on supported operating systems.

For details, please go the the web site: http://phantomjs.org/download.html.

Do you want to continue (Y/n)? Please wait while bootstrapping configure ...
<srcbase> = E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtbase 
<outbase> = E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtbase 
“..\..\configure.exe”是最新的(Is the latest)

This is the Qt for Windows Open Source Edition.

You have already accepted the terms of the license.

Running syncqt...
<srcbase> = E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtbase 
<outbase> = E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtbase 
Creating qmake...
Running configuration tests...
Environment:
    INCLUDE=
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE
      C:\Program Files (x86)\Windows Kits\8.1\include\shared
      C:\Program Files (x86)\Windows Kits\8.1\include\um
      C:\Program Files (x86)\Windows Kits\8.1\include\winrt

    LIB=
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB
      C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86

    PATH=
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
      C:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0\
      C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0
      C:\Program Files (x86)\MSBuild\12.0\bin
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools
      C:\Windows\Microsoft.NET\Framework\v4.0.30319
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\VCPackages
      C:\Program Files (x86)\HTML Help Workshop
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Performance Tools
      C:\Program Files (x86)\Windows Kits\8.1\bin\x86
      C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\
      C:\Perl\site\bin
      C:\Perl\bin
      C:\ProgramData\Oracle\Java\javapath
      C:\ImageMagick-6.9.1-Q16
      D:\CTEX\UserData\miktex\bin
      D:\CTEX\MiKTeX\miktex\bin
      D:\CTEX\CTeX\ctex\bin
      D:\CTEX\CTeX\cct\bin
      D:\CTEX\CTeX\ty\bin
      D:\CTEX\Ghostscript\gs9.00\bin
      D:\CTEX\GSview\gsview
      D:\CTEX\WinEdt
      C:\OSG\bin
      C:\Program Files (x86)\GtkSharp\2.12\bin
      D:\Git\cmd
      C:\Windows\SysWOW64
      C:\opencv2\opencv\sources_mingw\bin
      C:\opencv2\opencv\build\x86\vc12\bin
      C:\xampp\php
      C:\ProgramData\ComposerSetup\bin
      C:\gradle-2.7\bin
      C:\Program Files\OpenNI\Bin64
      C:\Program Files\PCL 1.6.0\bin
      C:\Users\shenbowei1991\.dnx\bin
      C:\Program Files\Microsoft DNX\Dnvm\C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
      C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
      E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\gnuwin32\bin
      C:\python35\Scripts\
      C:\python35\
      C:\Ruby22\bin
      E:\forever\cocos2d-x-3.3\templates
      E:\forever\cocos2d-x-3.3\tools\cocos2d-console\bin
      C:\Program Files\Intel\WiFi\bin\
      C:\Program Files\Common Files\Intel\WirelessCommon\
      C:\Program Files (x86)\Java\jdk1.8.0_65\bin
      C:\Program Files (x86)\Java\jdk1.8.0_65\jre\bin
      C:\Users\shenbowei1991\Anaconda
      C:\Users\shenbowei1991\Anaconda\Scripts
Configuration:
    pcre
    release
    compile_examples
    msvc_mp
Qt Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    release
    static
    static_runtime
    zlib
    icu
    gif
    jpeg
    png
    freetype
    harfbuzz
    accessibility
    openssl-linked
    wmf-backend
    native-gestures
    qpa
    concurrent

QMAKESPEC...................win32-msvc2013 (detected)
Architecture................i386, features: sse sse2
Host Architecture...........i386, features: sse sse2
Maketool....................nmake
Debug.......................no
Force debug info............no
C++11 support...............auto
Link Time Code Generation...no
Accessibility support.......yes
RTTI support................yes
SSE2 support................yes
SSE3 support................yes
SSSE3 support...............yes
SSE4.1 support..............yes
SSE4.2 support..............yes
AVX support.................yes
AVX2 support................yes
NEON support................no
OpenGL support..............no
Large File support..........yes
NIS support.................no
Iconv support...............no
Evdev support...............no
Mtdev support...............no
Inotify support.............no
eventfd(7) support..........no
Glib support................no
CUPS support................no
OpenVG support..............no
SSL support.................linked
OpenSSL support.............linked
libproxy support............no
Qt D-Bus support............no
Qt Widgets module support...yes
Qt GUI module support.......yes
QML debugging...............no
DirectWrite support.........no
Use system proxies..........no

QPA Backends:
    GDI.....................yes
    Direct2D................no

Third Party Libraries:
    ZLIB support............qt
    GIF support.............yes
    JPEG support............yes
    PNG support.............yes
    FreeType support........yes
    Fontconfig support......no
    HarfBuzz support........qt
    PCRE support............qt
    ICU support.............yes
    ANGLE...................no
    Dynamic OpenGL..........no

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Fusion..................yes
    Windows CE..............no
    Windows Mobile..........no

Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................yes (qt)
    SQLite2.................no
    InterBase...............no

Sources are in..............E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase
Build is done in............E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase
Install prefix..............E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase
Headers installed to........E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\include
Libraries installed to......E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\lib
Arch-dep. data to...........E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase
Plugins installed to........E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\plugins
Library execs installed to..E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin
QML1 imports installed to...E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\imports
QML2 imports installed to...E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\qml
Binaries installed to.......E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin
Arch-indep. data to.........E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase
Docs installed to...........E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\doc
Translations installed to...E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\translations
Examples installed to.......E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\examples
Tests installed to..........E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\tests
Defines.....................QT_NO_GRAPHICSVIEW QT_NO_GRAPHICSEFFECT QT_NO_STYLESHEET QT_NO_STYLE_CDE QT_NO_STYLE_CLEANLOOKS QT_NO_STYLE_MOTIF QT_NO_STYLE_PLASTIQUE QT_NO_PRINTPREVIEWDIALOG 
Include paths...............E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libicu\include E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libxml\include E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\openssl\include E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\zlib\include 
Additional libraries........-LE:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libicu\lib -LE:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libxml\lib -LE:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\openssl\lib -LE:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\zlib\lib 
WARNING: Using static linking will disable the use of plugins.
         Make sure you compile ALL needed modules into the library.
NOTE: When linking against OpenSSL, you can override the default
library names through OPENSSL_LIBS and optionally OPENSSL_LIBS_DEBUG/OPENSSL_LIBS_RELEASE
For example:
    configure -openssl-linked OPENSSL_LIBS="-lssleay32 -llibeay32"

Qt is now configured for building. Just run nmake.
To reconfigure, run nmake confclean and configure.

    cd src\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\src.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd tools\bootstrap\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd tools\moc\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\tools\moc\moc.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd tools\rcc\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\tools\rcc\rcc.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd 3rdparty\pcre\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd corelib\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\corelib\corelib.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd tools\qlalr\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\tools\qlalr\qlalr.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd winmain\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\winmain\winmain.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd network\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\network\network.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd sql\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\sql\sql.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd xml\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\xml\xml.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd 3rdparty\harfbuzz-ng\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\3rdparty\harfbuzz-ng\harfbuzz-ng.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd gui\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\gui\gui.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd tools\uic\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\tools\uic\uic.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd widgets\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\widgets\widgets.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd testlib\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\testlib\testlib.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd concurrent\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\concurrent\concurrent.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd 3rdparty\freetype\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\3rdparty\freetype\freetype.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd platformheaders\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\platformheaders\platformheaders.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd platformsupport\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\platformsupport\platformsupport.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd printsupport\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\printsupport\printsupport.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd plugins\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\plugins.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd sqldrivers\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\sqldrivers\sqldrivers.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd bearer\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\bearer\bearer.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd generic\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\bearer\generic\generic.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd nativewifi\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\bearer\nativewifi\nativewifi.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd imageformats\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\imageformats\imageformats.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd ico\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\imageformats\ico\ico.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd platforms\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\platforms\platforms.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd minimal\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\platforms\minimal\minimal.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd offscreen\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\platforms\offscreen\offscreen.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd windows\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\platforms\windows\windows.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd platforminputcontexts\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\platforminputcontexts\platforminputcontexts.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd platformthemes\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\platformthemes\platformthemes.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd generic\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\generic\generic.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd tuiotouch\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\generic\tuiotouch\tuiotouch.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd styles\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\styles\styles.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd printsupport\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\printsupport\printsupport.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    cd windows\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\plugins\printsupport\windows\windows.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd tools\qdoc\ && ( if not exist Makefile E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\src\tools\qdoc\qdoc.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Release
    cd qmake\ && ( if not exist Makefile.qmake-docs E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\qmake\qmake-docs.pro -o Makefile.qmake-docs ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.qmake-docs
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.qmake-docs.Release
    cd Source\WTF\ && ( if not exist Makefile.WTF E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\WTF\WTF.pro "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.WTF ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.WTF
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.WTF.Release
    cd Source\JavaScriptCore\ && ( if not exist Makefile.JavaScriptCore E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\JavaScriptCore\JavaScriptCore.pro "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.JavaScriptCore ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.JavaScriptCore
    ( if not exist Makefile.LLIntOffsetsExtractor E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\JavaScriptCore\LLIntOffsetsExtractor.pro "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.LLIntOffsetsExtractor ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.LLIntOffsetsExtractor
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.LLIntOffsetsExtractor.Release all
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.LLIntOffsetsExtractor.Debug all
    ( if not exist Makefile.JavaScriptCore.DerivedSources E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\JavaScriptCore\DerivedSources.pri "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.JavaScriptCore.DerivedSources ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.JavaScriptCore.DerivedSources
    ruby E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/offlineasm/asm.rb E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm debug\LLIntOffsetsExtractor.exe generated\debug\LLIntAssembly.h
    ruby E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/offlineasm/asm.rb E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm release\LLIntOffsetsExtractor.exe generated\release\LLIntAssembly.h
    ( if not exist Makefile.JavaScriptCore.Target E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\JavaScriptCore\Target.pri "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.JavaScriptCore.Target ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.JavaScriptCore.Target
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.JavaScriptCore.Target.Release
    ( if not exist Makefile.jsc E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\JavaScriptCore\jsc.pro "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.jsc ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.jsc
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.jsc.Release
    cd Source\ThirdParty\leveldb\ && ( if not exist Makefile.leveldb E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\ThirdParty\leveldb\leveldb.pro "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.leveldb ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.leveldb
    ( if not exist Makefile.Target E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\ThirdParty\leveldb\Target.pri "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.Target ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Target
    "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.Target.Release
    cd Source\WebCore\ && ( if not exist Makefile.WebCore E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\WebCore\WebCore.pro "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.WebCore ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.WebCore
    ( if not exist Makefile.WebCore.DerivedSources E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit\Source\WebCore\DerivedSources.pri "WEBKIT_CONFIG-=build_webkit2" "WEBKIT_CONFIG-=netscape_plugin_api" "WEBKIT_CONFIG-=use_gstreamer" "WEBKIT_CONFIG-=use_gstreamer010" "WEBKIT_CONFIG-=use_native_fullscreen_video" "WEBKIT_CONFIG-=video" "WEBKIT_CONFIG-=web_audio" -o Makefile.WebCore.DerivedSources ) && "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.WebCore.DerivedSources
    perl -I E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source/WebCore/bindings/scripts E:/php_sx/phantomjs/phantomjs_2.1_32bit/phantomjs/src/qt/qtwebkit/Source/WebCore/css/makegrammar.pl --outputDir generated --extraDefines "UNICODE WIN32 QT_NO_GRAPHICSVIEW QT_NO_GRAPHICSEFFECT QT_NO_STYLESHEET QT_NO_STYLE_CDE QT_NO_STYLE_CLEANLOOKS QT_NO_STYLE_MOTIF QT_NO_STYLE_PLASTIQUE QT_NO_PRINTPREVIEWDIALOG ENABLE_3D_RENDERING=1 ENABLE_BLOB=1 ENABLE_CANVAS_PATH=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_CSS_BOX_DECORATION_BREAK=1 ENABLE_CSS_COMPOSITING=1 ENABLE_CSS_EXCLUSIONS=1 ENABLE_CSS_FILTERS=1 ENABLE_CSS_IMAGE_SET=1 ENABLE_CSS_REGIONS=1 ENABLE_CSS_SHAPES=1 ENABLE_CSS_STICKY_POSITION=1 ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=1 ENABLE_DATALIST_ELEMENT=1 ENABLE_DETAILS_ELEMENT=1 ENABLE_DOWNLOAD_ATTRIBUTE=1 ENABLE_FAST_MOBILE_SCROLLING=1 ENABLE_FILTERS=1 ENABLE_FTPDIR=1 ENABLE_FULLSCREEN_API=1 ENABLE_ICONDATABASE=1 ENABLE_IFRAME_SEAMLESS=1 ENABLE_INDEXED_DATABASE=1 ENABLE_INPUT_TYPE_COLOR=1 ENABLE_INSPECTOR=1 ENABLE_INSPECTOR_SERVER=1 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_LEGACY_NOTIFICATIONS=1 ENABLE_LEGACY_VIEWPORT_ADAPTION=1 ENABLE_LEGACY_VENDOR_PREFIXES=1 ENABLE_LEGACY_WEB_AUDIO=1 ENABLE_LINK_PREFETCH=1 ENABLE_METER_ELEMENT=1 ENABLE_MHTML=1 ENABLE_NOTIFICATIONS=1 ENABLE_PAGE_VISIBILITY_API=1 ENABLE_PROGRESS_ELEMENT=1 ENABLE_RESOLUTION_MEDIA_QUERY=1 ENABLE_REQUEST_ANIMATION_FRAME=1 ENABLE_SHARED_WORKERS=1 ENABLE_SMOOTH_SCROLLING=1 ENABLE_SQL_DATABASE=1 ENABLE_SUBPIXEL_LAYOUT=1 ENABLE_SVG=1 ENABLE_SVG_FONTS=1 ENABLE_TOUCH_ADJUSTMENT=1 ENABLE_TOUCH_EVENTS=1 ENABLE_VIEW_MODE_CSS_MEDIA=1 ENABLE_WEB_SOCKETS=1 ENABLE_WEB_TIMING=1 ENABLE_WORKERS=1 ENABLE_XHR_TIMEOUT=1 WTF_USE_TILED_BACKING_STORE=1 WTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1 HAVE_QTPRINTSUPPORT=1 HAVE_QSTYLE=1 HAVE_QTTESTLIB=1 PLUGIN_ARCHITECTURE_UNSUPPORTED=1 ENABLE_TOUCH_SLIDER=1 WTF_USE_LEVELDB=1 ENABLE_ACCELERATED_2D_CANVAS=0 ENABLE_BATTERY_STATUS=0 ENABLE_CANVAS_PROXY=0 ENABLE_CSP_NEXT=0 ENABLE_CSS_GRID_LAYOUT=0 ENABLE_CSS_HIERARCHIES=0 ENABLE_CSS_IMAGE_ORIENTATION=0 ENABLE_CSS_IMAGE_RESOLUTION=0 ENABLE_CSS_SHADERS=0 ENABLE_CSS_VARIABLES=0 ENABLE_CSS3_CONDITIONAL_RULES=0 ENABLE_CSS3_TEXT=0 ENABLE_CSS3_TEXT_LINE_BREAK=0 ENABLE_DASHBOARD_SUPPORT=0 ENABLE_DATAGRID=0 ENABLE_DATA_TRANSFER_ITEMS=0 ENABLE_DEVICE_ORIENTATION=0 ENABLE_DIRECTORY_UPLOAD=0 ENABLE_FILE_SYSTEM=0 ENABLE_FONT_LOAD_EVENTS=0 ENABLE_GAMEPAD=0 ENABLE_GEOLOCATION=0 ENABLE_GESTURE_EVENTS=0 ENABLE_HIGH_DPI_CANVAS=0 ENABLE_INPUT_SPEECH=0 ENABLE_INPUT_TYPE_DATE=0 ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE=0 ENABLE_INPUT_TYPE_DATETIMELOCAL=0 ENABLE_INPUT_TYPE_MONTH=0 ENABLE_INPUT_TYPE_TIME=0 ENABLE_INPUT_TYPE_WEEK=0 ENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 ENABLE_MATHML=0 ENABLE_MEDIA_SOURCE=0 ENABLE_MEDIA_STATISTICS=0 ENABLE_MEDIA_STREAM=0 ENABLE_MICRODATA=0 ENABLE_MOUSE_CURSOR_SCALE=0 ENABLE_NAVIGATOR_CONTENT_UTILS=0 ENABLE_NETSCAPE_PLUGIN_API=0 ENABLE_NETWORK_INFO=0 ENABLE_NOSNIFF=0 ENABLE_ORIENTATION_EVENTS=0 ENABLE_PROXIMITY_EVENTS=0 ENABLE_QUOTA=0 ENABLE_RESOURCE_TIMING=0 ENABLE_SCRIPTED_SPEECH=0 ENABLE_SECCOMP_FILTERS=0 ENABLE_SHADOW_DOM=0 ENABLE_STYLE_SCOPED=0 ENABLE_TEMPLATE_ELEMENT=0 ENABLE_TEXT_AUTOSIZING=0 ENABLE_THREADED_HTML_PARSER=0 ENABLE_TOUCH_ICON_LOADING=0 ENABLE_USER_TIMING=0 ENABLE_VIBRATION=0 ENABLE_VIDEO=0 ENABLE_VIDEO_TRACK=0 ENABLE_WEBGL=0 ENABLE_WEB_AUDIO=0 ENABLE_XSLT=0" --preprocessor "E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\moc.exe -E" --symbolsPrefix cssyy css\CSSGrammar.y.in
Executing in E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs: git submodule init
Executing in E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs: git submodule update --init
configuring Qt Base, please wait...
Executing in E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase: E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\configure.bat -static -opensource -confirm-license -prefix E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase -qt-zlib -qt-libpng -qt-libjpeg -qt-pcre -nomake examples -nomake tools -nomake tests -no-qml-debug -no-dbus -no-opengl -no-audio-backend -D QT_NO_GRAPHICSVIEW -D QT_NO_GRAPHICSEFFECT -D QT_NO_STYLESHEET -D QT_NO_STYLE_CDE -D QT_NO_STYLE_CLEANLOOKS -D QT_NO_STYLE_MOTIF -D QT_NO_STYLE_PLASTIQUE -D QT_NO_PRINTPREVIEWDIALOG -mp -static-runtime -no-cetest -no-angle -icu -openssl -openssl-linked -I E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libicu\include -I E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libxml\include -I E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\openssl\include -I E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\zlib\include -L E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libicu\lib -L E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\libxml\lib -L E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\openssl\lib -L E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\3rdparty\zlib\lib -release
building Qt Base, please wait...
Executing in E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase: nmake /NOLOGO
configuring Qt WebKit, please wait...
Executing in E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit: E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtbase\bin\qmake.exe WEBKIT_CONFIG-=build_webkit2 WEBKIT_CONFIG-=netscape_plugin_api WEBKIT_CONFIG-=use_gstreamer WEBKIT_CONFIG-=use_gstreamer010 WEBKIT_CONFIG-=use_native_fullscreen_video WEBKIT_CONFIG-=video WEBKIT_CONFIG-=web_audio
building Qt WebKit, please wait...
Executing in E:\php_sx\phantomjs\phantomjs_2.1_32bit\phantomjs\src\qt\qtwebkit: nmake /NOLOGO
vitallium commented 8 years ago

I found these in your PATH:

C:\opencv2\opencv\sources_mingw\bin
C:\opencv2\opencv\build\x86\vc12\bin

Please remove them. Or start with clean PATH. PATH must contains only one compiler and its tools. Mixing mingw (or cygwin) with msvc will not work.

bourbon1991 commented 8 years ago

@Vitallium only removal opencv seems still not works…… oh, yes, I will clean the path. Thanks.