Unrecognized Command Error
-
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. -
jsulm Lifetime Qt Championreplied to gabor53 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? -
Hi,
It was a faulty installation. I reinstalled it and it works fine now.
Thank you for your help. -
@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:
![2.PNG](https://ddgobkiprc33d.cloudfront.net/ceacb52d-0c1a-48 57-be83-f556ad03ac9b.PNG)
I set up everything using the Qt installer.
Post 1 of 4