Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 1.84 KB

windows.md

File metadata and controls

70 lines (44 loc) · 1.84 KB

Software dependencies

Minimalist GNU for Windows MinGW provides the tool set used to build the library and should be installed. When the MinGW installer starts select the mingw32-base and mingw32-gcc-g++ components. From the menu select "Installation" -> "Apply Changes", then click "Apply". Finally add C:\MinGW\bin to the PATH variable.

CMake is required to build the library and can be downloaded from www.cmake.org

The C Foreign Function Interface for Python CFFI module is also required, if you wish to use the Python module.

  • pip install cffi

In order to build the documentation doxygen is required.

Build Instructions

Start a command prompt as an administrator

The default build is for 32 bit machines

  1. mkdir Release
  2. cd Release
  3. cmake -G "MinGW Makefiles" ..
  4. mingw32-make
  5. mingw32-make test
  6. mingw32-make doc
  7. mingw32-make install

Post install append the PATH system variable to point to the install ./lib.

My Computer -> Properties -> Advanced > Environment Variables

The build can be configured using by setting flags on the command line i.e.

  1. cmake -G "MinGW Makefiles" -DWORD_LENGTH=64 ..

Uninstall software

  • mingw32-make uninstall

Building an installer

After having built the libraries you can build a Windows installer using this command

  • sudo mingw32-make package

In order for this to work NSSI has to have been installed