Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zepeng Liu
OPC UA PubSub
Commits
1d324930
Commit
1d324930
authored
Jun 29, 2018
by
Patrick Bellot
Browse files
Merge branch 'windows_ingopcs2' into linux32_ingopcs2
parents
92b4c6df
dbbee887
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
HOWTO.txt
0 → 100644
View file @
1d324930
This implementation is valid for :
- Linux 32 and 64 bits
- Windows 32 and 64 bits
and maybe OSX 64 bits (that's a long time I have not tested it).
You must install :
- Eclipse for C++
- git
- any git graphical software you want
- under Linux and OS/X: g++, mbedtls library (version >= 2.11)
- under Windows : cl.exe
One it runs well, you may consult the documentation in
Ressources/opcua.pdf
----------------------------------------------------------------------
WINDOWS
You download the branch: windows_ingopcs2
With Eclipse, you must open the following project :
- opcua in opc-rosa/opcua
- mbedtls in opc-rosa/mbedtls
- s2opc_stack in opc-rosa/s2opc_stack
- opcua-client in opc-rosa/opcua-client
- opcua-server in opc-rosa/opcua-server
- memoryDll in opc-rosa/opcua-dll/windows/memoryDll
- myArrayDll in opc-rosa/opcua-dll/windows/myArrayDll
- xMouseDll in opc-rosa/opcua-dll/windows/xMouseDll
- yMouseDll in opc-rosa/opcua-dll/windows/yMouseDll
- addMethod in opc-rosa/opcua-method/windows/addMethod
In all project, you have in
Properties
-> C/C++ Build
-> Environment
two variables. One is named INCLUDE and is a path to
all include directories. One is named PATH and is a
path to all exe directories. They are configured for
my windows. I suggest that when doing a compilation,
if something goes wrong, you modifiy them.
You make a Clean of all projects in Eclipse. And then
a Build All until it finishes well !!!
You can run the server by exectuting run_windows.bat
in opc-rosa/opcua-server.
You can run the client by exectuting run_windows.bat
in opc-rosa/opcua-client.
Maybe you can mail to patrick.bellot@imt.fr
-----------------------------------------------------------------------
LINUX
You download the branch: linux64_ingopcs2 or linux32_ingopcs2
With Eclipse, you must open the following project :
- opcua in opc-rosa/opcua
- mbedtls in opc-rosa/mbedtls
- s2opc_stack in opc-rosa/s2opc_stack
- opcua-client in opc-rosa/opcua-client
- opcua-server in opc-rosa/opcua-server
- memoryDll in opc-rosa/opcua-dll/linux/memoryDll
- myArrayDll in opc-rosa/opcua-dll/linux/myArrayDll
- xMouseDll in opc-rosa/opcua-dll/linux/xMouseDll
- yMouseDll in opc-rosa/opcua-dll/linux/yMouseDll
- addMethod in opc-rosa/opcua-method/linux/addMethod
If the compilation goes wrong, you may want to fix your
PATH and INCLUDE_PATH.
You make a Clean of all projects in Eclipse. And then
a Build All until it finishes well !!!
You can run the server by exectuting linux.sh
in opc-rosa/opcua-server.
You can run the client by exectuting linux.sh <port>
in opc-rosa/opcua-client where <port> is any port > 1024.
Maybe you can mail to patrick.bellot@imt.fr
-----------------------------------------------------------------------
OS/X (in preparation)
You download the branch: osx_ingopcs2 or linux32_ingopcs2
With Eclipse, you must open the following project :
- opcua in opc-rosa/opcua
- mbedtls in opc-rosa/mbedtls
- s2opc_stack in opc-rosa/s2opc_stack
- opcua-client in opc-rosa/opcua-client
- opcua-server in opc-rosa/opcua-server
- memoryDll in opc-rosa/opcua-dll/macosx/memoryDll
- myArrayDll in opc-rosa/opcua-dll/macosx/myArrayDll
- xMouseDll in opc-rosa/opcua-dll/macosx/xMouseDll
- yMouseDll in opc-rosa/opcua-dll/macosx/yMouseDll
- addMethod in opc-rosa/opcua-method/macosx/addMethod
If the compilation goes wrong, you may want to fix your
PATH and DYLD_LIBRARY_PATH.
You make a Clean of all projects in Eclipse. And then
a Build All until it finishes well !!!
You can run the server by exectuting mac.sh
in opc-rosa/opcua-server.
You can run the client by exectuting mac.sh <port>
in opc-rosa/opcua-client where <port> is any port > 1024.
Maybe you can mail to patrick.bellot@imt.fr
-----------------------------------------------------------------------
README.txt
View file @
1d324930
This is the opc-rosa implementation submitted to the following license :
NOTE.
This is the opc-rosa implementation submitted to the following license :
- If distributed, the license of mbedtls library is "Apache 2.0 license"
as can be found in mbedtls/apache-2.0.txt. mbedtls library can be
...
...
Resources/opcua.pdf
0 → 100644
View file @
1d324930
This diff is collapsed.
Click to expand it.
opcua-client/mac_valgrind.sh
deleted
100755 → 0
View file @
92b4c6df
#!/bin/bash
echo
$PWD
export
DYLD_LIBRARY_PATH
=
../opcua/Debug:
$DYLD_LIBRARY_PATH
valgrind
--tool
=
memcheck
--leak-check
=
full ./Debug/opcua-client 127.0.0.1
$1
certificates.127.0.0.1 127.0.0.1 10000
opcua-server/mac_valgrind.sh
deleted
100755 → 0
View file @
92b4c6df
#!/bin/bash
echo
$PWD
export
DYLD_LIBRARY_PATH
=
../opcua/Debug:../../INGOPCS_STACK/lib:i../../INGOPCS_STACK/lib/mbedtls-2.3.0/library:
$DYLD_LIBRARY_PATH
valgrind
--tool
=
memcheck
--leak-check
=
full ./Debug/opcua-server server/SampleServer/Config/Config.xml 127.0.0.1 10000 certificates.127.0.0.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment