Configure lib environment. First, write 0 to module dictionary 2004 to switch to EC mode; also close IGH when using SDK.
1. Change the interface name in the test program under the example folder to the actual network port name (check with ifconfig, replace initDll interface parameter with actual port name). Create build folder under example: mkdir build, cd build, cmake .., make to recompile.
2. Run under sudo: execute sudo su
3. Set lib environment: export LD_LIBRARY_PATH=/home/xxx/eyou_ethercat_sdk_x86_64_linux_gnu/lib (replace with your actual path)