1. Getting Started

1.1. Download

The latest version of PFNET can be obtained from https://github.com/ttinoco/PFNET.

1.2. Installation

1.2.1. Linux and macOS

Installing PFNET on Linux or macOS requires typing the following commands in the root directory of the library:

./autogen.sh
./configure --prefix=$PWD/build
make
make check
make install

For executing the command ./autogen.sh, Autotools is needed (m4, automake, autoconf, autoconf-archive, etc).

1.2.2. Windows

Installation PFNET on Windows requires Cmake and MinGW, and typing the following commands in the root directory of the library:

cmake -DCMAKE_INSTALL_PREFIX=.\build -G"MinGW Makefiles" -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE .
mingw32-make -j
mingw32-make install