Commit dbbee887 authored by Patrick Bellot's avatar Patrick Bellot
Browse files

Final 29/06/2018

parent e8345404
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
-----------------------------------------------------------------------
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
......
This diff is collapsed.
#!/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
#!/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
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