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. Qt5 Windows program can't find a procedure entry point
QtWS25 Last Chance

Qt5 Windows program can't find a procedure entry point

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 759 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.
  • R Offline
    R Offline
    rjmx
    wrote on last edited by
    #1

    2023-10-04 17_04_10-Chronicles.exe - Entry Point Not Found.png
    Still trying to get my program running in Windows. Now it compiles and links fine, but when I try to run it, I get errors saying

    The procedure entry point
    _ZSt28__throw_bad_array_new_lengthv could not be located in the dynamic link library
    

    (See attached image)
    This happens on the three external libraries That the program needs (hunspell, gpgme and qgpgme). The interesting thing is that I know that the entry points exist, because I ran 'nm' on them and it's definitely there. Anyone know what's happening here?

    Thanks!

    jsulmJ C 2 Replies Last reply
    0
    • R rjmx

      2023-10-04 17_04_10-Chronicles.exe - Entry Point Not Found.png
      Still trying to get my program running in Windows. Now it compiles and links fine, but when I try to run it, I get errors saying

      The procedure entry point
      _ZSt28__throw_bad_array_new_lengthv could not be located in the dynamic link library
      

      (See attached image)
      This happens on the three external libraries That the program needs (hunspell, gpgme and qgpgme). The interesting thing is that I know that the entry points exist, because I ran 'nm' on them and it's definitely there. Anyone know what's happening here?

      Thanks!

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

      @rjmx Take a look at https://doc.qt.io/qt-6/windows-deployment.html
      Use Windows Deployment Tool to deploy your app properly.

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

      1 Reply Last reply
      1
      • R rjmx

        2023-10-04 17_04_10-Chronicles.exe - Entry Point Not Found.png
        Still trying to get my program running in Windows. Now it compiles and links fine, but when I try to run it, I get errors saying

        The procedure entry point
        _ZSt28__throw_bad_array_new_lengthv could not be located in the dynamic link library
        

        (See attached image)
        This happens on the three external libraries That the program needs (hunspell, gpgme and qgpgme). The interesting thing is that I know that the entry points exist, because I ran 'nm' on them and it's definitely there. Anyone know what's happening here?

        Thanks!

        C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        @rjmx _ZSt28__throw_bad_array_new_lengthv is std::__throw_bad_array_new_length(): not part of hunspell, gpgme or qgpgme. It looks as if your executable is finding, e.g., libhunspell-1.7-0.dll but that DLL is not finding one of its dependencies containing the referenced symbol.

        R 1 Reply Last reply
        0
        • C ChrisW67

          @rjmx _ZSt28__throw_bad_array_new_lengthv is std::__throw_bad_array_new_length(): not part of hunspell, gpgme or qgpgme. It looks as if your executable is finding, e.g., libhunspell-1.7-0.dll but that DLL is not finding one of its dependencies containing the referenced symbol.

          R Offline
          R Offline
          rjmx
          wrote on last edited by
          #4

          @ChrisW67 Solved. Turns out it was using the wrong version of libstdc++-6.dll; used the one that came with qt, and that didn't have the "throw_bad_array_new_length" entry point. Used the one that came with mingw, and that fixed it.

          1 Reply Last reply
          0
          • R rjmx has marked this topic as solved on

          • Login

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