[Development] Issue while compiling with MinGw_64

H-J Euler KoAhnig at hotmail.de
Tue Jul 31 17:44:45 CEST 2018

End of last year I experimented with different “MinGW 64 bit compilers” for compilation of boost and Qt libs.
I succeeded using MinGW 7.2.0  x86_64-7.2.0-posix-seh-rt_v5-rev1 from  http://mingw-w64.org on Qt 5.9.3. The most challenging part was the MinGW interface for finding and installing the right combination for the actual 64bit compiler. For an unexperienced user a nightmare IMHO.

Hope this helps.

Best regards

Von: Development <development-bounces+koahnig=hotmail.de at qt-project.org> Im Auftrag von Khuram Ali via Development
Gesendet: Dienstag, 31. Juli 2018 17:19
An: thiago.macieira at intel.com; development at qt-project.org
Betreff: Re: [Development] Issue while compiling with MinGw_64

Thanks Thiago!
Yes you are right. i am using nuwen MinGW distribution and it doesn't contain _wgetenv_s.
Khuram Ali

-----Original Message-----
From: Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>>
To: development <development at qt-project.org<mailto:development at qt-project.org>>
Sent: Tue, Jul 31, 2018 5:00 pm
Subject: Re: [Development] Issue while compiling with MinGw_64

On Tuesday, 31 July 2018 06:21:41 PDT Khuram Ali via Development wrote:
> qglobal.cpp:3333:5: error: '_wgetenv_s' was not declared in this scope

The problem is your MinGW headers and CRT. You need one that has _wgetenv_s.

In the MinGW-w64 headers I have, they exist. So check if you should erase your
MinGW installation and install another.

Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center

Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180731/6db06125/attachment.html>

More information about the Development mailing list