Thursday, December 3, 2020

OPC UA Open Source Build steps

 1) Git is installed in PC.

2) git clone https://github.com/open62541/open62541.git

3) git tag --list

4) git checkout v1.2-rc1

5) git describe --tags

6) create build directory and change into it.

7) git submodule init && git submodule update

8) cmake.exe .. -G "Visual Studio 16 2019" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL -DUA_BUILD_EXAMPLES=ON

9) Open .vln project

10) Inside project, CMakePredefinedTags, build BUILD and INSTALL.


2 comments:

  1. https://dane-bulat.medium.com/cmake-how-to-inspect-and-configure-the-compiler-877e6cb0317f#:~:text=1.,appropriate%20compiler%20for%20the%20project.

    ReplyDelete