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. `Open62541Utils::nodeIdFromQString(QString const&)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'
Forum Updated to NodeBB v4.3 + New Features

`Open62541Utils::nodeIdFromQString(QString const&)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 293 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by gfxx
    #1

    I have an istallation on ubuntu 20.04 of my app server ... that is similar to test-server app of qtopcua test folder ..... it work ok .... after try to compile the same on ubuntu 18.04 and obtain these error:

    `Open62541Utils::nodeIdFromQString(QString const&)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'
    
    `QOpen62541ValueConverter::toOpen62541Variant(QVariant const&, QOpcUa::Types)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'
    

    in function addObject and addVariable (other function used noeIdFromQString & Variant I commented out because not use it ... so less error) .....

    I have install open62541 from git .... and from atp system using libopen62541-dev-1

    Someone can send me in right direction for solve these issue?

    regards

    bkt

    C 1 Reply Last reply
    0
    • gfxxG gfxx

      @ChrisW67 qt5.15.2 ... opcua from usual link https://blog.basyskom.com/building-qt-opc-ua-with-open62541/ .... the origin is git clone https://code.qt.io/qt/qtopcua.git .... these for all pc .... ubuntu 18 and 20 too ... all dependancy is satisfy .... think there are something on linking .... I litterally copy src and pki folder from opcua/src and opcua/test folder for server app ... after compiling the example ... so can use same pki and 3dparty file ... qtopcua client work well on every pc .... and example test-server too .... is my app that have problem when compile server app .... my app client is perfect and working with many server type on every pc.

      gfxxG Offline
      gfxxG Offline
      gfxx
      wrote on last edited by
      #4

      There are really link problem ... discover it and solve the issue.

      bkt

      1 Reply Last reply
      0
      • gfxxG gfxx

        I have an istallation on ubuntu 20.04 of my app server ... that is similar to test-server app of qtopcua test folder ..... it work ok .... after try to compile the same on ubuntu 18.04 and obtain these error:

        `Open62541Utils::nodeIdFromQString(QString const&)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'
        
        `QOpen62541ValueConverter::toOpen62541Variant(QVariant const&, QOpcUa::Types)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'
        

        in function addObject and addVariable (other function used noeIdFromQString & Variant I commented out because not use it ... so less error) .....

        I have install open62541 from git .... and from atp system using libopen62541-dev-1

        Someone can send me in right direction for solve these issue?

        regards

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

        @gfxx Qt versions and origin?

        gfxxG 1 Reply Last reply
        0
        • C ChrisW67

          @gfxx Qt versions and origin?

          gfxxG Offline
          gfxxG Offline
          gfxx
          wrote on last edited by gfxx
          #3

          @ChrisW67 qt5.15.2 ... opcua from usual link https://blog.basyskom.com/building-qt-opc-ua-with-open62541/ .... the origin is git clone https://code.qt.io/qt/qtopcua.git .... these for all pc .... ubuntu 18 and 20 too ... all dependancy is satisfy .... think there are something on linking .... I litterally copy src and pki folder from opcua/src and opcua/test folder for server app ... after compiling the example ... so can use same pki and 3dparty file ... qtopcua client work well on every pc .... and example test-server too .... is my app that have problem when compile server app .... my app client is perfect and working with many server type on every pc.

          bkt

          gfxxG 1 Reply Last reply
          0
          • gfxxG gfxx

            @ChrisW67 qt5.15.2 ... opcua from usual link https://blog.basyskom.com/building-qt-opc-ua-with-open62541/ .... the origin is git clone https://code.qt.io/qt/qtopcua.git .... these for all pc .... ubuntu 18 and 20 too ... all dependancy is satisfy .... think there are something on linking .... I litterally copy src and pki folder from opcua/src and opcua/test folder for server app ... after compiling the example ... so can use same pki and 3dparty file ... qtopcua client work well on every pc .... and example test-server too .... is my app that have problem when compile server app .... my app client is perfect and working with many server type on every pc.

            gfxxG Offline
            gfxxG Offline
            gfxx
            wrote on last edited by
            #4

            There are really link problem ... discover it and solve the issue.

            bkt

            1 Reply Last reply
            0
            • gfxxG gfxx 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