preconfig.cmd fails in windows 7

1,685 views
Skip to first unread message

Andreas Bloch

unread,
Mar 22, 2013, 3:06:24 AM3/22/13
to phan...@googlegroups.com
I have following the windows build instruction http://phantomjs.org/build.html but get the following errors. Have tried to compile with "Visual Studio Command Prompt (2010)" and "Developer Command Prompt for VS2012" 

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
'..\..\..\bin\qmake' is not recognized as an internal or external command,
operable program or batch file.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
'..\..\..\bin\qmake' is not recognized as an internal or external command,
operable program or batch file.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
'..\..\..\..\bin\qmake' is not recognized as an internal or external command,
operable program or batch file.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.

C:\Program Files\phantomjs\src\qt>cd ..

C:\Program Files\phantomjs\src>cd ..

C:\Program Files\phantomjs>src\qt\bin\qmake -r
'src\qt\bin\qmake' is not recognized as an internal or external command,
operable program or batch file.


Vitaliy Slobodin

unread,
Mar 22, 2013, 4:26:28 AM3/22/13
to phan...@googlegroups.com
Hi.

You didn't build Qt. Could you post all your output after executing `preconfig.cmd`?
And, PhantomJS doesn't support VS2012. Use VS2010.

Andreas Bloch wrote:

I have following the windows build instruction
http://phantomjs.org/build.html but get the following errors. Have
tried to compile with "Visual Studio Command Prompt (2010)" and
"Developer Command Prompt for VS2012"

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
'..\..\..\bin\qmake' is not recognized as an internal or external command,
operable program or batch file.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation . All rights reserved.


NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
'..\..\..\bin\qmake' is not recognized as an internal or external command,
operable program or batch file.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
'..\..\..\..\bin\qmake' is not recognized as an internal or external
command,
operable program or batch file.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.

C:\Program Files\phantomjs\src\qt>cd ..

C:\Program Files\phantomjs\src>cd ..

C:\Program Files\phantomjs>src\qt\bin\qmake -r
'src\qt\bin\qmake' is not re cognized as an internal or external command,

operable program or batch file.


--
You received this message because you are subscribed to the Google
Groups "phantomjs" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to phantomjs+...@googlegroups.com.
Visit this group at http://groups.google.com/group/phantomjs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Andreas Bloch

unread,
Mar 22, 2013, 4:42:55 AM3/22/13
to phan...@googlegroups.com
Hey, thank you for helping out. Here's to full output:

C:\Program Files\phantomjs\src\qt>preconfig.cmd

This is the Qt for Windows Open Source Edition.

You have already accepted the terms of the license.


WARNING: Using static linking will disable the WebKit module.

Environment:
    INCLUDE=
      C:\Program Files\Microsoft Visual Studio 11.0\VC\INCLUDE
      C:\Program Files\Windows Kits\8.0\include\shared
      C:\Program Files\Windows Kits\8.0\include\um
      C:\Program Files\Windows Kits\8.0\include\winrt

    LIB=
      C:\Program Files\Microsoft Visual Studio 11.0\VC\LIB
      C:\Program Files\Windows Kits\8.0\lib\win8\um\x86

    PATH=
      C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions
\Microsoft\TestWindow
      C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\
      C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN
      C:\Program Files\Microsoft Visual Studio 11.0\Common7\Tools
      C:\Windows\Microsoft.NET\Framework\v4.0.30319
      C:\Windows\Microsoft.NET\Framework\v3.5
      C:\Program Files\Microsoft Visual Studio 11.0\VC\VCPackages
      C:\Program Files\Windows Kits\8.0\bin\x86
      C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools

      C:\Perl\site\bin
      C:\Perl\bin
      C:\Windows\system32
      C:\Windows
      C:\Windows\System32\Wbem
      C:\Windows\System32\WindowsPowerShell\v1.0\
      C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
      C:\Program Files\nodejs\
      C:\Python27\
      C:\Program Files\Phantomjs
      C:\Dwimperl\perl\bin
      C:\Dwimperl\perl\site\bin
      C:\Dwimperl\c\bin
      C:\MinGW\bin
      C:\Program Files\Microsoft\Web Platform Installer\
      c:\Program Files\Microsoft SQL Server\100\Tools\Binn\
      c:\Program Files\Microsoft SQL Server\100\DTS\Binn\
      C:\Users\ABloch\AppData\Roaming\npm\
