Unrecognized Command Error
-
wrote on 1 Dec 2019, 21:31 last edited by
Hi,
When I try to run my code I get the following error message:
:-1: error: error: unrecognized command line option '-nostdlib++'; did you mean '-nostdlib'?
I use Qt.5.12.3. MinGW 32-bit .
I assume I need to change -nostdlib++ to '-nostdlib, but where can I find this command line?
Thank you for your help. -
Hi,
When I try to run my code I get the following error message:
:-1: error: error: unrecognized command line option '-nostdlib++'; did you mean '-nostdlib'?
I use Qt.5.12.3. MinGW 32-bit .
I assume I need to change -nostdlib++ to '-nostdlib, but where can I find this command line?
Thank you for your help.Lifetime Qt Championwrote on 2 Dec 2019, 05:36 last edited by jsulm 12 Feb 2019, 05:37@gabor53 This is a compile time error, not runtime.
How did you setup Qt and MinGW?
Do you use MinGW provided via Qt installer? -
wrote on 5 Dec 2019, 22:01 last edited by
Hi,
It was a faulty installation. I reinstalled it and it works fine now.
Thank you for your help. -
@gabor53 This is a compile time error, not runtime.
How did you setup Qt and MinGW?
Do you use MinGW provided via Qt installer?wrote on 11 Dec 2019, 21:53 last edited by@jsulm
I keep having the same problem. I have Qt Creator 4.10.2 Qt 5.13.2. (MSVC 2017, 32 bit) From revision 7c61e936ce.
My kits:

I set up everything using the Qt installer.
1/4