To build the library and run libiec61850 applications with GOOSE support on Windows (7/8) the use of a third-party library (winpcap) is required. Building the library with GOOSE support for Windows You can also build on a Windows plattform if you have MinGW ( ) installed. Probably you need to adjust the toolchain prefix variables in the file make/target_system.mk. It is assumed that a proper GCC cross-compiler toolchain (like MinGW or arm-linux-gcc) is installed. To cross-compile for ARM Linux you can call make TARGET=LINUX-ARM. To cross-compile for Windows you can call make TARGET=WIN32. To cross-compile for another platform you can specify the TARGET variable when executing make. It is assumed that a GCC toolchain and the Make tool is installed. To build the library on a Linux platform you can simply execute make in the main folder of the source distribution. Building the library with the make based system You can also use the “msbuild” tool coming with Visual Studio to invoke builds on the command line. The project “iec61850-shared” will build a DLL that exposes the functions of libiec61850. The project “iec61850” will build a static library that is required by the example projects. For every example in the examples directory you will find a Visual Studio project. You can open the solution in Visual Studio and you will see a few projects. You will find a solution file and projects files in the folder you executed cmake. This should point to the folder libiec61850-0.x which is in our case the parent directory (.). Note: The “.” at the end of the command line tells cmake where to find the main build script file (called CMakeLists.txt). To do the same thing for Visual Studio 2010 type Will instruct cmake to create a “solution” for Visual Studio 2012. As a command line argument you have to supply a “generator” that is used by cmake to create the project file for the actual build tool (in our case Visual Studio). If you have cmake installed fire up a command line (cmd.exe) and create a new subdirectory in the libiec61850-0.x folder. Otherwise you have to use the GUI tool that comes bundled with the Windows version of cmake. Then you can easily invoke cmake from the command line. In the dialog “Install Options” select one of “Add CMake to the system PATH” options.
To build with the Visual Studio tools the program cmake () is required.
Libiec61850 supports two different build systems.