You are licensed to use this software under the terms of the GNU GPL version 3.Y
ou are licensed to use this software under the terms of the Lesser GNU LGPL vers
ion 2.1.
See C:/Program Files/phantomjs/src/qt3

 or C:/Program Files/phantomjs/src/qtL

Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    release
Qt Configuration:
    release
    zlib
    gif
    no-tiff
    jpeg
    png
    no-mng
    accessibility
    s60
    openssl-linked
    ipv6
    native-gestures
    svg
    concurrent
    minimal-config
    small-config
    medium-config
    large-config
    full-config

QMAKESPEC...................win32-g++ (detected)
Architecture................windows
Maketool....................mingw32-make
Debug symbols...............no
Link Time Code Generation...no
Accessibility support.......yes
STL support.................no
Exception support...........no
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............no
OpenVG support..............no
OpenSSL support.............linked
QtDBus support..............no
QtXmlPatterns support.......no
Phonon support..............no
QtMultimedia support........no
WebKit support..............no
Declarative support.........no
QtScript support............no
QtScriptTools support.......no
Graphics System.............raster
Qt3 compatibility...........no
DirectWrite support.........no

Third Party Libraries:
    ZLIB support............qt
    GIF support.............yes
    TIFF support............no
    JPEG support............yes
    PNG support.............yes
    MNG support.............no
    FreeType support........no

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no
    S60.....................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..............C:\Program Files\phantomjs\src\qt
Build is done in............C:\Program Files\phantomjs\src\qt
Install prefix..............C:\Program Files\phantomjs\src\qt
Headers installed to........C:/Program Files/phantomjs/src/qt/include
Libraries installed to......C:/Program Files/phantomjs/src/qt/lib
Plugins installed to........C:/Program Files/phantomjs/src/qt/plugins
Imports installed to........C:/Program Files/phantomjs/src/qt/imports
Binaries installed to.......C:/Program Files/phantomjs/src/qt/bin
Docs installed to...........C:/Program Files/phantomjs/src/qt/doc
Data installed to...........C:/Program Files/phantomjs/src/qt
Translations installed to...C:/Program Files/phantomjs/src/qt/translations
Examples installed to.......C:/Program Files/phantomjs/src/qt/examples
Demos installed to..........C:/Program Files/phantomjs/src/qt/demos

Defines.....................QT_NO_GRAPHICSVIEW QT_NO_GRAPHICSEFFECT QT_NO_STYLE_
CDE QT_NO_STYLE_CLEANLOOKS QT_NO_STYLE_MOTIF QT_NO_STYLE_PLASTIQUE
Include paths...............C:\openssl\include
Additional libraries........-LC:\openssl\lib -llibeay32 -lssleay32
WARNING: Using static linking will disable the use of plugins.
         Make sure you compile ALL needed modules into the library.
Creating qmake...
mingw32-make: *** No rule to make target `C:\Program', needed by `project.o'.  S
top.
del project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o option.o win
makefile.o projectgenerator.o property.o meta.o makefiledeps.o metamakefile.o xm
loutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_vcproj.o msvc_vcxproj
.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.
o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o gbuild.o
qbitarray.o qbuffer.o qbytearray.o qcryptographichash.o qvsnprintf.o qbytearraym
atcher.o qconfig.o qdatetime.o qdir.o qdiriterator.o qfile.o qtemporaryfile.o qf
ileinfo.o qabstractfileengine.o qfilesystementry.o qfilesystemengine.o qfilesyst
emengine_win.o qfilesystemiterator_win.o qfsfileengine.o qfsfileengine_iterator.
o qfsfileengine_win.o qglobal.o qhash.o qiodevice.o qlibraryinfo.o qlist.o qlink
edlist.o qlocale.o qlocale_tools.o qlocale_win.o qmalloc.o qmap.o qregexp.o qtex
tcodec.o qutfcodec.o qstring.o qstringlist.o qsystemerror.o qsystemlibrary.o qte
xtstream.o quuid.o qvector.o qsettings.o qsettings_win.o qvariant.o qmetatype.o
qxmlstream.o qxmlutils.o qnumeric.o
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\project.o
mingw32-make: *** No rule to make target `C:\Program', needed by `project.o'.  S
top.
Building qmake failed, return code 2

Vitaliy Slobodin

