This is great news. I already work on adding "opcua" as a conditional build flag.
However now I do run into the following issue:
---
[ 50%] Building CXX object src/CMakeFiles/forte.dir/modules/opc_ua/opcua_layer.cpp.o
/home/jreimann/git/org.eclipse.4diac.forte/src/modules/opc_ua/opcua_layer.cpp: In member function ‘forte::com_infra::EComResponse COPC_UA_Layer::createMethodNode()’:
/home/jreimann/git/org.eclipse.4diac.forte/src/modules/opc_ua/opcua_layer.cpp:414:89: error: invalid conversion from ‘UA_StatusCode (*)(UA_Server*, const UA_NodeId*, void*, const UA_NodeId*, void*, const UA_NodeId*, void*, size_t, const UA_Variant*, size_t, UA_Variant*) {aka unsigned int (*)(UA_Server*, const UA_NodeId*, void*, const UA_NodeId*, void*, const UA_NodeId*, void*, long unsigned int, const UA_Variant*, long unsigned int, UA_Variant*)}’ to ‘UA_MethodCallback {aka unsigned int (*)(void*, UA_NodeId, long unsigned int, const UA_Variant*, long unsigned int, UA_Variant*)}’ [-fpermissive]
inputArguments, getCommFB()->getNumSD(), outputArguments, methodNodeId)) !=
^
In file included from /home/jreimann/git/org.eclipse.4diac.forte/src/modules/opc_ua/opcua_layer.cpp:20:0:
/home/jreimann/git/org.eclipse.4diac.forte/src/modules/opc_ua/opcua_handler.h:89:16: error: initializing argument 4 of ‘UA_StatusCode COPC_UA_Handler::createMethodNode(const UA_NodeId*, UA_UInt16, const char*, UA_MethodCallback, void*, unsigned int, const UA_Argument*, unsigned int, const UA_Argument*, UA_NodeId*)’ [-fpermissive]
UA_StatusCode createMethodNode(const UA_NodeId *parentNode, UA_UInt16 namespaceIdx, const char *methodName, UA_MethodCallback callback,
^
make[2]: *** [src/CMakeFiles/forte.dir/modules/opc_ua/opcua_layer.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/forte.dir/all] Error 2
make: *** [all] Error 2
---
My C/C++ is a bit rusty ... unfortunately not in that way :-D ... so any help figuring out what is wrong is appreciated.