|Re: Issues compiling Forte with OPC UA module included in Windows [message #1800731 is a reply to message #1800608]
||Mon, 07 January 2019 13:39
| Kirill Dorofeev
Registered: February 2016
Hi Matthias, you're right, there has been a change in open62541 logger API done in the meantime, that's why you're getting this error in |. To fix it you need to change UA_Log_Forte to be
void UA_Log_Forte_log(void* logContext, UA_LogLevel level, UA_LogCategory category, const char *msg, va_list args)
and assign it in
uaServerConfig->logger.log = UA_Log_Forte_log;
then forte compiles successfully.
The reason, why I won't change it in the official forte repository for now is that we need to stick the forte code to one (latest) of open62541 release versions and there the API has not been changed yet.
Hope this helps,
[Updated on: Mon, 07 January 2019 13:40]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02077 seconds