This is a fork of open62541, https://github.com/open62541/open62541

FlorianPalm d9ef36ca74 enhanced session handling (verifying securechannel etc) 10 years ago
doc 596f70813a Merge of branch namespace_generation 10 years ago
examples 7b19e1882c bugfixes within session handling and UA_Guid_copy function 10 years ago
include e997507535 Merge remote-tracking branch 'origin/master' into connection_secureChannel 10 years ago
src d9ef36ca74 enhanced session handling (verifying securechannel etc) 10 years ago
tests b2cb2bf866 solved #80 10 years ago
tools a1589bd00f added utility functions to traverse namespace 10 years ago
.gitignore 596f70813a Merge of branch namespace_generation 10 years ago
.travis.yml d72ce5eff0 still merging... 10 years ago
LICENSE 9310d323c9 changed .gitignore again 10 years ago
Makefile.am 955b0a7fbe Merge remote-tracking branch 'origin/master' into connection_secureChannel 10 years ago
README.md 758411d102 Update README.md 10 years ago
autogen.sh 418b701da0 create empty files for automake on the fly 10 years ago
configure.ac 491c05b0ae checking for dot as required in #48 10 years ago

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 expat
  • start MinGW Installation Manager
  • choose all Packages, mark mingw32-expat and install
Get Python and lxml:
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