unread,
Mar 22, 2013, 4:51:04 AM3/22/13
to phan...@googlegroups.com
Hi.

You have Mingw in your PATH variable.

C:\MinGW\bin

Unfortunately, Mingw is not supported. Remove it from PATH and all be good.

Regards,
Vitaliy.

Andreas Bloch

unread,
Mar 22, 2013, 5:04:40 AM3/22/13
to phan...@googlegroups.com
I removed the PATH variable for C:\MinGW\bin, closed the promt and tried again but unfortunately it still gives me error...
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1

Vitaliy Slobodin

unread,
Mar 22, 2013, 5:14:54 AM3/22/13
to phan...@googlegroups.com
Hi!

Your configuration has been cached. You need to clear cache and re-run `preconfig.cmd` again.
Execute in src\qt:

del .qmake.cache
del configute.cache

(or you can run `git clean -dfx` in `src\qt` to really remove old and cached files)
And then run `configure.cmd` again.

Regards,
Vitaliy.

Andreas Bloch

unread,
Mar 22, 2013, 5:26:09 AM3/22/13
to phan...@googlegroups.com
Again, I REALLY appreciate you helping me out here. I followed your instructions about clearing the cache, but is still gives errors...




You are licensed to use this software under the terms of the GNU GPL version 3.You are licensed to use this software
Include paths...............C:\openssl\include
Additional libraries........-LC:\openssl\lib -llibeay32 -lssleay32
WARNING: Using static linking will disable the use of plugins.
         Make sure you compile ALL needed modules into the library.
Creating qmake...
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1


Vitaliy Slobodin

unread,
Mar 22, 2013, 5:31:48 AM3/22/13
to phan...@googlegroups.com
Hi!

Well, let's try to force MSVC.
Add the following line to the `preconfig.cmd` file:

set QT_CFG=%QT_CFG% -platform win32-msvc2010

insert it after the line:

set QT_CFG=%QT_CFG% -static


Regards,
Vitaliy.

Andreas Bloch

unread,
Mar 22, 2013, 5:38:35 AM3/22/13
to phan...@googlegroups.com
Made the change to the preconfig.cmd, cleared the cache and tried again - still gives errors...

You are licensed to use this software under the terms of the GNU GPL version 3.You are licensed to use this software under the terms of the Lesser GNU LGPL version 2.1.
QMAKESPEC...................win32-msvc2010 (commandline)
Architecture................windows
Maketool....................nmake
Sources are in..............C:\Program Files\phantomjs\src\qt
Build is done in............C:\Program Files\phantomjs\src\qt
Install prefix..............C:\Program Files\phantomjs\src\qt
Headers installed to........C:\Program Files\phantomjs\src\qt\include
Libraries installed to......C:\Program Files\phantomjs\src\qt\lib
Plugins installed to........C:\Program Files\phantomjs\src\qt\plugins
Imports installed to........C:\Program Files\phantomjs\src\qt\imports
Binaries installed to.......C:\Program Files\phantomjs\src\qt\bin
Docs installed to...........C:\Program Files\phantomjs\src\qt\doc
Data installed to...........C:\Program Files\phantomjs\src\qt
Translations installed to...C:\Program Files\phantomjs\src\qt\translations
Examples installed to.......C:\Program Files\phantomjs\src\qt\examples
Demos installed to..........C:\Program Files\phantomjs\src\qt\demos

Defines.....................QT_NO_GRAPHICSVIEW QT_NO_GRAPHICSEFFECT QT_NO_STYLE_CDE QT_NO_STYLE_CLEANLOOKS QT_NO_STYLE_MOTIF QT_NO_STYLE_PLASTIQUE
Include paths...............C:\openssl\include
Additional libraries........-LC:\openssl\lib -llibeay32 -lssleay32
WARNING: Using static linking will disable the use of plugins.
         Make sure you compile ALL needed modules into the library.
