Tuesday, November 11, 2014

Compiling dimecoin in windows

To compile dimecoin in windows following things are needed

  • boost library version 1.53.0 I found this to be the most stable version and only this worked for the dimecoin.
  • berkeleydb4.8 (make sure you use self build one)
  • miniupnpc (it's optional)
  • win32openssl (an executable installer version will work too)
  • dime-coin source code of course
  •  Qt creator 4.8 works best but you will have to change a few things to get it working in Qtcreator version greator than 4.8
You can make some of these with mingw and some can be compiled and installed using console. You will also need to make few changes in dimecoin-qt.pro files. I will surely upload the video of compiling and setting up dimecoin in windows soon but for now I am uploading the precompiled libraries and dimecoin source code working for Qt 5.2.0. You can download the things here and make sure to change the paths to libraries in dimecoin-qt.pro to the path you will put libraries in, In short you will need to change these variables

BOOST_INCLUDE_PATH = D:/Odesk/boost_1_53_0
BOOST_LIB_PATH =
D:/Odesk/boost_1_53_0/stage/lib
OPENSSL_INCLUDE_PATH =
C:/OpenSSL-Win32/include
OPENSSL_LIB_PATH =
C:/OpenSSL-Win32/lib
BDB_LIB_PATH =
C:/berkeleydb/lib/
BDB_INCLUDE_PATH =
C:/berkeleydb/include
BDB_LIB_SUFFIX=
-4.8
MINIUPNPC_INCLUDE_PATH =
D:/Odesk/miniupnpc
MINIUPNPC_LIB_PATH =
D:/Odesk/miniupnpc

change the paths to wherever you have put the libraries. You can download the precompiled libraries and changed source code of dimecoin for qt5.2.0 here. Just Download all seven parts and extract them then you will have to extract all libraries, you will have to compile boost library yourself,

To compile boost library open command line interface. Move inside boost library and write  the following commands one by one

bootstrap.exe
bjam toolset=gcc --build-type=complete stage
 
You will have all compiled libraries after boost is compiled.


No comments:

Post a Comment