Ok well I have to be off for a while but I'll describe the process I used to compile Cryptonite on Windows in case anyone wants to compile it themselves. I basically just followed this tutorial:
Building headless Bitcoin and Bitcoin-qt on Windows. However, a few of the steps need to be slightly altered, as follows:
1.3. Add mingw64 bin folder to PATH environment variable.
See:
http://www.computerhope.com/issues/ch000549.htmC:\mingw64\bin;...
1.2. Install 64 bit MinGW-builds project toolchain:
Download
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-posix/seh/x86_64-4.9.2-release-posix-seh-rt_v3-rev1.7z/downloadand unpack it to C:\
2.1. Make sure OpenSSL is configured for mingw64
cd /c/deps/
tar xvfz openssl-1.0.1l.tar.gz
cd openssl-1.0.1l
./Configure no-zlib no-shared no-dso no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2 no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3 mingw64
make
2.4. Download and compile miniupnpc 1.9 instead of 1.9.20150206
http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.tar.gzcd C:\deps\miniupnpc-1.9
mingw32-make -f Makefile.mingw init upnpc-static
2.6. Make sure the mingw64 directory is correct (2nd code box)
cd /c/deps/qrencode-3.4.4
LIBS="../libpng-1.6.16/.libs/libpng.a ../../mingw64/x86_64-w64-mingw32/lib/libz.a" \
png_CFLAGS="-I../libpng-1.6.16" \
png_LIBS="-L../libpng-1.6.16/.libs" \
configure --enable-static --disable-shared --without-tools
make
2.8. Download and unpack GMP into C:\deps\ folder
https://gmplib.org/download/gmp/gmp-6.0.0a.tar.xzCompile GMP with GMPXX using MinGW shell
tar xvf gmp-6.0.0a.tar.xz
cd /c/deps/gmp-6.0.0
./configure --disable-shared --enable-cxx
make
3.0. Download and unpack Cryptonite zip file from github into C:\
https://github.com/MiniblockchainProject/Cryptonite/archive/master.zipConfigure and compile Cryptonite from a MinGW shell:
cd /c/Cryptonite-master
./autogen.sh
CPPFLAGS="-I/c/deps/db-4.8.30.NC/build_unix \
-I/c/deps/openssl-1.0.1l/include \
-I/c/deps \
-I/c/deps/protobuf-2.6.1/src \
-I/c/deps/libpng-1.6.16 \
-I/c/deps/qrencode-3.4.4 \
-I/c/deps/gmp-6.0.0" \
LDFLAGS="-L/c/deps/db-4.8.30.NC/build_unix \
-L/c/deps/openssl-1.0.1l \
-L/c/deps/miniupnpc \
-L/c/deps/protobuf-2.6.1/src/.libs \
-L/c/deps/libpng-1.6.16/.libs \
-L/c/deps/qrencode-3.4.4/.libs \
-L/c/deps/gmp-6.0.0/.libs" \
BOOST_ROOT=/c/deps/boost_1_57_0 \
./configure \
--with-gui \
--disable-upnp-default \
--disable-tests \
--with-qt-incdir=/c/Qt/5.3.2/include \
--with-qt-libdir=/c/Qt/5.3.2/lib \
--with-qt-plugindir=/c/Qt/5.3.2/plugins \
--with-qt-bindir=/c/Qt/5.3.2/bin \
--with-protoc-bindir=/c/deps/protobuf-2.6.1/src
make
strip src/cryptonite-cli.exe
strip src/cryptonited.exe
strip src/qt/cryptonite-qt.exe