1准备工作
安装vs(我安装的是vs2017).
获取SOEM源文件,从网站http://openethercatsociety.github.io/上下载SOEM1.3.1.
下载安装wincap,到https://www.winpcap.org/install/default.htm下载winpcap的安装包,然后到https://www.winpcap.org/devel.htm程序员开发包.
支持cmake的SOEM(编译为vs项目,方便调试)
https://github.com/OpenEtherCATsociety/SOEM
2开始编译
打开x86 Native Tools Command Prompt for VS 2017(开始-------)(或者是"VS2015 x86 x64 兼容工具命令提示符")