Creating qmake...

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -Fo./  -W3 -nologo -O2  /MP  -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian -Igenerators\integrity  -IC:\Program Files\phantomjs\src\qt\inclu
de -IC:\Program Files\phantomjs\src\qt\include\QtCore  -IC:\Program Files\phantomjs\src\qt\include -IC:\Program Files\phantomjs\src\qt\include\QtCore  -IC:\Program Files\phantomjs\src\qt\src\corelib\g
lobal  -IC:\Program Files\phantomjs\src\qt\src\corelib\xml  -IC:\Program Files\phantomjs\src\qt\mkspecs\win32-msvc2010   -IC:\Program Files\phantomjs\src\qt\tools\shared  -DQT_NO_TEXTCODEC -DQT_NO_UNI
CODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL  -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD  -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PC
RE -DQT_BOOTSTRAPPED  -DQLIBRARYINFO_EPOCROOT -c -Yc -Fpqmake_pch.pch -TP qmake_pch.h
cl : Command line warning D9030 : '/Yc' is incompatible with multiprocessing; ignoring /MP switch
include
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include': No such file or directory
QtCore
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include\QtCore': No such file or directory
include
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include': No such file or directory
QtCore
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include\QtCore': No such file or directory
global
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\src\corelib\global': No such file or directory
xml
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\src\corelib\xml': No such file or directory
win32-msvc2010
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\mkspecs\win32-msvc2010': No such file or directory
shared
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\tools\shared': No such file or directory
qmake_pch.h
qmake_pch.h(44) : fatal error C1083: Cannot open include file: 'qglobal.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

        del qbitarray.obj  qbuffer.obj  qcryptographichash.obj  qfilesystementry.obj  qfilesystemengine.obj  qfilesystemengine_win.obj  qfilesystemiterator_win.obj  qfsfileengine.obj  qfsfileengine_it
erator.obj  qbytearray.obj  qvsnprintf.obj  qbytearraymatcher.obj  qdatetime.obj  qdir.obj  qdiriterator.obj  qfile.obj  qtemporaryfile.obj  qabstractfileengine.obj  qfsfileengine_win.obj  qsystemlibr
ary.obj  qfileinfo.obj  qglobal.obj  qhash.obj  qiodevice.obj  qlist.obj  qlinkedlist.obj  qlocale.obj  qlocale_tools.obj  qlocale_win.obj  qmalloc.obj  qmap.obj  qregexp.obj  qtextcodec.obj  qutfcode
c.obj  qstring.obj  qstringlist.obj  qsystemerror.obj  qtextstream.obj  qdatastream.obj  quuid.obj  qvector.obj  qsettings.obj  qlibraryinfo.obj  qvariant.obj  qsettings_win.obj  qmetatype.obj  qxmlst
ream.obj  qxmlutils.obj  qnumeric.obj
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qbitarray.obj
        del project.obj main.obj makefile.obj unixmake.obj unixmake2.obj mingw_make.obj  option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj  makefiledeps.obj metamakefile.obj xmlout
put.obj pbuilder_pbx.obj  borland_bmake.obj msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj  msvc_objectmodel.obj msbuild_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj  symmake_abld.obj sy
mmake_sbsv2.obj symbiancommon.obj registry.obj epocroot.obj  gbuild.obj
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\project.obj
        del qmake_pch.obj
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qmake_pch.obj
        del qmake_pch.pch
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qmake_pch.pch
        del qsystemlibrary.obj
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qsystemlibrary.obj
        del vc60.pdb
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\vc60.pdb
        del vc70.pdb
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\vc70.pdb
        del qmake.pdb
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qmake.pdb
        del qmake.ilk
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qmake.ilk
        del qmake.tds
Could Not Find C:\Program Files\phantomjs\src\qt\qmake\qmake.tds

Microsoft (R) Program Maintenance Utility Version 11.00.50727.1
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -c -Fo./  -W3 -nologo -O2  /MP  -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian -Igenerators\integrity  -IC:\Program Files\phantomjs\src\qt\inclu
de -IC:\Program Files\phantomjs\src\qt\include\QtCore  -IC:\Program Files\phantomjs\src\qt\include -IC:\Program Files\phantomjs\src\qt\include\QtCore  -IC:\Program Files\phantomjs\src\qt\src\corelib\g
lobal  -IC:\Program Files\phantomjs\src\qt\src\corelib\xml  -IC:\Program Files\phantomjs\src\qt\mkspecs\win32-msvc2010   -IC:\Program Files\phantomjs\src\qt\tools\shared  -DQT_NO_TEXTCODEC -DQT_NO_UNI
CODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL  -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD  -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PC
RE -DQT_BOOTSTRAPPED  -DQLIBRARYINFO_EPOCROOT -c -Yc -Fpqmake_pch.pch -TP qmake_pch.h
cl : Command line warning D9030 : '/Yc' is incompatible with multiprocessing; ignoring /MP switch
include
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include': No such file or directory
QtCore
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include\QtCore': No such file or directory
include
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include': No such file or directory
QtCore
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\include\QtCore': No such file or directory
global
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\src\corelib\global': No such file or directory
xml
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\src\corelib\xml': No such file or directory
win32-msvc2010
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\mkspecs\win32-msvc2010': No such file or directory
shared
c1xx : fatal error C1083: Cannot open source file: 'Files\phantomjs\src\qt\tools\shared': No such file or directory
qmake_pch.h
qmake_pch.h(44) : fatal error C1083: Cannot open include file: 'qglobal.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
Building qmake failed, return code 2


