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. Error while selecting MinGW compiler
Forum Updated to NodeBB v4.3 + New Features

Error while selecting MinGW compiler

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 479 Views
  • 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.
  • W Offline
    W Offline
    Winiston
    wrote on last edited by
    #1

    Dear,
    I used MinGW compiler and develop a basic widget application. It shows following error.
    c:\mingw\lib\libmingw32.a(setargv.o):-1: error: undefined reference to __chkstk_ms' c:\mingw\lib\libmingwex.a(glob.o):-1: error: undefined reference to __chkstk_ms'

    What could be the problem? If i select MSVC compiler, there is no error.
    QT version : 4.8.4
    OS : windows 10

    Regards,
    Winiston.P

    RatzzR jsulmJ 2 Replies Last reply
    0
    • W Winiston

      Dear,
      I used MinGW compiler and develop a basic widget application. It shows following error.
      c:\mingw\lib\libmingw32.a(setargv.o):-1: error: undefined reference to __chkstk_ms' c:\mingw\lib\libmingwex.a(glob.o):-1: error: undefined reference to __chkstk_ms'

      What could be the problem? If i select MSVC compiler, there is no error.
      QT version : 4.8.4
      OS : windows 10

      Regards,
      Winiston.P

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by Ratzz
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • W Winiston

        Dear,
        I used MinGW compiler and develop a basic widget application. It shows following error.
        c:\mingw\lib\libmingw32.a(setargv.o):-1: error: undefined reference to __chkstk_ms' c:\mingw\lib\libmingwex.a(glob.o):-1: error: undefined reference to __chkstk_ms'

        What could be the problem? If i select MSVC compiler, there is no error.
        QT version : 4.8.4
        OS : windows 10

        Regards,
        Winiston.P

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Winiston said in Error while selecting MinGW compiler:

        If i select MSVC compiler, there is no error.

        Is it possible that you're trying to use Qt built with MSVC compiler with MinGW compiler?

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

        1 Reply Last reply
        3

        • Login

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