Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation errors occur if UA_ENABLE_HISTORIZING is disabled #6546

Open
2 of 7 tasks
smitha-cgi opened this issue Jun 16, 2024 · 0 comments
Open
2 of 7 tasks

Compilation errors occur if UA_ENABLE_HISTORIZING is disabled #6546

smitha-cgi opened this issue Jun 16, 2024 · 0 comments

Comments

@smitha-cgi
Copy link

Background Information / Reproduction Steps

To reproduce, turn off the UA_ENABLE_HISTORIZING cmake option and build the source. Client.h and ua_client_highlevel.c report a bunch of syntax errors due to still referencing history access functions.

Solution

To fix, add #ifdef UA_ENABLE_HISTORIZING to the 'Historical Access Service Set' section in client.h, and to the 'Historical Access' section in ua_client_highlevel.c.

Checklist

Please provide the following information:

  • open62541 Version (release number or git tag): 1.4.1
  • Other OPC UA SDKs used (client or server):
  • Operating system: Windows 11
  • Logs (with UA_LOGLEVEL set as low as necessary) attached
  • Wireshark network dump attached
  • Self-contained code example attached
  • Critical issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant