[Interest] Compile issues Qt5.5.0 with msvc2010 and openssl

Koehne Kai Kai.Koehne at theqtcompany.com
Fri Aug 21 08:01:29 CEST 2015



> -----Original Message-----
> From: interest-bounces+kai.koehne=theqtcompany.com at qt-project.org
> [mailto:interest-bounces+kai.koehne=theqtcompany.com at qt-project.org]
> On Behalf Of Thiago Macieira
> Sent: Thursday, August 20, 2015 6:17 PM
> To: interest at qt-project.org
> Subject: Re: [Interest] Compile issues Qt5.5.0 with msvc2010 and openssl
> 
> On Thursday 20 August 2015 11:20:26 Mathieu Slabbinck wrote:
> > -lGdi32" OPENSSL_LIBS_DEBUG="-lssleay32MTd -llibeay32MTd"
> > OPENSSL_LIBS_RELEASE="-lssleay32MT -llibeay32MT"
> 
> > cl -c -FIQtXmlPatternsDepends -YuQtXmlPatternsDepends
> > -Fp.pch\release\Qt5XmlPatterns_pch.pch -nologo -Zc:wchar_t -arch:SSE2
> > -O2 -MD -EHsc -GR -W3 -w34100 -w34189 -w44996 -DUNICODE -DWIN32
> 
> You're building code with -MD and linking an MT library. You cannot do
> that.
> 
> Choose one only: -MT or -MD.

The actual missing symbol " ___report_rangecheckfailure" though hints that your openssl static libs have been compiled with Visual Studio 2012 or newer, while you try to link now with Visual Studio 2010. I'm pretty sure this isn't supported by Visual Studio, even though openssl is C only.

Regards

Kai 



More information about the Interest mailing list