Vitaliy Slobodin

unread,
Mar 22, 2013, 5:50:46 AM3/22/13
to phan...@googlegroups.com
Hi.

You are trying to compile PhantomJS in path which is contains spaces. That's your problem.
Move PhantomJS to path without spaces.
Like C:\PhantomJS.

Regards,
Vitaliy.

Andreas Bloch

unread,
Mar 22, 2013, 6:56:03 AM3/22/13
to phan...@googlegroups.com
We're getting very close I think. 

Did a fresh git close to C:\phantomjs, added "C:\phantomjs" as PATH variable, cleaned cache. 

It compiled for 5-10 minutes but gave a couple of errors at the end...

YarrInterpreter.cpp
YarrPattern.cpp
YarrSyntaxChecker.cpp
YarrJIT.cpp
..\..\JavaScriptCore\wtf/HashSet.h(180) : error C2664: 'std::pair<_Ty1,_Ty2>::pair(const std::pair<_Ty1,_Ty2> &)' : cannot convert parameter 1 from 'std::pair<_Ty1,_Ty2>' to 'const std::pair<_Ty1,_Ty2
> &'
        with
        [
            _Ty1=WTF::HashTableConstIteratorAdapter<WTF::HashTable<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,void *>,
            _Ty2=bool
        ]
        and
        [
            _Ty1=WTF::HashTableIterator<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,
            _Ty2=bool
        ]
        and
        [
            _Ty1=WTF::HashTableConstIteratorAdapter<WTF::HashTable<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,void *>,
            _Ty2=bool
        ]
        Reason: cannot convert from 'std::pair<_Ty1,_Ty2>' to 'const std::pair<_Ty1,_Ty2>'
        with
        [
            _Ty1=WTF::HashTableIterator<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,
            _Ty2=bool
        ]
        and
        [
            _Ty1=WTF::HashTableConstIteratorAdapter<WTF::HashTable<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,void *>,
            _Ty2=bool
        ]
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
        ..\..\JavaScriptCore\wtf/HashSet.h(179) : while compiling class template member function 'std::pair<_Ty1,_Ty2> WTF::HashSet<ValueArg>::add(void *const &)'
        with
        [
            _Ty1=WTF::HashTableConstIteratorAdapter<WTF::HashTable<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,void *>,
            _Ty2=bool,
            ValueArg=void *
        ]
        c:\phantomjs\src\qt\src\3rdparty\webkit\source\javascriptcore\heap\MarkStack.h(74) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2> WTF::HashSet<ValueArg>::add(void *co
nst &)' being compiled
        with
        [
            _Ty1=WTF::HashTableConstIteratorAdapter<WTF::HashTable<void *,void *,WTF::IdentityExtractor<void *>,WTF::PtrHash<void *>,WTF::HashTraits<void *>,WTF::HashTraits<void *>>,void *>,
            _Ty2=bool,
            ValueArg=void *
        ]
        c:\phantomjs\src\qt\src\3rdparty\webkit\source\javascriptcore\heap\MarkStack.h(195) : see reference to class template instantiation 'WTF::HashSet<ValueArg>' being compiled
        with
        [
            ValueArg=void *
        ]
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

C:\phantomjs\src\qt>

Vitaliy Slobodin

unread,
Mar 22, 2013, 7:06:30 AM3/22/13
to phan...@googlegroups.com
You'r using VS2012 :)
Well, you can build PhantomJS with VS2012. But, you'll need in one small patch to fix this error.
Link - https://gist.github.com/Vitallium/5220503

Regargds,
Vitaliy.

Andreas Bloch

unread,
Mar 22, 2013, 9:29:31 AM3/22/13
to phan...@googlegroups.com
Ooooh well, it compiled for over an hour (I used VS2010), but then it stopped with the following errors:

