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. Linker issue
Forum Updated to NodeBB v4.3 + New Features

Linker issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 5 Posters 1.1k 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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by
    #4
    This post is deleted!
    R Christian EhrlicherC 2 Replies Last reply
    0
    • JoeCFDJ JoeCFD

      This post is deleted!

      R Offline
      R Offline
      Romain.Besso
      wrote on last edited by
      #5

      @JoeCFD Actually, I don't have that lib. How do you recommend to install it on Win 10 ?
      I have MSYS2 if it can be useful.

      thanks in advance

      jsulmJ 1 Reply Last reply
      0
      • R Romain.Besso

        @JoeCFD Actually, I don't have that lib. How do you recommend to install it on Win 10 ?
        I have MSYS2 if it can be useful.

        thanks in advance

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

        @Romain-Besso said in Linker issue:

        I have MSYS2 if it can be useful.

        No, it is not.
        Use MinGW installed with Qt to build that lib.

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

        R 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Romain-Besso said in Linker issue:

          I have MSYS2 if it can be useful.

          No, it is not.
          Use MinGW installed with Qt to build that lib.

          R Offline
          R Offline
          Romain.Besso
          wrote on last edited by
          #7

          @jsulm okay, I've never used it. I will look into doing this installation.

          Thanks

          JoeCFDJ 1 Reply Last reply
          0
          • R Romain.Besso

            @jsulm okay, I've never used it. I will look into doing this installation.

            Thanks

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #8

            @Romain-Besso your app may not use it directly, but the libs your app use need it.

            R 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

              @Romain-Besso your app may not use it directly, but the libs your app use need it.

              R Offline
              R Offline
              Romain.Besso
              wrote on last edited by
              #9

              @JoeCFD @jsulm Building a lib with mingw seems unclear to me.
              Can you tell me how to do it, if you know?
              thanks in advance.

              1 Reply Last reply
              0
              • JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by
                #10
                This post is deleted!
                1 Reply Last reply
                0
                • JoeCFDJ JoeCFD

                  This post is deleted!

                  Christian EhrlicherC Offline
                  Christian EhrlicherC Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #11

                  @JoeCFD said in Linker issue:

                  __imp_WSACloseEvent

                  libzmq is missing
                  https://github.com/zeromq/libzmq/issues/2884

                  ??

                  WSACloseEvent is in Ws2_32.dll so the linker needs to link against Ws2_32 ...

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  R 1 Reply Last reply
                  5
                  • Christian EhrlicherC Christian Ehrlicher

                    @JoeCFD said in Linker issue:

                    __imp_WSACloseEvent

                    libzmq is missing
                    https://github.com/zeromq/libzmq/issues/2884

                    ??

                    WSACloseEvent is in Ws2_32.dll so the linker needs to link against Ws2_32 ...

                    R Offline
                    R Offline
                    Romain.Besso
                    wrote on last edited by
                    #12

                    @Christian-Ehrlicher You are right, with this include I have now only one err :

                    C:/Qt/Tools/mingw1120_64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\mingw64\lib\libglib-2.0.a(gutils.c.obj):(.text+0x59b): undefined reference to `__imp_CoTaskMemFree'
                    

                    I think it's related to : https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-cotaskmemfree

                    But i dont have that Ole32 lib

                    Christian EhrlicherC 1 Reply Last reply
                    0
                    • R Romain.Besso

                      @Christian-Ehrlicher You are right, with this include I have now only one err :

                      C:/Qt/Tools/mingw1120_64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\mingw64\lib\libglib-2.0.a(gutils.c.obj):(.text+0x59b): undefined reference to `__imp_CoTaskMemFree'
                      

                      I think it's related to : https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-cotaskmemfree

                      But i dont have that Ole32 lib

                      Christian EhrlicherC Offline
                      Christian EhrlicherC Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #13

                      @Romain-Besso said in Linker issue:

                      But i dont have that Ole32 lib

                      You have, it's a base windows dll similar to Ws2_32.dll

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      0

                      • Login

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