UA SERVER SDK ANSI C for Linux ------------------------------ The following descriptions assume that you have unpacked the SDK to /home/john/sdk. Change this to your needs. Requirements: ------------- * CMake 2.6 - The build system * OpenSSL - For building the OPC UA Communication Stack General: -------- The sources a written in portable ANSI C and should compile on various systems, not only Linux. The sources were successfully built on Windows, Windows CE, Linux, OpenSolaris, Euros. The sources contain CMake files to simplify compiling on various systems, but this is not a requirement. You can create your own Makefiles for your target system if necessary. The following examples assume that you use CMake. Using the binaries: ------------------- The SDK contains already pre-built binaries which are compiled for general i686 CPUs. You can start to use the SDK using this binaries. If you create your own server or integrate the SDK into an existing project you only have to have to add this INCLUDEPATHS: /home/john/sdk/include/uastack, /home/john/sdk/include/serverlib and this LINKER configurations: -L/home/john/sdk/lib -luastack -lserverlib Using the sources: ------------------ You can recompile the SDK binaries using the SDK sources contained in /home/john/sdk/src. This way can change configurations and optimize the binaries for you CPU, or even port the sources to a new platform or hardware architecture. Follow the build instructions below to compile the sources. Building instructions: ---------------------- If you are familiar with CMake building should not be a problem for you. Check out this page http://www.cmake.org if you want to learn more about CMake. To simplify building the various UA SDK modules we created a BASH batch file. Using this batch file is also recommended if you don't know CMake. > cd /home/john/sdk > ./buildSdk.sh This will create the to build folders 'buildDebug' and 'buildRelease' to build the sources. These folders contain all generated files like the Makefiles, object files, etc. This way the src folder stays untouched. The build script removes these folders every time to guarantees clean builds.