qrc_WebKit.cpp
qrc_InspectorBackendStub.cpp
Generating Code...
        lib /NOLOGO  /OUT:..\..\..\..\..\..\lib\QtWebKit.lib @C:\Users\ABloch\AppData\Local\Temp\nm99E2.tmp
JSDOMApplicationCacheCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
AccessibilityObjectQt.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
PluginDebug.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
SpeechInputClientMock.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
GeolocationServiceMock.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
Performance.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
GeolocationPositionCache.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
CachedXSLStyleSheet.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
SpellingCorrectionController.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
RegisteredEventListener.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSXMLHttpRequestUploadCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSWebKitCSSKeyframesRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSWebKitCSSKeyframeRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSWebKitAnimationListCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSProcessingInstructionCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSNavigatorCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSMediaListCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSHTMLStyleElementCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSHTMLLinkElementCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSDOMTokenListCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSDOMImplementationCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCustomPositionErrorCallback.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCustomPositionCallback.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCSSStyleRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCSSPageRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCSSMediaRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCSSImportRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
JSCSSFontFaceRuleCustom.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
ExecutableAllocatorFixedVMPool.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
CallFrame.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
DFGGraph.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
MarkStackSymbian.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
MarkStackPosix.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
Opcode.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
CollatorICU.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
ThreadingNone.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
HashTable.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library

C:\phantomjs\src\qt>

Vitaliy Slobodin

unread,
Mar 22, 2013, 9:32:36 AM3/22/13
to phan...@googlegroups.com
Those are not errors. Just warnings.
You've just compiled Qt + QtWebkit. You ready to compile PhantomJS now.
Go to the PhantomJS root dir and type:

cd src && qt\bin\qmake && nmake


or follow the official instructions further.

Regards,
Vitaliy

Andreas Bloch

unread,
Mar 22, 2013, 9:46:31 AM3/22/13
to phan...@googlegroups.com
new errors when running: 
cd src && qt\bin\qmake && nmake 

   Creating library ..\bin\phantomjs.lib and object ..\bin\phantomjs.exp
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x463'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'

Alec Littlechild

unread,
Mar 22, 2013, 9:46:52 AM3/22/13
to phan...@googlegroups.com
Hi Vitality / Andreas,

I've been having the same issues as Andreas, and Vitality your answers have been very helpful...

..now, after installing VS2010 I finally got preconfig.cmd to finish (just as Andreas did)...

but I get the following after doing qmake / nmake

d\src" -I"c:\phantomjs\src\qt\include\ActiveQt" -I"release" -I"qt\mkspecs\defau
t" -Forelease\ @C:\Users\alec\AppData\Local\Temp\nm75A7.tmp
moc_phantom.cpp
moc_callback.cpp
moc_webpage.cpp
moc_webserver.cpp
moc_networkaccessmanager.cpp
moc_cookiejar.cpp
moc_filesystem.cpp
moc_system.cpp
moc_env.cpp
moc_config.cpp
moc_childprocess.cpp
moc_repl.cpp
moc_qcommandline.cpp
qrc_phantomjs.cpp
qrc_ghostdriver.cpp
qrc_WebKit.cpp
qrc_InspectorBackendStub.cpp
Generating Code...
        link /LIBPATH:"c:\phantomjs\src\qt\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT
INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Micro
oft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df
 language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:"release\phant
mjs.intermediate.manifest" /OUT:..\bin\phantomjs.exe @C:\Users\alec\AppData\Loc
l\Temp\nm8EEC.tmp
   Creating library ..\bin\phantomjs.lib and object ..\bin\phantomjs.exp
libeay32.lib(obj_dat.obj) : error LNK2019: unresolved external symbol ___report
rangecheckfailure referenced in function _OBJ_create_objects
libeay32.lib(b_print.obj) : error LNK2001: unresolved external symbol ___report
rangecheckfailure
libeay32.lib(pem_lib.obj) : error LNK2001: unresolved external symbol ___report
rangecheckfailure
libeay32.lib(b_dump.obj) : error LNK2001: unresolved external symbol ___report_
angecheckfailure
..\bin\phantomjs.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.
\VC\BIN\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

C:\phantomjs>

Vitaliy Slobodin

unread,
Mar 22, 2013, 9:51:17 AM3/22/13
to phan...@googlegroups.com
Hi.

