`Open62541Utils::nodeIdFromQString(QString const&)' undefined reference to `QT_OPCUA_PLUGINS_OPEN62541()'
-
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
-
@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.
-
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
-
@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.
-
@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.
-
G gfxx has marked this topic as solved on