CDP's fork of the open62541 OPC UA stack (https://github.com/open62541/open62541)

Julius Pfrommer 5e554bcdb3 clean up empty files преди 10 години
doc d6535c92f6 documentation structure преди 10 години
examples bee85dd24c initial structure for transaction support преди 10 години
include bee85dd24c initial structure for transaction support преди 10 години
src 3f7118b5ff every removed line is a good line преди 10 години
tests bee85dd24c initial structure for transaction support преди 10 години
tools e15423defd keep the namespace simple for merging xml2ns0 преди 10 години
.coverity.sh 333208f662 enhancements of automated coverity checks преди 10 години
.gitignore 54f21007cb completely fixing UA_QualifiedName: removing 'reserved' field преди 10 години
.travis.yml 220650ec23 getting doxygen 1.8 преди 10 години
LICENSE 9310d323c9 changed .gitignore again преди 10 години
Makefile.am 8d3e1ee885 add indent.sh tool. rename tools folder. преди 10 години
README.md 5e554bcdb3 clean up empty files преди 10 години
autogen.sh a7021a0e43 restored autogen.sh, it is needed to run autoconfig from CL преди 10 години
configure.ac 491c05b0ae checking for dot as required in #48 преди 10 години

README.md

Open62541

An open-source communication stack implementation of OPC UA (OPC Unified Architecture) licensed under LGPL + static linking exception.

Ohloh Project Status Build Status Coverity Scan Build Status

Documentation

Documentation is generated from Doxygen annotations in the source code. The current version can be accessed at http://acplt.github.io/open62541/doxygen/.

Getting dependencies

Ubuntu

Getting gcc toolchain:
sudo apt-get install build-essential subversion git autoconf libtool pkg-config texinfo
Getting python toolchain for the 62541 structures code generator:
sudo apt-get install python python-lxml 
Getting additional libraries:
sudo apt-get install expat libexpat1-dev
Getting and installing check as unit test framework (http://check.sourceforge.net/):
$ svn checkout https://svn.code.sf.net/p/check/code/trunk check-code
$ cd check-code
$ autoreconf --install
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig
Getting and using Doxygen
  • install the needed packages bash sudo apt-get install graphviz doxygen
  • configure autotools, clean and build: bash $ ./configure --enable-doxygen $ make clean $ make all
  • the output is generated in doc/html/index.htm
  • configure the output of Doxygen with doc/Doxygen.in file

Windows

Getting MinGW and MSYS:
Get Gtk+ bundle (just for m4 marcros and pkg-config):
Get git (IMPORTANT: get 1.8.4, since 1.8.5.2 has a bug):
Getting and installing check as unit testing framework (http://check.sourceforge.net/):
  • Open MinGW\msys\1.0\msys.bat
$ svn checkout svn://svn.code.sf.net/p/check/code/trunk check-code
$ cd check-code
$ autoreconf --install
$ ./configure
$ make
$ make install

Building

  • use autogen.sh only first time and whenever aclocal.m4 or configure.ac were modified bash $ cd open62541 $ ./autogen.sh $ ./configure --enable-debug=yes $ make $ make check

Configure Options

  • --enable-debug=(yes|no|verbose) - omit/include debug code
  • --enable-multithreading - enable pthreads (for examples/src/opcuaServerMT)
  • --enable-doxygen - make documentation as well
  • --enable-coverage - profiling with gcov,lcov, make check will generate reports in tests/coverage