Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. built project with ZERO MQ and windows msvc
QtWS25 Last Chance

built project with ZERO MQ and windows msvc

Scheduled Pinned Locked Moved Solved Mobile and Embedded
10 Posts 3 Posters 1.1k 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.
  • A Offline
    A Offline
    AMOL
    wrote on last edited by
    #1

    Hello, all I am working on application in which it is compiled for both android as well as windows platform, this app includes zeroMQ for communicating with server
    Also I have built zero libraries and used in android compiling it works perfectly andI built for linux also that is alos wokring perfect.
    but I am not able build same application for windows MSVC platform, I tried to used libraries but is gives linker errors:
    mainwindow.obj:-1: error: LNK2019: unresolved external symbol __imp_zmq_errno referenced in function "public: __cdecl zmq::error_t::error_t(void)" (??0error_t@zmq@@QEAA@XZ)
    mainwindow.obj:-1: error: LNK2019: unresolved external symbol __imp_zmq_strerror referenced in function "public: virtual char const * __cdecl zmq::error_t::what(void)const " (?what@error_t@zmq@@UEBAPEBDXZ)

    can anyone suggest somthing on this , how to use zmq library with QT ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you using the CPP API of ZMQ ?
      If so, did you compile it ?
      If not, do you know which version of Visual Studio was used for that ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AMOL
        wrote on last edited by AMOL
        #3

        Hi SGaist,
        yes I am using CPP API of ZMQ.
        I am using visual studio 2017 for MSVC compiler
        Yes, I tried to compile but not able to use it, If you know how to compile can you please guide me
        I am using below library
        https://github.com/jonnydee/nzmqt

        Pablo J. RoginaP A 2 Replies Last reply
        0
        • A AMOL

          Hi SGaist,
          yes I am using CPP API of ZMQ.
          I am using visual studio 2017 for MSVC compiler
          Yes, I tried to compile but not able to use it, If you know how to compile can you please guide me
          I am using below library
          https://github.com/jonnydee/nzmqt

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @AMOL I see that you've opened an issue at nzmqt repo. That's good.
          And just in case, have you checked comment about msvc from issue 19?

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          A 1 Reply Last reply
          1
          • Pablo J. RoginaP Pablo J. Rogina

            @AMOL I see that you've opened an issue at nzmqt repo. That's good.
            And just in case, have you checked comment about msvc from issue 19?

            A Offline
            A Offline
            AMOL
            wrote on last edited by AMOL
            #5

            @Pablo-J-Rogina , Hey thank you for revert, I have check issue 19 in which it creates .dll libraries for windows, but when I used that build n crashed, I need .lib format or .a format, so that same way I used in android and linux

            1 Reply Last reply
            0
            • A AMOL

              Hi SGaist,
              yes I am using CPP API of ZMQ.
              I am using visual studio 2017 for MSVC compiler
              Yes, I tried to compile but not able to use it, If you know how to compile can you please guide me
              I am using below library
              https://github.com/jonnydee/nzmqt

              A Offline
              A Offline
              AMOL
              wrote on last edited by
              #6

              @SGaist Any suggestions...

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Can you explain what exactly do you have right now ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AMOL
                  wrote on last edited by
                  #8

                  @SGaist I have .lib and .dll files for zmq I added .lib files and application builds but when I run it crashed..

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Are you sure you have all dependencies properly placed.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    A 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Are you sure you have all dependencies properly placed.

                      A Offline
                      A Offline
                      AMOL
                      wrote on last edited by
                      #10

                      Hi all,
                      My issue is resovled it is because of .dll file which was corrupted.
                      Thanks you for your precious time.

                      1 Reply Last reply
                      1

                      • Login

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