Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to build multiplatform projects like net-snmp with MinGW
Forum Updated to NodeBB v4.3 + New Features

How to build multiplatform projects like net-snmp with MinGW

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 614 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.
  • E Offline
    E Offline
    Ericbarker306
    wrote on 17 May 2023, 07:48 last edited by
    #1

    Hi!
    Can somebody explain how build this net-snmp code:
    net-snmp
    Steps shown at "README.win32" not works. I cant execute configure script. Same trouble with "libsmi" project:
    libsmi

    My OS: Windows7
    Compiler: MinGW + Qt

    ringtones free: https://downloadringtonesfree.mobi/

    S 1 Reply Last reply 17 May 2023, 18:58
    0
    • E Ericbarker306
      17 May 2023, 07:48

      Hi!
      Can somebody explain how build this net-snmp code:
      net-snmp
      Steps shown at "README.win32" not works. I cant execute configure script. Same trouble with "libsmi" project:
      libsmi

      My OS: Windows7
      Compiler: MinGW + Qt

      S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 May 2023, 18:58 last edited by
      #2

      Hi and welcome to devnet,

      Can you explain in what way is that related to Qt ?
      The instructions to build net-snmp are to be run in a terminal not from an IDE.

      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
      • B Offline
        B Offline
        BeckJohn21
        wrote on 16 Jun 2023, 06:51 last edited by
        #3

        These are the steps to achieve the result:

        • Download the Net-SNMP library
        • Extract it wherever you want
        • Download MSYS and install it
        • Run MSYS, you will have a bash shell
        • Now, locate the mingw compiler on Qt (see the image below)
        • On the MSYS bash type these commands:
          1. mkdir -p /mingw
          2. mount c:/Qt/Tools/mingw730_64 /mingw (the path of the mingw you discovered on point 5.)
          3. go to the Net-SNMP source path
          4. ./configure –prefix=/mingw –without-openssl –without-perl-modules
          5. make
          6. make install
        • Now, in the mingw Qt dir, you should have the Net-SNMP library and tools.
        • Edit your .pro files and add this line: win32: LIBS += -L$$PWD/net-snmp/lib/ -lnetsnmp -lws2_32

        sonnerie: https://sonneriesgratuite.com/

        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