Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unrecognized Command Error
Forum Updated to NodeBB v4.3 + New Features

Unrecognized Command Error

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 941 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gabor53
    wrote on 1 Dec 2019, 21:31 last edited by
    #1

    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.

    J 1 Reply Last reply 2 Dec 2019, 05:36
    0
    • G gabor53
      1 Dec 2019, 21:31

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 2 Dec 2019, 05:36 last edited by jsulm 12 Feb 2019, 05:37
      #2

      @gabor53 This is a compile time error, not runtime.
      How did you setup Qt and MinGW?
      Do you use MinGW provided via Qt installer?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply 11 Dec 2019, 21:53
      2
      • G Offline
        G Offline
        gabor53
        wrote on 5 Dec 2019, 22:01 last edited by
        #3

        Hi,
        It was a faulty installation. I reinstalled it and it works fine now.
        Thank you for your help.

        1 Reply Last reply
        0
        • J jsulm
          2 Dec 2019, 05:36

          @gabor53 This is a compile time error, not runtime.
          How did you setup Qt and MinGW?
          Do you use MinGW provided via Qt installer?

          G Offline
          G Offline
          gabor53
          wrote on 11 Dec 2019, 21:53 last edited by
          #4

          @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:
          1.PNG

          ![2.PNG](https://ddgobkiprc33d.cloudfront.net/ceacb52d-0c1a-48 57-be83-f556ad03ac9b.PNG)

          3.PNG

          I set up everything using the Qt installer.

          1 Reply Last reply
          0

          1/4

          1 Dec 2019, 21:31

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved