[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.
Regards,
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>
http://lists.qt-project.org/mailman/listinfo/development<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.qt-project.org%2Fmailman%2Flistinfo%2Fdevelopment&data=02%7C01%7C%7C241d5d660c8d4c1a2d6b08d5f6f90135%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636686471678272895&sdata=z6ywU9HfP2lDsUjtGUwXHkjw8JRSZJjQ3zEnYmMFEYg%3D&reserved=0>
-------------- 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