Commit a6953d1c authored by Ivan Tyagov's avatar Ivan Tyagov

Add pub/sub folders.

parent da803ae2
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
rm -f server_publish server_subscribe rm -f server_publish server_subscribe
# build OPC UA server which publishes msgs # build OPC UA server which publishes msgs
gcc -o server_publish -I /usr/local/include/ -std=c99 server.c -l:libopen62541.so -L/usr/local/lib -lmbedcrypto -lmbedx509 gcc -o server_publish -I /usr/local/include/ -std=c99 server.c -l:libopen62541.so -L/usr/local/lib -lmbedcrypto -lmbedx509 -I ~/open62541/src/pubsub/ -I ~/open62541/deps/
# build OPC Ua server which subscribes to msgs # build OPC Ua server which subscribes to msgs
gcc -o server_subscribe -I /usr/local/include/ -std=c99 server_subscribe.c -l:libopen62541.so -L/usr/local/lib -I ~/open62541/src/pubsub/ -I ~/open62541/deps/ gcc -o server_subscribe -I /usr/local/include/ -std=c99 server_subscribe.c -l:libopen62541.so -L/usr/local/lib -I ~/open62541/src/pubsub/ -I ~/open62541/deps/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment