Error compiling forte 1.13 with open62 1.0.5 [message #1836444] |
Mon, 04 January 2021 08:17  |
Eclipse User |
|
|
|
Hello, I have been trying to upgrading open62 in my forte runtime. Since I was getting strange errors, I have tried updating forte to 1.13 as well. Now I am running into a different problem. When running make, I get the error:
[ 50%] Building CXX object src/CMakeFiles/FORTE_LITE.dir/__/core/deviceExecutionHandlers.cpp.o
In file included from /4diac/forte-incubation_1.13.0/src/com/opc_ua/opcua_remote_handler.h:20:0,
from /4diac/forte-incubation_1.13.0/bin/lmsEv3/core/deviceExecutionHandlers.cpp:19:
/4diac/forte-incubation_1.13.0/src/com/opc_ua/opcua_client_information.h:187:68: error: 'UA_ClientState' has not been declared
static void clientStateChangeCallback(UA_Client *paClient, UA_ClientState paClientState);
^~~~~~~~~~~~~~
src/CMakeFiles/FORTE_LITE.dir/build.make:2438: recipe for target 'src/CMakeFiles/FORTE_LITE.dir/__/core/deviceExecutionHandlers.cpp.o' failed
make[2]: *** [src/CMakeFiles/FORTE_LITE.dir/__/core/deviceExecutionHandlers.cpp.o] Error 1
CMakeFiles/Makefile2:248: recipe for target 'src/CMakeFiles/FORTE_LITE.dir/all' failed
make[1]: *** [src/CMakeFiles/FORTE_LITE.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I am cross-compiling using docker and have followed the instructions from the documentation found here: https://www.eclipse.org/4diac/en_help.php?helppage=html/communication/opc_ua.html#build
I don't want to change any code myself, since I will probably break something.
Is there something missing in the CMake cache in my open62 build? Looking at the forte repo: https://git.eclipse.org/c/4diac/org.eclipse.4diac.forte.git/tree/src/modules/opc_ua/opcua_client_information.cpp?id=9e793f1ee646678be4b644f638dfb11f154ce4d3
I can see the method has been implemented this way a long time ago, so I can assume there is no problem with it.
Can somebody help me out? If you need more information I would be glad to provide it.
Thank you in advance,
Mario
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.49328 seconds