You need to clear solution from previous build.
Run following In the PhantomJS src dir:

nmake clean

and then proceed with compiling as usual:

nmake


LNK1123 errors raised during compiling with MSVC2012 only due to bug in MS linker.

Vitaliy Slobodin

unread,
Mar 22, 2013, 9:53:02 AM3/22/13
to phan...@googlegroups.com
Hi.

You have problems with your OpenSSL libraries.
Which version do you using?

Andreas Bloch

unread,
Mar 22, 2013, 9:59:02 AM3/22/13
to phan...@googlegroups.com
looks like openssl version is 1.0.0

C:\>openssl version
WARNING: can't open config file: z:/strawberry_libs/build/_wrk_libs2011_.out/ssl/openssl.cnf
OpenSSL 1.0.0d 8 Feb 2011

I still get this following error after running "nmake clean" in src-folder and running nmake

   Creating library ..\bin\phantomjs.lib and object ..\bin\phantomjs.exp
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x463'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'

Vitaliy Slobodin

unread,
Mar 22, 2013, 10:06:21 AM3/22/13
to phan...@googlegroups.com
Hi Andreas.

Delete folders 'debug', 'release' in the 'src' folder.
Force to disable the Incremental Linking:
Add the following line:
QMAKE_LFLAGS=/INCREMENTAL:NO
to the section 'win32-msvc' in the `phantomjs.pro` file, like:

