Jump to content

So, as a bit of a personal endeavour, I am creating a Cryptocurrency! At this stage, I have no plans to release this, it's purely intended for my own research, development and pretty much curiosity. I have forked a fork of the Litecoin source, as this fork (SmallChange) has extra annotations, etc, to assist in editing and refining the code. Now, that is NOT the problem here, I can edit it fine, I know what I'm doing around the place, and I can easily get it to build for Unix on a Linux Mint VM. BUT I want to build a .exe for Windows as well. Unfortunately, I do not have the dependencies for the Linux-Windows cross-compile on the VM, and in all honesty cannot see how to retrieve said dependencies, as I have already installed them through the command line as they are required for the Unix build too. So I moved onto my native Windows (8.1 for those wondering), and installed MinGW - essentially a Unix terminal emulator for windows. Using this, I downloaded the source for my required dependencies, and built them. One of the dependencies I require is the Berkly DB (or however you spell it). This, for some reason, is not building correctly, instead opening up CCleaner - which I don't even have installed ANYWHERE on my system - when I attempt to configure the source so it can be built. Hence, why I have resorted to the LinusTechTips forum - hopefully some in-the-know folk can help me out with this. You can see below the link to my GitHub repo for the coin (BilfredCoin - so fitting, don't you think?), as well as links to all the sources I am using for this build and a link to the MinGW homepage type thing...

 

BilfredCoin Repo: https://github.com/WCROX/BilfredCoin

Boost Lib (Version 1.57.0 STABLE): http://sourceforge.net/projects/boost/files/boost/1.57.0/

OpenSSL (Version 1.0.1l): http://www.openssl.org/source/openssl-1.0.1l.tar.gz

Berkly DB (Version 4.8.30.NC): http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz

MinGW Sourceforge Page: http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download

MinGW Toolchain (Required for building): http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-posix/dwarf/i686-4.9.2-release-posix-dwarf-rt_v3-rev1.7z/download

 

I do understand that some of these dependencies I'm using are not their most current, I do need to use these exact dependencies. I also don't mind if the build is prepared on either a Windows or Unix system, I'm just looking for some help or direction to getting a Windows Binary built (only through /src, currently only in the command-line stage of things). Thanks! :)

 

Note: Sorry if I have placed this in the wrong section, or if I have not explained the situation enough. I'm new to the forums :3

Link to comment
https://linustechtips.com/topic/348480-software-build-issues/
Share on other sites

Link to post
Share on other sites

Also, keep in mind, the code is no-where near complete for the currency. I still have plenty to do and am in just the very, very early stages of debugging - I wish to make sure that it will be buildable for the two main platforms (Unix and Windows) - as I am still retrieving my Merkel hashes and have yet to activate the Genesis Block.

Link to comment
https://linustechtips.com/topic/348480-software-build-issues/#findComment-4743042
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×