I found the single files and downloaded them, and put it in my project,
then i used an example code to make a simple server(the code is in the documentation) but vs code keep having this errors:

it says that function "UA_Server_runUntillIntwrrupt" dont exist if I ctrl+click it, it don't go anywhere, but if I ctrl+click "UA_Server_new" and the other functions it goes to the open62541.c file like it is supose to, but the myServer.c keep having undefined reference.
I also keep having this errors in open62541.c:
Best regards, Renan Gentil.
The cmake file never changes.You can enable the amalgamation with the configuration setting that mudassir mentioned. Or use a gui tool like ccmake…
Regards, Julius
I'm new on importing external libraries, and using cmake, can you give me a cmake example file or explain with more details?
Thank you
Hi
you have to enable AMALGAMATION in the cmake options.
-DUA_ENABLE_AMALGAMATION=ON
I hope this message find you well,
I'm currently finding a problem trying to import and link the open62541 library using cmake, but rereading the github page (and also seeing it in the example files) i realized that is possible to merge it all into a single .h to make it easier to use.
But how can i do it?(please explain it in the most detailed way)
Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "open62541" group.