[Interest] Qt 5.5.1 & MSVC 2015

mark diener rpzrpzrpz at gmail.com
Thu Aug 27 20:03:30 CEST 2015


Oops,

I forgot the latest build errors, this time in the java engine (Yarr
parser?)

Each day, one less build blocker.

Generating Code...
        link /NOLOGO /DYNAMICBASE /NXCOMPAT /BASE:0x66000000
/INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /VERSION:5.5 /MANIFEST:embed
/OUT:..\..\lib\Qt5Qml.dll @C:\Users\md\AppData\Local\Temp\nmB431.tmp
   Creating library ..\..\lib\Qt5Qml.lib and object ..\..\lib\Qt5Qml.exp
YarrInterpreter.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::newlineCreate(void)"
(?newlineCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in function
"public: __thiscall JSC::Yarr::BytecodePattern::BytecodePattern(class
PassOwnPtr<class JSC::Yarr::ByteDisjunction>,class WTF::Vector<struct
OwnPtr<class JSC::Yarr::ByteDisjunction>,1,0> &,struct
JSC::Yarr::YarrPattern &,class WTF::BumpPointerAllocator *)"
(??0BytecodePattern at Yarr@JSC@@QAE at V?$PassOwnPtr at VByteDisjunction@Yarr at JSC
@@@@AAV?$Vector at U?$OwnPtr at VByteDisjunction@Yarr at JSC@@@@$00$0A@@WTF@
@AAUYarrPattern at 12@PAVBumpPointerAllocator at 5@@Z)
YarrJIT.obj : error LNK2001: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::newlineCreate(void)"
(?newlineCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ)
YarrPattern.obj : error LNK2001: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::newlineCreate(void)"
(?newlineCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ)
YarrInterpreter.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::wordcharCreate(void)"
(?wordcharCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in
function "public: __thiscall
JSC::Yarr::BytecodePattern::BytecodePattern(class PassOwnPtr<class
JSC::Yarr::ByteDisjunction>,class WTF::Vector<struct OwnPtr<class
JSC::Yarr::ByteDisjunction>,1,0> &,struct JSC::Yarr::YarrPattern &,class
WTF::BumpPointerAllocator *)" (??0BytecodePattern at Yarr@JSC@@QAE at V
?$PassOwnPtr at VByteDisjunction@Yarr at JSC@@@@AAV?$Vector at U
?$OwnPtr at VByteDisjunction@Yarr at JSC@@@@$00$0A@@WTF@@AAUYarrPattern at 12
@PAVBumpPointerAllocator at 5@@Z)
YarrJIT.obj : error LNK2001: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::wordcharCreate(void)"
(?wordcharCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ)
YarrPattern.obj : error LNK2001: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::wordcharCreate(void)"
(?wordcharCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ)
YarrPattern.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::digitsCreate(void)"
(?digitsCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in function
"public: struct JSC::Yarr::CharacterClass * __thiscall
JSC::Yarr::YarrPattern::digitsCharacterClass(void)"
(?digitsCharacterClass at YarrPattern@Yarr at JSC@@QAEPAUCharacterClass at 23@XZ)
YarrPattern.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::spacesCreate(void)"
(?spacesCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in function
"public: struct JSC::Yarr::CharacterClass * __thiscall
JSC::Yarr::YarrPattern::spacesCharacterClass(void)"
(?spacesCharacterClass at YarrPattern@Yarr at JSC@@QAEPAUCharacterClass at 23@XZ)
YarrPattern.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::nondigitsCreate(void)"
(?nondigitsCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in
function "public: struct JSC::Yarr::CharacterClass * __thiscall
JSC::Yarr::YarrPattern::nondigitsCharacterClass(void)"
(?nondigitsCharacterClass at YarrPattern@Yarr at JSC@@QAEPAUCharacterClass at 23@XZ)
YarrPattern.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::nonspacesCreate(void)"
(?nonspacesCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in
function "public: struct JSC::Yarr::CharacterClass * __thiscall
JSC::Yarr::YarrPattern::nonspacesCharacterClass(void)"
(?nonspacesCharacterClass at YarrPattern@Yarr at JSC@@QAEPAUCharacterClass at 23@XZ)
YarrPattern.obj : error LNK2019: unresolved external symbol "struct
JSC::Yarr::CharacterClass * __cdecl JSC::Yarr::nonwordcharCreate(void)"
(?nonwordcharCreate at Yarr@JSC@@YAPAUCharacterClass at 12@XZ) referenced in
function "public: struct JSC::Yarr::CharacterClass * __thiscall
JSC::Yarr::YarrPattern::nonwordcharCharacterClass(void)"
(?nonwordcharCharacterClass at YarrPattern@Yarr at JSC@@QAEPAUCharacterClass at 23
@XZ)
..\..\lib\Qt5Qml.dll : fatal error LNK1120: 7 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


On Thu, Aug 27, 2015 at 12:01 PM, mark diener <rpzrpzrpz at gmail.com> wrote:

> I can say that shadow building method definitely has a problem.
>
> When I built with same configure/nmake from the source directory, it built
> all the way until I got an unresolved externals.
>
> But my earlier information was solved by NOT Shadow building on Windows 10
> with MSVC2015.
>
> Only build from the source root directory itself.
>
> More news soon.
>
> md
>
>
>
>
> On Thu, Aug 27, 2015 at 8:11 AM, mark diener <rpzrpzrpz at gmail.com> wrote:
>
>> Thiago:
>>
>> Ok, the first error is the most important.
>>
>> I made sure I added your -I and -L suggestion
>> and tried to capture errors to a log file.
>>
>> There is a required space between -I C:\xxxx, it does not seem to allow
>> -IC:\xxxx
>>
>> Seems like the build process is ignoring the:
>> -IC:\macdev\openssl\include directive
>>
>> Attached are files:
>> A) builderrors.txt is the output generated by nmake /x
>> B) buildoutput.txt is the last bit of console output
>> C) configure.txt is the console output of the configure command
>> D) rpzbuild.bat.txt is the shadow build batch file (txt added to pass
>> google email filter, its a batch file)
>>
>> Seems like every thing is in place from the configure output.
>>
>> I downloaded the source from:
>>
>>
>> http://download.qt.io/official_releases/qt/5.5/5.5.0/single/qt-everywhere-opensource-src-5.5.0.zip
>>
>> 510 mb zip file.
>>
>> Running on Windows 10 with MSVC 2015 community edition.
>>
>> What do you think?
>> Download source from different place?
>> Where are you getting yours from, GIT clone?
>> Should I actually get openssl sources and build them too?
>>
>> Cheers,
>>
>> md
>>
>>
>>
>> On Mon, Aug 24, 2015 at 3:09 PM, Thiago Macieira <
>> thiago.macieira at intel.com> wrote:
>>
>>> On Monday 24 August 2015 11:36:36 mark diener wrote:
>>> > On Mon, Aug 24, 2015 at 9:39 AM, Thiago Macieira <
>>> thiago.macieira at intel.com>
>>> > wrote:
>>> > > Compile from sources, for now.
>>> >
>>> > Thanks Thiago.
>>> >
>>> > Has anybody built qt5.5.0 from sources with MSVC2015?
>>>
>>> Yes. I have been doing just that since last November.
>>>
>>> > There are people on the list that will want to build qt5.5.0 and
>>> qt5.5.1 if
>>> > we must wait until qt5.6 to get a MSVC2015 binary build
>>> > using Windows 10.
>>> >
>>> > So I would like to document a HOWTO for people in the community to
>>> repeat
>>> > step-by-step to build Qt5.5.0 from sources.
>>>
>>> configure -platform win32-msvc2015 [your other configure options]
>>> nmake
>>>
>>> > I did try to compile from qt.5.5.0 sources and ran into openssl path
>>> > errors.  Once I solve the openssl problems, I will likely run into
>>> others.
>>>
>>> Unrelated to MSVC 2015.
>>>
>>> > Building from sources
>>> > is trivial when everything goes right.
>>> >
>>> > Since openssl is needed and it does not come standard on a Windows
>>> machine,
>>> > and since there is no "yum install openssl" on Windows 10, I found
>>> > a MSVC2015 compiled developer ready package for the latest library and
>>> > header files from the following link:
>>> >
>>> >
>>> http://p-nand-q.com/programming/windows/openssl-1.0.2d-32bit-release-dll-vs2
>>> > 015.7z
>>> >
>>> > Unzipped an put into: C:\macdev\openssl  directory
>>>
>>> Then add to configure:
>>>         -IC:\macdev\poenssl\include -LC:\macdev\openssl\lib -openssl
>>>
>>> [I see you have in your script]
>>>
>>> > MANY SSL ERRORS ABOVE - But the net result:
>>> > c:\macdev\qt550\src\qtbase\src\network\ssl\qsslsocket_p.h(185): error
>>> > C2061: syntax error: identifier 'QSslCertificate'
>>>
>>> The most important error is the first.
>>>
>>> --
>>> Thiago Macieira - thiago.macieira (AT) intel.com
>>>   Software Architect - Intel Open Source Technology Center
>>>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150827/ab7f36fc/attachment.html>


More information about the Interest mailing list