Skip to content

Windows Compiling

Brian Burrell edited this page Apr 29, 2018 · 2 revisions

In order to build the Share Coin service download the MSYS2 64-bit build environment from "http://msys2.org/". Note: The Share Coin service is a 64-bit program, and therefore requires the "64-bit" version of MSYS2.

Open a MSYS2 command consolie window and run the following to install some basic development packages: pacman -S autoconf automake gcc openssl openssl-devel git doxygen

Create a "release" directory where the share coin programs will be stored. The can be ran outside of the MSYS environment. mkdir ~/libshare

Copy the dependant DLLs for MSYS2 that will be required to the the service and utility programs: cp /usr/bin/msys-2.0.dll ~/libshare cp /usr/bin/msys-gcc_s-seh-1.dll ~/libshare

Share Runtime Library

Download and install the libshare library: git clone https://github.com/neonatura/share ./libshare mkdir libshare/build cd libshare/build ../configure --sbindir=/usr/bin --bindir=/usr/bin --libdir=/usr/lib make make install

Share Library Installation

From the share build directory, copy the executables to the temporary release directory: cp ~/bin/*.exe ~/libshare

Note: This directory is typically located at "C:\msys64\home<username>\libshare" under the windows directory hierarchy.

Note: If you experience any autoconf compatibility issues (i.e. an error occurs while building) try running "./autogen.sh" in the root source code directory in order to remake the "configure" script based on your own platform environment.

Clone this wiki locally