Post
Topic
Board Altcoin Discussion
Re: [Bounty in BTC] Elacoin windows -qt binary ( Need donators aswell )
by
WeissJT
on 14/05/2013, 18:56:00 UTC
Thanks tyrion!

Can you tell me what version of mingw, qt, and deps you used?
I was trying to build it, but have some errors with the boost lib.

Sure, I first followed the guide on:
https://bitcointalk.org/index.php?topic=149479.0

I used all the mentioned downloads there plus miniupnpc-1.8.

Then the fun part begins because the quide itself is not enough unfortunately..

You have to change the net.cpp file because it loads the upnp lib with a prefix (which is fine for Linux but not on Windows)
Code:
#ifdef USE_UPNP
#ifdef WIN32
#include
#include
#include
#include
#else
#include
#include
#include
#include
#endif
#endif

Also you have to make some changes to elacoin-qt.pro and src/makefile.mingw. Some libraries are needed in a different order and you need to add the
Code:
-D__NO_SYSTEM_INCLUDES
option to prevent mingw to use the wrong dependencies

I've uploaded changed files here:
https://docs.google.com/file/d/0B0f2VDPOrXt4V05WRFRDejlDYzQ/edit?usp=sharing


Thanks! Indeed, I tried that guide, and did some tweaks in .pro file, but not what you did.
Those changes are gonna be useful in the future Grin