Learn open62541 --- [38] The correct way to open open62541

This article is mainly to guide you how to use open62541 correctly and avoid entering the pit.


step 1 download the source code

Wall Crack recommends downloading the source code by yourself, then compiling, and finally using it, which will be more compatible with the running platform and reduce unnecessary errors.

How to download the source code? Click here to enter the github address of open62541, then find Releases on the right, click the blue "+35 releases",
Insert picture description here

After expanding, find the release version you want. Here, take
Insert picture description here
v1.1.3 as an example. Go down to find this version of Asserts, and then click to expand. The last 2 items are the source code. Just choose one to download (click to download).
Insert picture description here
Be sure to choose the release version , do not use the code of the main branch, because the release version is tested and verified, and most of the code of the main branch is under modification, without formal testing, and easy use will produce unpredictable consequences.


step 2 sub-module download

As mentioned in the previous article, some sub-modules need to be downloaded when certain functions (such as custom namespace) are enabled, and the following commands need to be executed

git submodule update --init

But the speed is often very slow, and sometimes it cannot be downloaded. After my close analysis, there are 2 sub-modules downloaded,

  • mdnsd, location: open62541 source directory/deps/mdnsd
  • ua-nodeset, location: open62541 source directory/deps/ua-nodeset

These sub-modules can be downloaded separately from the github website. I found that if you go to the website and use the browser to download, the speed will be faster than under the command line, which should be caused by the browser's download bonus.


summary

Basically, if you follow the above 2 steps, there will not be too many problems.

Guess you like

Origin blog.csdn.net/whahu1989/article/details/109786050