win32-msvc* {
   QMAKE_LFLAGS=/INCREMENTAL:NO
   LIBS += -lCrypt32

And re-run qmake + nmake.


Andreas Bloch wrote:

looks like openssl version is 1.0.0

C:\>openssl version
WARNING: can't open config file:
z:/strawberry_libs/build/_wrk_libs2011_.out/ssl/openssl.cnf
OpenSSL 1.0.0d 8 Feb 2011

I still get this following error after running "nmake clean" in
src-folder and running nmake

Creating library ..\bin\phantomjs.lib and object ..\bin\phantomjs.exp
LINK : fatal e rror LNK1123: failure during conversion to COFF: file
invalid or corrupt
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\link.EXE"' : return code '0x463'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Andreas Bloch

unread,
Mar 22, 2013, 10:21:13 AM3/22/13
to phan...@googlegroups.com
- Deleted "debug" and "release" in src dir
- changed the phantomjs.pro
- ran "nmake clean" in src dir
- ran "src\qt\bin\qmake -r"
- ran "nmanke"
 
still get errors...

   Creating library ..\bin\phantomjs.lib and object ..\bin\phantomjs.exp
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Vitaliy Slobodin

unread,
Mar 22, 2013, 10:23:42 AM3/22/13
to phan...@googlegroups.com
Hi Andreas.

Do you have MSVC2010 with Service Pack 1?

Andreas Bloch wrote:

Alec Littlechild

unread,
Mar 22, 2013, 10:40:36 AM3/22/13
to phan...@googlegroups.com
HI Vitality,

I'm using 1.0.1e, allthough I compiled them with vs2012  - I'm using vs2010 for phantom.js build..

C:\openssl\bin>openssl version
OpenSSL 1.0.1e 11 Feb 2013

Andreas Bloch

unread,
Mar 22, 2013, 10:42:16 AM3/22/13
to phan...@googlegroups.com
I'm a little in doubt how to check the service pack version...

here a screenshot from Help->About Microsoft Visual C++ 2010 Express


James Greene

unread,
Mar 22, 2013, 10:44:49 AM3/22/13
to phan...@googlegroups.com
Doesn't look like you have the Service Pack, you'd see it listed after the version number.  For example, mine says "Version 10.0.40219.1 SP1Rel".
~~James



--
You received this message because you are subscribed to the Google Groups "phantomjs" group.

Andreas Bloch

unread,
Mar 22, 2013, 2:46:37 PM3/22/13
to phan...@googlegroups.com
I'm tearing my hair out of my head! Arrrg

- Installed service pack 1 http://www.microsoft.com/en-us/download/details.aspx?id=23691

Printout from MVS2010:

Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.50709 SP1Rel
Installed Version: VC Express
Microsoft Visual C++ 2010   01013-532-2002287-70136
Microsoft Visual C++ 2010
Microsoft Visual C++ 2010 Express - ENU Service Pack 1 (KB983509)   KB983509
This service pack is for Microsoft Visual C++ 2010 Express - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

I tried to do the installation all over. Ran the "preconfig.cmd" - It compiled forever and seemed to work even though it gave the same warnings in the end that I encountered earlier. 

When running the "nmake" it still gives errors...

Generating Code...
        link /LIBPATH:"c:\phantomjs\src\qt\lib" /INCREMENTAL:NO /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKe
yToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:"release\phantomjs.intermediate.manifest" /OUT:..\bin\phantomjs.exe @C:\Users\ABloch\AppData\Local\Temp\nmE0DA
.tmp
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

release\phantom.obj release\callback.obj release\webpage.obj release\webserver.obj release\main.obj release\csconverter.obj release\utils.obj release\networkaccessmanager.obj release\cookiejar.obj rel
ease\filesystem.obj release\system.obj release\env.obj release\terminal.obj release\encoding.obj release\config.obj release\repl.obj release\replcompletable.obj release\gif_err.obj release\gifalloc.ob
j release\egif_lib.obj release\gif_hash.obj release\quantize.obj release\gifwriter.obj release\mongoose.obj release\linenoise.obj release\utf8.obj release\qcommandline.obj release\exception_handler.ob
j release\crash_generation_client.obj release\guid_string.obj release\moc_phantom.obj release\moc_callback.obj release\moc_webpage.obj release\moc_webserver.obj release\moc_networkaccessmanager.obj re
lease\moc_cookiejar.obj release\moc_filesystem.obj release\moc_system.obj release\moc_env.obj release\moc_config.obj release\moc_repl.obj release\moc_replcompletable.obj release\moc_qcommandline.obj r
elease\qrc_phantomjs.obj release\qrc_ghostdriver.obj release\qrc_WebKit.obj release\qrc_InspectorBackendStub.obj Ws2_32.lib Crypt32.lib /LIBPATH:C:\phantomjs\src\qt\plugins/codecs C:\phantomjs\src\qt\
plugins/codecs\qcncodecs.lib C:\phantomjs\src\qt\plugins/codecs\qjpcodecs.lib C:\phantomjs\src\qt\plugins/codecs\qkrcodecs.lib C:\phantomjs\src\qt\plugins/codecs\qtwcodecs.lib /LIBPATH:C:\phantomjs\sr
c\qt\plugins/imageformats C:\phantomjs\src\qt\plugins/imageformats\qico.lib c:\phantomjs\src\qt\lib\QtWebKit.lib c:\phantomjs\src\qt\lib\QtGui.lib c:\phantomjs\src\qt\lib\QtNetwork.lib c:\phantomjs\sr
c\qt\lib\QtCore.lib release\phantomjs_win.res /LIBPATH:C:\openssl\lib C:\openssl\lib\libeay32.lib C:\openssl\lib\ssleay32.lib kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32
.lib gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib msimg32.lib Advapi32.lib
   Creating library ..\bin\phantomjs.lib and object ..\bin\phantomjs.exp
libeay32.lib(obj_dat.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function _OBJ_create_objects
libeay32.lib(b_print.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
libeay32.lib(pem_lib.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
libeay32.lib(b_dump.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
..\bin\phantomjs.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

C:\phantomjs>

Min Zhang

unread,
Mar 24, 2013, 10:32:45 PM3/24/13
to phan...@googlegroups.com
Hi,
I had got some linking problems but I'm not sure they were the same as yours. Did you compile Openssl with vs2012 and PhantomJS with vs2010? This may be the problem.
Just try to compile openssl 1.0.1(not 1.0.1a,b,c,d,e) with vs2010, and then compile PhantomJS with vs2010 again.

Good Luck!

-Min Zhang

Michael Motes

unread,
Dec 11, 2013, 3:15:00 PM12/11/13
to phan...@googlegroups.com
Thanks for this thread, it helped me confirm that the library symbol warnings after preconfigure.cmd were immaterial and that i needed to run nmake from src and qmake without the -r parameter, as it says differently on the main site build instructions. It says run nmake from the main dir or root dir and when I did nmake complained of not finding a makefile. But when I ran 'qt\bin\qmake && nmake' from the src dir, it built.

Also, I used 1.0.1e openssl without issue, but it is true that it is nearly impossible to use static libs compiled from one compiler in another compiler msvc2010 vs msvc2012.
Reply all
Reply to author
Forward
0 new messages