Title: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 09, 2013, 03:10:22 PM Currently I don't have the time to properly support and improve EasyWinBuilder, sorry. Feel free to fork. EasyWinBuilder v0.7 for Bitcoin Core ======================== (c) 2014-2015 phelix / blockchained.com - MIT license Source: https://github.com/phelix/easywinbuilder Download (source in a zip file): https://github.com/phelix/easywinbuilder/archive/master.zip Forum: https://bitcointalk.org/index.php?topic=252931 Download environment software, all dependencies and build Bitcoin automatically. To run simply double click __all_easywinbuilder.bat or manually start the batch files in order. If you have ever built Bitcoin on Windows you probably know it can be a pain. Hopefully these scripts will make things a little easier. Note that the official Windows binaries are cross compiled on Linux. EasyWinBuilder can run on a mint windows system (e.g. a virtual machine) or a normal system. It might overwrite your MinGW or Qt installation, though. Please note the process takes about 1.5 hours (i3 with SSD) and will need about 3GB of hard drive space. All automatic downloads are now verified against included hashes. Edit set_vars.bat to change the Bitcoin version or build similarly structured altcoins and to change directories and dependency versions. Also run downloadhashes_create.sh from within MSYS. Based on build instructions by nitrogenetics (https://bitcointalk.org/index.php?topic=149479.0), Matt Corallo and others I will only answer support requests publicly posted in this thread. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 09, 2013, 03:44:48 PM https://github.com/phelixbtc/bitcoin/blob/master/easywinbuilder/README.md not found You added wrong url by mistake. Thanks for the hint - corrected. I first had to find github's default branch feature. :D Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Zalfrin on July 10, 2013, 03:05:22 AM Great idea! This is extremely helpful. However... not yet fully working for me. I ran the __all... batch file from a command prompt and all went smoothly for a while, until at some point during the process, the command window exited on its own. I'm working on tracking down where it had problems.
Looks like something in build_dep.sh. memenv_test compile completes, but not much seems to have happened in the openssl folder, and nothing in the db folder. I commented out "set -o errexit" in build_dep.sh, assuming that was what killed my command window due to an error somewhere. When I did that and run 3b.bat, I get as far as the openssl install, then I can see a bunch of windows for c:\MinGW\bin\cc.exe being launched and closed, until I kill the batch file. I'll keep poking at it and see if I can learn any more about the issue. EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Zalfrin on July 10, 2013, 03:39:58 AM Warning this has a backdoor in it that sends the owner all the bitcoins LOL. Care to point out where in the code this happens? OP provided a bunch of benign .bat files and unmodified 0.8.3 BTC source code. I encourage you to do your homework with any release published on the internet, but from having looked through all the batch files/shell scripts and run through the process myself, there doesn't look to be any funny business. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Zalfrin on July 10, 2013, 03:50:11 AM Other than the openssl installation issue, everything else went smoothly. I will try out the generated qt file on a machine with a fresh windows install.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: cursednova on July 10, 2013, 04:46:43 AM oh god you have no idea how much I love you right now!
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Gavin Andresen on July 10, 2013, 06:14:47 AM Nice work!
RE: gcc creating different binaries: The gitian build does two main things to make builds reproducible: 1. Uses libfaketime.so so all calls to time()/etc during compilation return the same time. (I don't know if it is the compiler, linker, or archiver that likes to put timestamps in binaries) 2. Passes -frandom-seed=constant to g++, so it doesn't create random names for generated methods. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: anonppcoin on July 10, 2013, 03:45:31 PM EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Thanks for this tip, I had to do the same. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 10, 2013, 03:58:52 PM Warning this has a backdoor in it that sends the owner all the bitcoins no. Please give proof with accusations like that.Everybody is invited to look at the files himself. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 10, 2013, 04:02:00 PM EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Thanks for this tip, I had to do the same. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: cursednova on July 10, 2013, 04:20:10 PM open ssl will not install and I cant figure out how to get past this error
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: cowanjeffrey93 on July 10, 2013, 04:24:59 PM LOVIN IT, keep it up!
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: cursednova on July 10, 2013, 05:04:33 PM I would like to apologize about the last post because if I had was paying attention I would of read it needs perl now the openssl has no issues at all. I would like to thank you for letting me use your software much love <3
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: anonppcoin on July 10, 2013, 05:44:54 PM EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Thanks for this tip, I had to do the same. I had perl but I'm not sure if I had restarted (this is a number-crunching workstation) since adding it to the path. Retrying from scratch now. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: 2112 on July 10, 2013, 07:07:56 PM Unfortunately it does not work as MinGW GCC is somewhat nondeterministic. Have you triedCode: -frandom-seed=<string> Make compile reproducible using <string> Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 10, 2013, 10:01:54 PM Nice work! RE: gcc creating different binaries: The gitian build does two main things to make builds reproducible: 1. Uses libfaketime.so so all calls to time()/etc during compilation return the same time. (I don't know if it is the compiler, linker, or archiver that likes to put timestamps in binaries) 2. Passes -frandom-seed=constant to g++, so it doesn't create random names for generated methods. Unfortunately it does not work as MinGW GCC is somewhat nondeterministic. Have you triedCode: -frandom-seed=<string> Make compile reproducible using <string> Thanks for the suggestions, very much appreciated. I was about to filter the disassembly for commands and register names ;D Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 10, 2013, 10:19:41 PM EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Thanks for this tip, I had to do the same. I had perl but I'm not sure if I had restarted (this is a number-crunching workstation) since adding it to the path. Retrying from scratch now. The batch files install msys-perl themselves so it should be better NOT to have Perl installed beforehand. Theoretically it should not matter, though so maybe there is another problem. For me it runs fine (just tested again on Primecoin). Maybe you could launch 3b_run_build_dep.bat (and the following if there is no problem) from the command line and post if you can then see a problem. The scripts should pause on error but it does not seem to work in this case. sed will always cry about permissions but it does the job. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Zalfrin on July 10, 2013, 10:34:18 PM I don't have Perl installed on this machine. I have been running from a command prompt, not double-clicking the .bat. ;)
As I said, when 3b.bat gets to installing openssl, either .config or (more likely) make is going off in the weeds... Window after window of instances of cc.exe open and close. My best guess is the compiler is being invoked incorrectly somehow. Should cc.exe even be getting invoked? ??? Anyhow, all the details of the problem are in my 1st post above. I was able to work around it, so not a huge deal. Thanks for releasing this, overall it's excellent. ;) I will toss you a donation the next time I open my wallet. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 10, 2013, 10:50:31 PM I don't have Perl installed on this machine. I have been running from a command prompt, not double-clicking the .bat. ;) Sorry, I had missed your report. Atm I am lost on this one ??? As I said, when 3b.bat gets to installing openssl, either .config or (more likely) make is going off in the weeds... Window after window of instances of cc.exe open and close. My best guess is the compiler is being invoked incorrectly somehow. Should cc.exe even be getting invoked? ??? Anyhow, all the details of the problem are in my 1st post above. I was able to work around it, so not a huge deal. Thanks for releasing this, overall it's excellent. ;) I will toss you a donation the next time I open my wallet. I have tested on Win8 and XP btw. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 11, 2013, 03:05:07 PM [...] 2. Passes -frandom-seed=constant to g++, so it doesn't create random names for generated methods. Unfortunately it does not work as MinGW GCC is somewhat nondeterministic. Have you triedCode: -frandom-seed=<string> Make compile reproducible using <string> Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: 2112 on July 11, 2013, 03:43:53 PM I guess this would have to be applied to all dependency builds, too? oh boy. Of course. May I suggest that you try your differencing approach on some simpler project? Gavin had mentioned libfaketime.so; which is not applicable to build that is hosted on Windows. But you still need to develop a methodology for effectively ignoring the time stamps that get incorporated into the binaries.Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 12, 2013, 11:51:38 AM Issues with OpenSSL seem to be fixed (it always worked for me but know I got confirmation from someone where it did not work before).
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 17, 2013, 08:49:37 AM Somebody has written a build script before:
https://bitcointalk.org/index.php?topic=28782.0 [Automatic] Building windows bitcoin client from sources The download via .vbs works on my system so it might be possible to make the whole process fully automatic. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 20, 2013, 08:10:06 AM Out now: v0.2
https://github.com/phelixbtc/bitcoin The binary hash seems to work for the Qt executable. At least for the two machines I tested on with different Windows version and bits. It would be nice if somebody could post his result. Could not get it to work with bitcoind.exe so far, any idea appreciated. Also the way I use to get around the timestamp is quite inefficient and I am not sure if it is secure: Code: echo Hash sha256 of disassembly [may take a while]: Quote Hash of Qt binary [experimental]... File hash sha256: bb3759f90601a092e6d6bc87f3fdfaba1a2507b6b631d3506052f37f517370a9 *../release/bit coin-qt.exe Hash sha256 of disassembly [may take a while]: 7e1f2a6f435cedca4304640d58ca663212b8a2ca4267e6a5ca865ce28d90dc6a - phelix got: 7e1f2a6f435cedca4304640d58ca663212b8a2ca4267e6a5ca865ce28d90dc6a Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Palmdetroit on July 20, 2013, 08:07:53 PM Worked for me win7 64
Saved me lots of time, thanks! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Gavin Andresen on July 31, 2013, 12:04:05 AM So, one thought:
Instead of "staging" all of the dependencies and then modifying the makefile/.pro to look for the dependencies in six different places, it would be cleaner to configure with --prefix=<somewhere> and then 'make install' to put all the dependency libraries/include files in one spot. Ideally, none of the makefiles/.pro files would contain specific version numbers for anything. Specific notes as I worked through doing that on a Windows system, putting dependencies in C:\deps : Openssl: /bin/perl Configure --prefix=/c/deps mingw ...etc BDB: ../dist/configure --prefix=/c/deps ...etc Boost: b2.exe --layout=system --prefix=C:\deps link=static threading=multi runtime-link=static toolset=gcc ...etc Qt: configure.exe -prefix=C:\deps -I "C:\deps\include" -L "C:\deps\lib" ...etc Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 31, 2013, 07:58:06 AM So, one thought: Thanks for the configure lines. You are saying that it is cleaner to throw all the libraries into one folder? To be frank that sounds somewhat messy to me. I would see an advantage in putting each dependency's libs into separate folder of the same structure, e.g. "C:\deps\libboost", C:\deps\libminiupnpc. But first I want to make sure the disassembly binary verifying is working.Instead of "staging" all of the dependencies and then modifying the makefile/.pro to look for the dependencies in six different places, it would be cleaner to configure with --prefix=<somewhere> and then 'make install' to put all the dependency libraries/include files in one spot. Ideally, none of the makefiles/.pro files would contain specific version numbers for anything. Specific notes as I worked through doing that on a Windows system, putting dependencies in C:\deps : Openssl: /bin/perl Configure --prefix=/c/deps mingw ...etc BDB: ../dist/configure --prefix=/c/deps ...etc Boost: b2.exe --layout=system --prefix=C:\deps link=static threading=multi runtime-link=static toolset=gcc ...etc Qt: configure.exe -prefix=C:\deps -I "C:\deps\include" -L "C:\deps\lib" ...etc Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Vitalicus on July 31, 2013, 09:08:30 PM Will EasyWinBuilder compile litecoin ?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 01, 2013, 08:18:33 AM I'm starting to lose my patience. ??? * Download your favorite Litecoin version: https://github.com/litecoin-project/litecoin and extract it.I pay 0.3 BTC each person that successfully explains to me: how to build a litecoin-qt client on a windows system. ->From the first download up to the final "ctrl-B command" in the Qt Creator. * Download https://github.com/phelixbtc/bitcoin/archive/0.8.3-EasyWinBuilder-v0.2.zip and copy the easywinbuilder folder into the litecoin folder (so that it is next to src, doc, ...) * In the easywinbuilder folder edit set_vars.bat: @set COINNAME=bitcoin ---> @set COINNAME=litecoin * In the easywinbuilder folder double click __all_easywinbuilder.bat * Follow instructions unfortunately, the script crashs after some times. I will try this on an other windows machine in a few hours. but thanks anyway If you like send me the output by pm or here https://bitcointalk.org/index.php?topic=252931 and I will look into it. The script crash after thees errors: Just tested and it worked with a single double click on __everything_but_environment_easywinbuilder.bat (because I already have the correct mingw and qt installed).c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system-mgw44-mt-s-1_53 c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw44-mt-s-1_53 c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw44-mt-s-1_53 c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw44-mt-s-1_53 c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin d -lssl c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin d -lcrypto collect2.exe: Fehler: ld gab 1 als Ende-Status zurück the debug and release folders are empty Problem seems to be that it does not find the dependencies... I assume you got this file: https://github.com/litecoin-project/litecoin/archive/master-0.8.zip Directory structure should look like this before you start the batch file: C:\....\litecoin-master-0.8 - contrib - doc - easywinbuilder - libs - share - src Within the libs folder the scripts will download dependency archives, unpack them to some folders. If it fails you can take a look in there to see if everything is in the right place (archives, directories named like archives). Code: Hash of Qt binary [experimental]... The second hash should be the same for you. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 01, 2013, 08:23:45 AM Will EasyWinBuilder compile litecoin ? yes:* Download the latest Litecoin version https://github.com/litecoin-project/litecoin/archive/master-0.8.zip and extract it * Download https://github.com/phelixbtc/bitcoin/archive/0.8.3-EasyWinBuilder-v0.2.zip and copy ONLY the easywinbuilder folder into the litecoin folder like this: C:\....\litecoin-master-0.8 - contrib - doc - easywinbuilder - libs - share - src * In the easywinbuilder folder edit set_vars.bat: @set COINNAME=bitcoin ---> @set COINNAME=litecoin * In the easywinbuilder folder double click __all_easywinbuilder.bat * Follow instructions * Post the hash it prints out at the end here to help me improve file verification (as I did in the post above) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Viriatto on August 04, 2013, 06:43:32 PM http://gifs.gifbin.com/032012/1333041057_perfect_freehand_circle_drawing.gif
I guess your intention is saving alot people right now and will in the future ::) Great Job! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Vitalicus on August 04, 2013, 10:19:06 PM My litecoin compiling stop at:
make: Nothing to be done for "all" openssl... Operating system: i686-watether-mingw Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 05, 2013, 10:21:15 AM http://gifs.gifbin.com/032012/1333041057_perfect_freehand_circle_drawing.gif hehe, thanks.I guess your intention is saving alot people right now and will in the future ::) Great Job! My litecoin compiling stop at: Thanks for the hint. On some systems the openssl config stalled like that - seems to be a bug in MSYS with redirects when called from a batch file. Luckily yesterday I got my hands on a system with this problem (win7, 32bit). I added a workaround so you can give it another try if you like (to speed things up you should be able to overwrite the easywinbuilder directory with the new version and continue with __everything_from_after_unpack_easywinbuilder.bat or go through the steps manually starting with 3b).make: Nothing to be done for "all" openssl... Operating system: i686-watether-mingw Binary verification via disassembly hash Also the disassembly hash for Qt matched on this third system so I think the principle of binary verification via disassembly hashes could work. If you have an opinion on the security of this verification method or a better way to get rid of the timestamp on windows / MinGW please let me know. It might be necessary to add some objdump output to the hash to make it more secure. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Viriatto on August 05, 2013, 10:29:04 PM Im trying to get test done under a fresh Windows XP.
It all runs fine until 4a(Building Daemon part), returning the following error: Code: c:/ming/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_system-mgw45-mt-s-1_50 (I've also tried without enviromnent) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 06, 2013, 09:00:19 AM Im trying to get test done under a fresh Windows XP. It can not find the boost libraries... try the build boost batch (is there an error?) and then build daemon / build qtIt all runs fine until 4a(Building Daemon part), returning the following error: Code: c:/ming/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_system-mgw45-mt-s-1_50 (I've also tried without enviromnent) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Vitalicus on August 06, 2013, 10:18:49 PM From 3b_run_build_dep.bat does not work > "rxvt" - is not a file or command.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Viriatto on August 07, 2013, 01:03:29 AM Im trying to get test done under a fresh Windows XP. It can not find the boost libraries... try the build boost batch (is there an error?) and then build daemon / build qtIt all runs fine until 4a(Building Daemon part), returning the following error: Code: c:/ming/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_system-mgw45-mt-s-1_50 (I've also tried without enviromnent) Managed to workit out by moving my coin folder to c:\, yet some other stuff happened i will try to fix it and repost feedback. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 07, 2013, 09:34:13 AM From 3b_run_build_dep.bat does not work > "rxvt" - is not a file or command. Sorry forgot about that: You will have to start over from __everything_but_environment.bat or manually run this command from a mingw msys shell: Code: mingw-get install msys-rxvt Im trying to get test done under a fresh Windows XP. It can not find the boost libraries... try the build boost batch (is there an error?) and then build daemon / build qtIt all runs fine until 4a(Building Daemon part), returning the following error: Code: c:/ming/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_system-mgw45-mt-s-1_50 (I've also tried without enviromnent) Managed to workit out by moving my coin folder to c:\, yet some other stuff happened i will try to fix it and repost feedback. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 03, 2013, 12:34:26 PM From 3b_run_build_dep.bat does not work > "rxvt" - is not a file or command. Sorry forgot about that: You will have to start over from __everything_but_environment.bat or manually run this command from a mingw msys shell: Code: mingw-get install msys-rxvt Im trying to get test done under a fresh Windows XP. It can not find the boost libraries... try the build boost batch (is there an error?) and then build daemon / build qtIt all runs fine until 4a(Building Daemon part), returning the following error: Code: c:/ming/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_system-mgw45-mt-s-1_50 (I've also tried without enviromnent) Managed to workit out by moving my coin folder to c:\, yet some other stuff happened i will try to fix it and repost feedback. There is a newer version with variable directories and automatic COINNAME detection here: https://github.com/phelixnmc/namecoin-qt - this is Namecoin but can be copy pasted to Bitcoin/Altcoins. Also I moved the easywinbuilder folder into contrib. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 05, 2013, 02:20:46 PM all seemed to be right, but i got this error message:
Code: In file included from c:\deps\boost_1_54_0/boost/system/system_error.hpp:14:0, i think this happens somewhere in the last bitcoin compile step i used the standard code, no changes Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 05, 2013, 02:55:37 PM all seemed to be right, but i got this error message: Hmm can't remember that problem. The actual error is shown much further up in your output. Code: In file included from c:\deps\boost_1_54_0/boost/system/system_error.hpp:14:0, i think this happens somewhere in the last bitcoin compile step i used the standard code, no changes You can run the 4b_build_qt.bat from SciTE or increase your command window buffer size (open command line, right click on the top left icon, properties, layout, windowbuffersize --> 9999, then start the batch file from command line) and then look at the top or post the output again. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 05, 2013, 03:15:02 PM building qt - make...
Code: building qt - qmake... partially it's non-english, but i can translate it if needed the thing i dont get is that i am using a working package of environment and code, but still get an error Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 05, 2013, 05:41:01 PM building qt - make... It seems like you installed MinGW with the wrong parameters. Yeah, you really need to follow instructions EXACTLY, building Bitcoin on windows is a fragile process. When the MinGW installer asks about it do NOT select "download latest repository catalogues" but use the "pre-packaged catalogues" (20120426). This will install the necessary gcc 4.6.2. You should then rebuild the dependencies, too.Code: [...] Quote partially it's non-english, but i can translate it if needed No worries, I am a native German speaker myself.Quote the thing i dont get is that i am using a working package of environment and code, but still get an error That would be really awkward. :)Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 05, 2013, 07:49:29 PM wie kann man denn in der mysys-shell die pakete rebiulden?
bin mir außerdem nicht sicher, ob das hier in der komplettpakt-batch noch ein problem darstellt: Code: C:\Users\Owner\Documents\GitHub\bitcoin\libs\boost_1_54_0>call bootstrap.bat mingw Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 05, 2013, 08:29:43 PM I answer in English as it is a little impolite towards the others to write in German here...
wie kann man denn in der mysys-shell die pakete rebiulden? Just restart the installer, it will ask you.Quote bin mir außerdem nicht sicher, ob das hier in der komplettpakt-batch noch ein problem darstellt: No, that's perfectly normal. I have no idea why it says that.Code: C:\Users\Owner\Documents\GitHub\bitcoin\libs\boost_1_54_0>call bootstrap.bat mingw Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: BitDreams on September 06, 2013, 10:43:08 PM I'm hoping this will fix problems I've been having with bitcoin.
Here's another thread where I've been exploring a solution: https://bitcointalk.org/index.php?topic=287351.msg3094913#msg3094913 * previous anti-virus issue appears resolved - so far AV is working and has not complained but I have yet to succeed with an install and here's my notes https://bitcointalk.org/index.php?topic=287351.msg3094913#msg3094913 MinGW was installed, i had overlooked this. ANN https://bitcointalk.org/index.php?topic=252931.0 detected this, I deleted the MinGW folder and then restarted ANN Default Directory c:\Qt\4.8.5 is what Qt setup proposed... @ Qt OpenSource 4.8.5 Setup I got the following error: There is a problem with your MinGW installation: The installer could not find a valid C:\MinGW\include\w32api.h (Only versions with W32API3.13 are supported) Do you still want to continue? (Your installation may not work) I said yes... c:/mingw/bin/../lib/gcc/miingw32/4.6.2/../../../../mingw32/bin/1d.exe: cannont find -1ss1 c:/mingw/bin/../lib/gcc/miingw32/4.6.2/../../../../mingw32/bin/1d.exe: cannont find -1crypto collect2: 1d returned 1 exit status mingw32-make: *** [bitcoind.exe] Error 1 ================================================ Nice to watch the BAT file appears to uninstall everything it installed. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 08, 2013, 04:14:33 PM I'm hoping this will fix problems I've been having with bitcoin. That's ok. Instructions on the command line should say so, too.Here's another thread where I've been exploring a solution: https://bitcointalk.org/index.php?topic=287351.msg3094913#msg3094913 * previous anti-virus issue appears resolved - so far AV is working and has not complained but I have yet to succeed with an install and here's my notes https://bitcointalk.org/index.php?topic=287351.msg3094913#msg3094913 MinGW was installed, i had overlooked this. ANN https://bitcointalk.org/index.php?topic=252931.0 detected this, I deleted the MinGW folder and then restarted ANN Default Directory c:\Qt\4.8.5 is what Qt setup proposed... @ Qt OpenSource 4.8.5 Setup I got the following error: There is a problem with your MinGW installation: The installer could not find a valid C:\MinGW\include\w32api.h (Only versions with W32API3.13 are supported) Do you still want to continue? (Your installation may not work) I said yes... Quote c:/mingw/bin/../lib/gcc/miingw32/4.6.2/../../../../mingw32/bin/1d.exe: cannont find -1ss1 seems like it can not find the libraries. It is a little odd that your path has two "i"s in it.c:/mingw/bin/../lib/gcc/miingw32/4.6.2/../../../../mingw32/bin/1d.exe: cannont find -1crypto collect2: 1d returned 1 exit status mingw32-make: *** [bitcoind.exe] Error 1 ================================================ Quote Nice to watch the BAT file appears to uninstall everything it installed. ??? no, it does not do that. :)Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 08, 2013, 06:25:19 PM I now get asked the same Question like BitDreams on MinGW install and when i ignore it, it results in the following error:
Code: g++ -c -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wn Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: neoranga on September 08, 2013, 09:05:43 PM For those with this problem: leveldb/db.h: No such file or directory
Download and use easywinbuilder in a folder inside a path with NO spaces Now I have another problem showing several times: ... D:\neoranga\bitcoin\src/db.h:156: undefined reference to `Dbt::Dbt(void*, unsigned int)' D:\neoranga\bitcoin\src/db.h:162: undefined reference to `Dbt::Dbt(void*, unsigned int)' collect2: ld returned 1 exit status mingw32-make: *** [bitcoind.exe] Error 1 !!!!!! Error! Build daemon failed. Any clue where the problem may be? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 08, 2013, 09:12:29 PM Do i have to perform an update in the mysys shell before excuting the batch files? No, don't update anything it will do everything necessary automatically.As per neoranga's hint use a directory without spaces. I will add this to the readme (thanks to Viriatto for first noting this, too). Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 08, 2013, 09:37:17 PM For those with this problem: leveldb/db.h: No such file or directory Will add this to the readme:Download and use easywinbuilder in a folder inside a path with NO spaces Now I have another problem showing several times: ... D:\neoranga\bitcoin\src/db.h:156: undefined reference to `Dbt::Dbt(void*, unsigned int)' D:\neoranga\bitcoin\src/db.h:162: undefined reference to `Dbt::Dbt(void*, unsigned int)' collect2: ld returned 1 exit status mingw32-make: *** [bitcoind.exe] Error 1 !!!!!! Error! Build daemon failed. Any clue where the problem may be? Quote Often the source of trouble is difficult to identify as there are so many follow up issues. You can run the scripts from within SciTE or increase your command window buffer size (open command line, right click on the top left icon, properties, layout, windowbuffersize --> 9999, then start the batch file from command line). I did not try it with drives other than C: so you might want to check for correct drive letters in the output. Also: If you change paths make sure to stick to forward or backward slashes as in the original as the process depends on one or the other Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 08, 2013, 10:06:44 PM Updated to Bitcoin v0.8.4
Thinking about separating EWB from the sources... Though I did not yet test it, it should be possible to build different versions and altcoins with the same libs folder by specifying the proper path. Would be interesting to create a menu to automatically download and build different Bitcoin versions and altcoins... Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: neoranga on September 08, 2013, 10:16:03 PM For those with this problem: leveldb/db.h: No such file or directory Will add this to the readme:Download and use easywinbuilder in a folder inside a path with NO spaces Now I have another problem showing several times: ... D:\neoranga\bitcoin\src/db.h:156: undefined reference to `Dbt::Dbt(void*, unsigned int)' D:\neoranga\bitcoin\src/db.h:162: undefined reference to `Dbt::Dbt(void*, unsigned int)' collect2: ld returned 1 exit status mingw32-make: *** [bitcoind.exe] Error 1 !!!!!! Error! Build daemon failed. Any clue where the problem may be? Quote Often the source of trouble is difficult to identify as there are so many follow up issues. You can run the scripts from within SciTE or increase your command window buffer size (open command line, right click on the top left icon, properties, layout, windowbuffersize --> 9999, then start the batch file from command line). I did not try it with drives other than C: so you might want to check for correct drive letters in the output. Also: If you change paths make sure to stick to forward or backward slashes as in the original as the process depends on one or the other I found the problem, I made the same mistake as worldspace user, so I downloaded minGW again but apparently the new execution still used some of the old compiled files. After removing everything, download again and run, it all worked fine, even from a different drive. Thanks a lot for the help and even more for the great script :) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 09, 2013, 10:12:55 AM [...] Great. Added this issue to the readme.I found the problem, I made the same mistake as worldspace user, so I downloaded minGW again but apparently the new execution still used some of the old compiled files. After removing everything, download again and run, it all worked fine, even from a different drive. Quote Thanks a lot for the help and even more for the great script :) ;DTitle: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 09, 2013, 10:16:04 PM thanks for the whitespace tip, i am now able to compile a daemon, but no qt:
Code: sed: preserving permissions for `../src/sed605604': Permission denied and how can i change the coinnname in set_vars.bat? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 10, 2013, 06:48:07 AM thanks for the whitespace tip, i am now able to compile a daemon, but no qt: The openssl library can not be found. I wonder why it works with the daemon but not with Qt...Code: sed: preserving permissions for `../src/sed605604': Permission denied This is the path included, is it there? "c:/deps/openssl-1.0.1e/include" If not restart 3b_run_build_dep.bat Quote and how can i change the coinnname in set_vars.bat? The coinname is being automatically derived from a coinname-qt.pro file in the root directory.Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 10, 2013, 02:50:18 PM Quote This is the path included, is it there? "c:/deps/openssl-1.0.1e/include" If not restart 3b_run_build_dep.bat there is no /dep folder ??? even after rebuilding dependencies...but i found a libs folder with all the requred file(crypto.h) in the given bitcoin folder Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 10, 2013, 03:14:50 PM Quote This is the path included, is it there? "c:/deps/openssl-1.0.1e/include" If not restart 3b_run_build_dep.bat there is no /dep folder ??? even after rebuilding dependencies...but i found a libs folder with all the requred file(crypto.h) in the given bitcoin folder Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on September 10, 2013, 06:02:00 PM i think i found it
i have a modified bitcoin-qt.pro file(the one from litecoin, which is still named like bitcoin, but exports litecoin-exes) Code: OPENSSL_INCLUDE_PATH = C:/deps/openssl-1.0.1e/include this it works if changed to Code: #OPENSSL_INCLUDE_PATH = C:/deps/openssl-1.0.1e/include because im my understanding, your script automatically injects these variables ;) the exported files dont work and dont thow an error...but the icon is shown (yay) what about integrating multi-platform-export? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: monsterer on October 12, 2013, 07:13:15 PM How do you get mingw-get to install gcc 4.6.2?
I got no option to use predefined package when I initially ran mingw-get, and trying to execute "mingw-get upgrade gcc=4.6.2.*" results in: mingw-get: *** ERROR *** there is no release matching gcc=4.6.2.* Cheers, Paul. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 12, 2013, 10:00:07 PM How do you get mingw-get to install gcc 4.6.2? The proper installer is currently not available...I got no option to use predefined package when I initially ran mingw-get, and trying to execute "mingw-get upgrade gcc=4.6.2.*" results in: mingw-get: *** ERROR *** there is no release matching gcc=4.6.2.* Cheers, Paul. Look here: https://bitcointalk.org/index.php?topic=149479.msg3313933#msg3313933 Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 19, 2013, 06:44:00 PM Updated to Bitcoin v0.8.5 and the current MinGW installer.
Removed the disassembly hash stuff for now because of (locale?) problems. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: kr105 on October 23, 2013, 07:00:13 AM I had to install:
Code: mingw-get install libiconv Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 26, 2013, 07:30:53 PM I had to install: Cool. Is bitcoin-qt stable? It kept crashing on me at startup...Code: mingw-get install libiconv edit: be careful. I would not use this for production atm. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 27, 2013, 10:09:08 PM OK, things should be working again and result should be stable. ;D
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: kr105 on October 28, 2013, 03:52:23 AM mingw-get.exe: *** ERROR *** there is no release matching gcc=4.6.*
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 28, 2013, 08:16:03 AM mingw-get.exe: *** ERROR *** there is no release matching gcc=4.6.* I have yet to understand the logic behind mingw-get.exe but it also says things like that a lot when everything works...Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: kr105 on October 28, 2013, 03:17:07 PM Ya, it ended installing gcc at the end, but i failed to compile as i'm working with the latest git code and they changed the build system to autoconf, no more Makefile.mingw. I'm still trying to solve dependences with boost library when doing ./configure.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 31, 2013, 03:06:04 PM Ya, it ended installing gcc at the end, but i failed to compile as i'm working with the latest git code and they changed the build system to autoconf, no more Makefile.mingw. I'm still trying to solve dependences with boost library when doing ./configure. Yup, only 0.8.5 so far. Theuni is probably interested in feedback on how automake behaves on windows. If you manage to do it with the easywinbuilder scripts I would be very interested, too. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 31, 2013, 04:48:14 PM fyi: just tested with litecoin 0.8.5.1 - had to do "strip litecoind.exe" manually, everything else worked out of the box by copy/pasting the ./contrib/easywinbuilder folder.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on December 09, 2013, 09:00:46 AM I'm trying to compile Litecoin, and got this error: 'strip: 'bitcoind.exe': No such file' Litecoin has it's filenames messed up so you will have to "strip" the output file yourself. In msys shell: strip litecoind.exeI also got an error during Qt installation saying that there was no min32api or something? Any help would be greatly appreciated, thanks for terrific work! What do you mean by installation? Compiling? Please paste output. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: pickard on December 11, 2013, 01:24:55 AM http://s29.postimg.org/l7hitbh1j/qt_pic.jpg
Thanks for the great tool. I get the popup message above when trying to install QT. Should I ignore it and just proceed? Thank you. :) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on December 11, 2013, 09:24:45 AM http://s29.postimg.org/l7hitbh1j/qt_pic.jpg Thanks for the great tool. I get the popup message above when trying to install QT. Should I ignore it and just proceed? Thank you. :) Code: @echo About to download Qt installer - you need to install it manually. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: hashbox247 on December 11, 2013, 11:35:08 AM thanks
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: pickard on December 15, 2013, 12:05:27 AM http://s29.postimg.org/l7hitbh1j/qt_pic.jpg Thanks for the great tool. I get the popup message above when trying to install QT. Should I ignore it and just proceed? Thank you. :) Code: @echo About to download Qt installer - you need to install it manually. Thanks, I wasn't sure if this was the same thing. the message does not say GCC, but I wanted to be sure. This works perfectly for bitcoin. Very good work :) But I am looking to get it to work for some other coin builds. I don't know how busy you are. But when I try to manually build my coins with the manual guide it get the same problem as this thread. https://bitcointalk.org/index.php?topic=265323.0 When using you auto tool it can find the deps, and the daemon fails. same as this post in this thread. https://bitcointalk.org/index.php?topic=149479.msg2841930#msg2841930 Incidentally the other thread starter and the post in this thread are from the same guy. I have tried for a while now (about 30 hours) but still can't build QT of the coin Im working on which is a clone of Foocoin (now removed from github) Maybe you can help. Or maybe you can work with me to customise this auto builder to work with some coins i have. I would be able to offer you 0.4 BTC. If you can make a version that will work with my coins. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: koiceo on December 20, 2013, 01:10:55 PM I want to test yacoin(Download:https://github.com/yacoin/yacoin), returning the following error:
Code: PARAMS: BOOST_SUFFIX=-mgw46-mt-1_54 INCLUDEPATHS=" -I'../libs/boost_1_54_0' -I'. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: mikelis on December 28, 2013, 03:05:41 PM genius!!!!!!!!!!!!!
worked perfectly with bitcoin but tried with other coins that not sha without any success i tried litecoin also no success but when i change the bitcoin-qt.pro(from litecoin) to bitcoin-qt(that provided with the easywinbuilder) and put in same folder where litecoin source it does compile the litecoin but the litecoin clinet won't find any blocks and unable to connect to the network and if i use the bitcoin-qt(from litecoin) shut at me erros something with coincontrol.h and many other so does this script good only for sha256? i tried other coins no luck any one got this working with litecoin? or other not sha256? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Sarchar on December 28, 2013, 05:15:42 PM I doubt anyone's really interested, but I'll throw this out there.
A while back I managed to get Bitcoin-Qt building using CMake and VS2010: https://github.com/sarchar/bitcoin/tree/cmake-build Of course, there's no documenting how to set up all the environment vars and such, but it shouldn't be too difficult to figure out. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: mikelis on December 28, 2013, 05:31:52 PM i'm actually tried that esterday usd with cmake gui but no luck
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: raistlinthewiz on December 28, 2013, 05:54:12 PM @phelix i'm also getting this error;
Code: g++ -c -pipe -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I'c:/Qt/4.8.5/include/QtCore' -I'c:/Qt/4.8.5/include/QtNetwork' -I'c:/Qt/4.8.5/include/QtGui' -I'c:/Qt/4.8.5/include' -I'src' -I'src/json' -I'src/qt' -I'c:/deps' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'c:/deps/boost_1_54_0' -I'c:/deps/db-4.8.30.NC/build_unix' -I'c:/deps/openssl-1.0.1e/include' -I'c:/Qt/4.8.5/include/ActiveQt' -I'build' -I'build' -I'c:/Qt/4.8.5/mkspecs/default' -o build/rpcnet.o src/rpcnet.cpp Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on December 28, 2013, 08:23:26 PM @phelix i'm also getting this error; Code: g++ -c -pipe -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I'c:/Qt/4.8.5/include/QtCore' -I'c:/Qt/4.8.5/include/QtNetwork' -I'c:/Qt/4.8.5/include/QtGui' -I'c:/Qt/4.8.5/include' -I'src' -I'src/json' -I'src/qt' -I'c:/deps' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'c:/deps/boost_1_54_0' -I'c:/deps/db-4.8.30.NC/build_unix' -I'c:/deps/openssl-1.0.1e/include' -I'c:/Qt/4.8.5/include/ActiveQt' -I'build' -I'build' -I'c:/Qt/4.8.5/mkspecs/default' -o build/rpcnet.o src/rpcnet.cpp make everything from step2. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: gbalme on December 29, 2013, 01:02:30 AM edit : solved
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: raistlinthewiz on December 29, 2013, 06:12:52 PM @phelix i'm also getting this error; Code: g++ -c -pipe -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I'c:/Qt/4.8.5/include/QtCore' -I'c:/Qt/4.8.5/include/QtNetwork' -I'c:/Qt/4.8.5/include/QtGui' -I'c:/Qt/4.8.5/include' -I'src' -I'src/json' -I'src/qt' -I'c:/deps' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'c:/deps/boost_1_54_0' -I'c:/deps/db-4.8.30.NC/build_unix' -I'c:/deps/openssl-1.0.1e/include' -I'c:/Qt/4.8.5/include/ActiveQt' -I'build' -I'build' -I'c:/Qt/4.8.5/mkspecs/default' -o build/rpcnet.o src/rpcnet.cpp make everything from step2. I'm doing so Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on December 29, 2013, 08:00:12 PM @phelix i'm also getting this error; Code: g++ -c -pipe -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I'c:/Qt/4.8.5/include/QtCore' -I'c:/Qt/4.8.5/include/QtNetwork' -I'c:/Qt/4.8.5/include/QtGui' -I'c:/Qt/4.8.5/include' -I'src' -I'src/json' -I'src/qt' -I'c:/deps' -I'src/leveldb/include' -I'src/leveldb/helpers' -I'c:/deps/boost_1_54_0' -I'c:/deps/db-4.8.30.NC/build_unix' -I'c:/deps/openssl-1.0.1e/include' -I'c:/Qt/4.8.5/include/ActiveQt' -I'build' -I'build' -I'c:/Qt/4.8.5/mkspecs/default' -o build/rpcnet.o src/rpcnet.cpp make everything from step2. I'm doing so Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on December 29, 2013, 08:05:03 PM I doubt anyone's really interested, but I'll throw this out there. talk to this dude: https://bitcointalk.org/index.php?topic=149479.msg3675509#msg3675509A while back I managed to get Bitcoin-Qt building using CMake and VS2010: https://github.com/sarchar/bitcoin/tree/cmake-build Of course, there's no documenting how to set up all the environment vars and such, but it shouldn't be too difficult to figure out. also get outta here with your vs stuff ;) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: kalnas on January 01, 2014, 01:28:36 PM after hours of manual frustration i gave this a try. It compiles everything successfully, but both bitcoind and bitcoin-qt crashes on launch :(
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 01, 2014, 03:01:31 PM .
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: worldspace on January 02, 2014, 06:58:05 PM 1)When I close Compiled altcoin-qt.exe,it crashes,and after debug in VS 2012, I see something like that: cannot open pdb file http://s1.hostingkartinok.com/uploads/images/2014/01/6d2dd19070d52a9b1d24f158f92e5aa7.png (http://hostingkartinok.com) 1)What can it be? I don't see genesis block,and merkleroot in debug file in appdata/roaming/XXXcoin/debug.log How Can I make it? http://s1.hostingkartinok.com/uploads/images/2014/01/6d2dd19070d52a9b1d24f158f92e5aa7.png for fixing the wrong hashes go here: http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&#how_to_clone_scrypt_based_altcoins_for_fun_and_profit Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 02, 2014, 07:33:41 PM after hours of manual frustration i gave this a try. It compiles everything successfully, but both bitcoind and bitcoin-qt crashes on launch :( Hmmm.... could be that there is a problem with the MinGW catalog versioning stuff again. Did anyone else do a successful compilation from scratch?Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 02, 2014, 08:17:34 PM after hours of manual frustration i gave this a try. It compiles everything successfully, but both bitcoind and bitcoin-qt crashes on launch :( Hmmm.... could be that there is a problem with the MinGW catalog versioning stuff again. Did anyone else do a successful compilation from scratch?Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 03, 2014, 10:51:18 AM after hours of manual frustration i gave this a try. It compiles everything successfully, but both bitcoind and bitcoin-qt crashes on launch :( Hmmm.... could be that there is a problem with the MinGW catalog versioning stuff again. Did anyone else do a successful compilation from scratch?Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: skyisthelimit on January 03, 2014, 11:11:05 AM will this work for building litecoin as well?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 03, 2014, 09:09:13 PM after hours of manual frustration i gave this a try. It compiles everything successfully, but both bitcoind and bitcoin-qt crashes on launch :( Hmmm.... could be that there is a problem with the MinGW catalog versioning stuff again. Did anyone else do a successful compilation from scratch?I am talking about closing bitcoin-qt/ Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 04, 2014, 01:08:32 PM .
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 07, 2014, 09:09:39 PM If you have ever built Bitcoin on Windows you probably know it can be a pain. Hopefully these scripts will make things a little easier. Note that the official Windows binaries are cross compiled on Linux. https://github.com/phelixbtc/bitcoin/tree/0.8.5-EWB Download EasyWinBuilder together with Bitcoin v0.8.5: https://github.com/phelixbtc/bitcoin/archive/0.8.5-EWB.zip (all code is equal to the respective Bitcoin, only the contrib/easywinbuilder folder is new) How to use Double click __all_easywinbuilder.bat in the contrib/easywinbuilder folder and follow instructions. You will have to install MinGW and Qt by hand, the rest will run automatically. Altcoins / other versions The scripts should also work with different versions / altcoins with a similar structure to current Bitcoin, simply copy&paste the contrib/easywinbuilder folder. Disassembly hash - removed for now as it seems to only work with certain locales The script calculates a hash of the disassembly of the final Qt executable. The idea is to validate binaries by several people, a little similar to the real Bitcoin build process. If you know a better way of how to get rid of the binary timestamp let me know. Credits Based on the build manual by nitrogenetics (https://bitcointalk.org/index.php?topic=149479.0) and older manuals from others. heavily edited When I close Compiled altcoin-qt.exe,it crashes, What can it be? http://gifti.me/i/zx5Fb4vKI.gif Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: templar77 on January 08, 2014, 04:10:59 AM I get this error trying to compile Daemon. What can I don?
http://s10.postimg.org/6o08m827d/daemon_erro.png Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 08, 2014, 08:59:01 AM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?="
[crashing on shutdown] I got one report by pm about everything working fine and not crashing on shutdown... why it is crashing on shutdown for you I have no idea. You can try to delete debug.log, provoke the crash and then take a look at the new debug.log - maybe we can learn something. Other than that my wild guesses would are a version conflict or missing multi threading mode because of makefile differences. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 08, 2014, 09:47:48 AM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" [crashing on shutdown] I got one report by pm about everything working fine and not crashing on shutdown... why it is crashing on shutdown for you I have no idea. You can try to delete debug.log, provoke the crash and then take a look at the new debug.log - maybe we can learn something. Other than that my wild guesses would are a version conflict or missing multi threading mode because of makefile differences. I deleted my debug file.and started from the beggining. Opened my litecoin-qt.exe,and then closed,it crashed again. So here is my debug file. Phelix,help me please,because I don;t understand what is my problem) Code: 2014-01-08 10:00:30 Litecoin version v0.8.6.1-g88e2a2e-beta (Thu, 5 Dec 2013 22:52:50 -1000) I am trying to compile Litecoin. When I compile Bitcoin via your scrypts,everything works perfectly,but when I compiled litecoin,it crashes ,when i close it. you think,i have to change something in makefile-mingw? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 11, 2014, 11:05:51 PM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" [crashing on shutdown] I got one report by pm about everything working fine and not crashing on shutdown... why it is crashing on shutdown for you I have no idea. You can try to delete debug.log, provoke the crash and then take a look at the new debug.log - maybe we can learn something. Other than that my wild guesses would are a version conflict or missing multi threading mode because of makefile differences. I deleted my debug file.and started from the beggining. Opened my litecoin-qt.exe,and then closed,it crashed again. So here is my debug file. Phelix,help me please,because I don;t understand what is my problem) Code: 2014-01-08 10:00:30 Litecoin version v0.8.6.1-g88e2a2e-beta (Thu, 5 Dec 2013 22:52:50 -1000) I am trying to compile Litecoin. When I compile Bitcoin via your scrypts,everything works perfectly,but when I compiled litecoin,it crashes ,when i close it. you think,i have to change something in makefile-mingw? The latest Litecoin crashes on me, too, even with old building environment. I have no idea why but for now I guess it is a Litecoin known problem: https://github.com/litecoin-project/litecoin/issues/111 Luckily I don't use Litecoin :P Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 11, 2014, 11:19:11 PM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" [crashing on shutdown] I got one report by pm about everything working fine and not crashing on shutdown... why it is crashing on shutdown for you I have no idea. You can try to delete debug.log, provoke the crash and then take a look at the new debug.log - maybe we can learn something. Other than that my wild guesses would are a version conflict or missing multi threading mode because of makefile differences. I deleted my debug file.and started from the beggining. Opened my litecoin-qt.exe,and then closed,it crashed again. So here is my debug file. Phelix,help me please,because I don;t understand what is my problem) Code: 2014-01-08 10:00:30 Litecoin version v0.8.6.1-g88e2a2e-beta (Thu, 5 Dec 2013 22:52:50 -1000) I am trying to compile Litecoin. When I compile Bitcoin via your scrypts,everything works perfectly,but when I compiled litecoin,it crashes ,when i close it. you think,i have to change something in makefile-mingw? The latest Litecoin crashes on me, too, even with old building environment. I have no idea why but for now I guess it is a Litecoin known problem: https://github.com/litecoin-project/litecoin/issues/111 Luckily I don't use Litecoin :P ok. f...k litecoin))) But,in new Bitcoin 0.8.6 and 0.8.6 there is NO line Code: // If genesis block hash does not match, then generate new genesis hash. and without that,I can't create Genesis Block. When I try to write this line(and some more code lines that are connected to IF),it crashes at me,when I want to compile it. So.How can i make genesis block>?))) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: greyman on January 12, 2014, 01:41:31 AM Hello,
I would like to thanks the EasyWinBuilder creator, it's unbelievable that it works. ;-) For a reference, this is what I did: 1. Clean install of Win7 x64 Professional to VMWare Player. 2. Unzip EasyWinBuilder to c:\bitcoin-0.8.5-EWB 3. start c:\bitcoin-0.8.5-EWB\contrib\easywinbuilder\__all_easywinbuilder.bat BTW, might I ask, what steps should I do when I want to build other version of bitcoin src, or use this to build some altcoin? (Dogecoin for example). It is sufficient to just replace the src folder with another source file and recompile? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 12, 2014, 08:56:24 AM Hello, I would like to thanks the EasyWinBuilder creator, it's unbelievable that it works. ;-) For a reference, this is what I did: 1. Clean install of Win7 x64 Professional to VMWare Player. 2. Unzip EasyWinBuilder to c:\bitcoin-0.8.5-EWB 3. start c:\bitcoin-0.8.5-EWB\contrib\easywinbuilder\__all_easywinbuilder.bat BTW, might I ask, what steps should I do when I want to build other version of bitcoin src, or use this to build some altcoin? (Dogecoin for example). It is sufficient to just replace the src folder with another source file and recompile? You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: greyman on January 12, 2014, 10:12:57 AM You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder) So what is the proper way to build them on Windows, then? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 12, 2014, 10:25:44 AM You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder) So what is the proper way to build them on Windows, then? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: greyman on January 12, 2014, 10:34:04 AM You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder) So what is the proper way to build them on Windows, then? Uff, seems I can start from scratch then, they even use other folder path to libraries....anyway, why this isn't a part of official documentation, it could speed up the development a lot. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on January 12, 2014, 11:34:23 AM You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder) So what is the proper way to build them on Windows, then? Uff, seems I can start from scratch then, they even use other folder path to libraries....anyway, why this isn't a part of official documentation, it could speed up the development a lot. Because nobody wants new forks))) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 12, 2014, 01:56:50 PM Hello, I would like to thanks the EasyWinBuilder creator, it's unbelievable that it works. ;-) For a reference, this is what I did: 1. Clean install of Win7 x64 Professional to VMWare Player. 2. Unzip EasyWinBuilder to c:\bitcoin-0.8.5-EWB 3. start c:\bitcoin-0.8.5-EWB\contrib\easywinbuilder\__all_easywinbuilder.bat BTW, might I ask, what steps should I do when I want to build other version of bitcoin src, or use this to build some altcoin? (Dogecoin for example). It is sufficient to just replace the src folder with another source file and recompile? You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: NilamDoc on January 15, 2014, 08:20:16 PM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" I tried to compile bitcoin 0.8.5 using the EasyWinBuilder script on a fresh Windows 7 32 bit gave the same error as @templar77 got. I did not change any files from bitcoin src. I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 It was able to build the bitcoind but failed to compile bitcoin-qt Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 15, 2014, 08:57:01 PM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" I tried to compile bitcoin 0.8.5 using the EasyWinBuilder script on a fresh Windows 7 32 bit gave the same error as @templar77 got. I did not change any files from bitcoin src. What can be the reason? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: NilamDoc on January 15, 2014, 09:35:23 PM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" I tried to compile bitcoin 0.8.5 using the EasyWinBuilder script on a fresh Windows 7 32 bit gave the same error as @templar77 got. I did not change any files from bitcoin src. What can be the reason? I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 It was able to build the bitcoind but failed to compile bitcoin-qt Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 16, 2014, 08:40:27 PM @templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?=" I tried to compile bitcoin 0.8.5 using the EasyWinBuilder script on a fresh Windows 7 32 bit gave the same error as @templar77 got. I did not change any files from bitcoin src. What can be the reason? I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 It was able to build the bitcoind but failed to compile bitcoin-qt >gcc --version gcc (GCC) 4.6.2 // <--- this is what it should say If it says something different then you got the wrong version of mingw installed... Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: greyman on January 17, 2014, 02:20:05 PM That could mean that you are using mingw gcc 4.8 which is bad. try this on the msys shell (or command line): >gcc --version gcc (GCC) 4.6.2 // <--- this is what it should say If it says something different then you got the wrong version of mingw installed... Yes I also have this experience, I had installed 4.8 before, and it didn't compile. But what causes this incompatibility of the newer version? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 17, 2014, 06:45:57 PM That could mean that you are using mingw gcc 4.8 which is bad. try this on the msys shell (or command line): >gcc --version gcc (GCC) 4.6.2 // <--- this is what it should say If it says something different then you got the wrong version of mingw installed... Yes I also have this experience, I had installed 4.8 before, and it didn't compile. But what causes this incompatibility of the newer version? 1. Everything (including all libs) needs to be compiled with the same version 2. Some parts don't compile well with 4.8 Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: NilamDoc on January 19, 2014, 12:49:56 PM That could mean that you are using mingw gcc 4.8 which is bad. try this on the msys shell (or command line): >gcc --version gcc (GCC) 4.6.2 // <--- this is what it should say If it says something different then you got the wrong version of mingw installed... Yes I also have this experience, I had installed 4.8 before, and it didn't compile. But what causes this incompatibility of the newer version? 1. Everything (including all libs) needs to be compiled with the same version 2. Some parts don't compile well with 4.8 After download mingw, I had installed the gcc from the ming menu, which I should not do. I am trying to run the batch file again and check for compile. I was able to compile both bitcond and bitcoin-qt with a fresh windows 7 x64 version and the script. https://github.com/phelixbtc/bitcoin/archive/0.8.5-EWB.zip Excellent work! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: GeorgeL on January 20, 2014, 11:56:16 AM Nice tutorial. Perfect work from Phelix.
But still not working for me on my test alt coin. Can I find here someone who can help me to compile EXE wallet (later MAC and LINUX). I offer reward in MECs. How about 50 MECs for each wallet? Thank you and PM me please. Ich spreche auch Deutsch. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: teamhulvat on January 23, 2014, 06:31:27 PM Hi to you all, firstly I want to thanx a lot to help our 3days torturing of compiling qt ???
we are almost at the end of it, but our bitcoin-qt.exe wont launch, it just says "program bitcoin-qt.exe stopped working" To make it work we had to change following first, to overcome ERROR: I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 changed 46 to 48, then procces continued further and both files were created succesfully OK so heres what we got now: bitcoind.exe is working fine but bitcoin-qt.exe stops as said above any idea? thanks a lot Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 23, 2014, 09:37:34 PM Hi to you all, firstly I want to thanx a lot to help our 3days torturing of compiling qt ??? you got the wrong version of mingw installed. It won't work with mingw 4.8, you need 4.6we are almost at the end of it, but our bitcoin-qt.exe wont launch, it just says "program bitcoin-qt.exe stopped working" To make it work we had to change following first, to overcome ERROR: I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 changed 46 to 48, then procces continued further and both files were created succesfully OK so heres what we got now: bitcoind.exe is working fine but bitcoin-qt.exe stops as said above any idea? thanks a lot Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 23, 2014, 09:40:04 PM There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: teamhulvat on January 24, 2014, 12:41:33 PM Hi to you all, firstly I want to thanx a lot to help our 3days torturing of compiling qt ??? you got the wrong version of mingw installed. It won't work with mingw 4.8, you need 4.6we are almost at the end of it, but our bitcoin-qt.exe wont launch, it just says "program bitcoin-qt.exe stopped working" To make it work we had to change following first, to overcome ERROR: I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 changed 46 to 48, then procces continued further and both files were created succesfully OK so heres what we got now: bitcoind.exe is working fine but bitcoin-qt.exe stops as said above any idea? thanks a lot Ok i want to try uninstall mingw 48 and after that instal mingw 46 but now i have an error on building deamon: libwinpthread-1.dll is mising I thing the best way will be new clear windows instalation and next try to do everything again. But i´m not sure how to install mingw 46, if i download installer, it want automaticly install mingw 48. Can you help me how to do it? Thank you a lot :-) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 24, 2014, 05:20:20 PM Hi to you all, firstly I want to thanx a lot to help our 3days torturing of compiling qt ??? you got the wrong version of mingw installed. It won't work with mingw 4.8, you need 4.6we are almost at the end of it, but our bitcoin-qt.exe wont launch, it just says "program bitcoin-qt.exe stopped working" To make it work we had to change following first, to overcome ERROR: I changed the set_vars.bat @set BOOSTSUFFIX=-mgw46-mt-1_54 to @set BOOSTSUFFIX=-mgw48-mt-1_54 changed 46 to 48, then procces continued further and both files were created succesfully OK so heres what we got now: bitcoind.exe is working fine but bitcoin-qt.exe stops as said above any idea? thanks a lot Ok i want to try uninstall mingw 48 and after that instal mingw 46 but now i have an error on building deamon: libwinpthread-1.dll is mising I thing the best way will be new clear windows instalation and next try to do everything again. But i´m not sure how to install mingw 46, if i download installer, it want automaticly install mingw 48. Can you help me how to do it? Thank you a lot :-) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 24, 2014, 05:20:40 PM There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: greyman on January 28, 2014, 11:00:09 AM Hello
Please sorry to hijack this thread, but could someone look at this issue? I installed the whole environment with EasyWinBuilder, but then when I want to compile one particular altcoin for someone, I am getting this strange error: C:\altcoin>make -f Makefile.Release g++ -c -pipe -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall - Wextra -Wformat -Wformat-security -Wno-unused-parameter -DUNICODE -DQT_GUI -DBOO ST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHAR ED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DWIN32 -D_MT -DQT_DLL -DQT_NO_DEBUG -DQT _GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMX EXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\Qt\4.8.5\include\Q tCore" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json " -I"src\qt" -I"..\deps\boost" -I"..\deps\db\build_unix" -I"..\deps\ssl\include" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win 32-g++" -o build\bitcoin.o src\qt\bitcoin.cpp g++.exe: error: srcqtbitcoin.cpp: No such file or directory g++.exe: fatal error: no input files compilation terminated. make: *** [build/bitcoin.o] Error 1 This line is where the problem is: g++.exe: error: srcqtbitcoin.cpp: No such file or directory It seems that the make system or I don't know who mangled the file path from src\qt\bitcoin.cpp to srcqtbitcoin.cpp (backslashes are removed). Please don't you know how to fix this? Thanks very much. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on January 28, 2014, 06:36:01 PM Hello could be a problem of forward/backward slashesPlease sorry to hijack this thread, but could someone look at this issue? I installed the whole environment with EasyWinBuilder, but then when I want to compile one particular altcoin for someone, I am getting this strange error: C:\altcoin>make -f Makefile.Release g++ -c -pipe -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall - Wextra -Wformat -Wformat-security -Wno-unused-parameter -DUNICODE -DQT_GUI -DBOO ST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHAR ED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DWIN32 -D_MT -DQT_DLL -DQT_NO_DEBUG -DQT _GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMX EXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\Qt\4.8.5\include\Q tCore" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json " -I"src\qt" -I"..\deps\boost" -I"..\deps\db\build_unix" -I"..\deps\ssl\include" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win 32-g++" -o build\bitcoin.o src\qt\bitcoin.cpp g++.exe: error: srcqtbitcoin.cpp: No such file or directory g++.exe: fatal error: no input files compilation terminated. make: *** [build/bitcoin.o] Error 1 This line is where the problem is: g++.exe: error: srcqtbitcoin.cpp: No such file or directory It seems that the make system or I don't know who mangled the file path from src\qt\bitcoin.cpp to srcqtbitcoin.cpp (backslashes are removed). Please don't you know how to fix this? Thanks very much. something is different in your altcoin than in Bitcoin Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: argutus on February 01, 2014, 11:09:07 AM c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_system-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_chrono-mgw46-mt-1_54 collect2.exe: error: ld returned 1 exit status makefile.mingw:124: recipe for target 'boomcoind.exe' failed mingw32-make: *** [boomcoind.exe] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . Any help? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Gabri on February 01, 2014, 12:24:59 PM c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_chrono-mgw46-mt-1_54 collect2.exe: error: ld returned 1 exit status makefile.mingw:124: recipe for target 'boomcoind.exe' failed mingw32-make: *** [boomcoind.exe] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . Any help? Did you set the correct boost suffix on the .pro file? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: argutus on February 01, 2014, 05:04:39 PM Did you set the correct boost suffix on the .pro file? Alright, I fixed that, but now I am running into another error when building daemon:In file included from bignum.h:12:0, from main.h:8, from db.h:8, from net.cpp:6: util.h:25:29: fatal error: boost/version.hpp: No such file or directory compilation terminated. mingw32-make: *** [obj/net.o] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . What directory is boost installed in? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 01, 2014, 05:46:38 PM c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin Wrong mingw version (see bold text above). Follow instructions on the command window when installing mingw or look a couple posts above. You need to uncheck "install gui".d -lboost_system-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_chrono-mgw46-mt-1_54 collect2.exe: error: ld returned 1 exit status makefile.mingw:124: recipe for target 'boomcoind.exe' failed mingw32-make: *** [boomcoind.exe] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . Any help? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: argutus on February 01, 2014, 06:05:52 PM Wrong mingw version (see bold text above). Follow instructions on the command window when installing mingw or look a couple posts above. You need to uncheck "install gui". Yeah I fixed it, but do you know how I can fix the one I just posted? "Alright, I fixed that, but now I am running into another error when building daemon: In file included from bignum.h:12:0, from main.h:8, from db.h:8, from net.cpp:6: util.h:25:29: fatal error: boost/version.hpp: No such file or directory compilation terminated. mingw32-make: *** [obj/net.o] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . What directory is boost installed in?" Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: by321 on February 06, 2014, 07:42:10 AM I was able to build bitcoin-qt.exe but it crashed on startup too. Anyone figured out how to fix this ?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Maisteri on February 13, 2014, 04:04:36 AM I was able to build bitcoin-qt.exe but it crashed on startup too. Anyone figured out how to fix this ? Same. Also had trouble building the daemon but I already have it compiled on linux so it's not a big deal really. Daemon build error https://i.imgur.com/vgx79rN.png xcoin-qt Windows error report Code: Problem signature: Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 13, 2014, 01:03:08 PM maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib
Compare the names to the names (several times) in set_vars.bat Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Kergekoin on February 13, 2014, 01:45:43 PM maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat OK, thanks, i will do that and report back later. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: tonytwochains on February 13, 2014, 03:10:10 PM There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it. Hey Phelix. Any luck looking into this one? I have tried to no avail to get a windows alt coin to run stable. The bitcoin src seems g2g. I get a runtime on exit and also runtimes in the debug command window for example if i type "help". Whats strange is other commands are find get peerinfo for example as long as there are no fat fingers. linux/mac build are rock solid. Thanks! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 13, 2014, 05:41:04 PM There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it. Hey Phelix. Any luck looking into this one? I have tried to no avail to get a windows alt coin to run stable. The bitcoin src seems g2g. I get a runtime on exit and also runtimes in the debug command window for example if i type "help". Whats strange is other commands are find get peerinfo for example as long as there are no fat fingers. linux/mac build are rock solid. Thanks! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Maisteri on February 13, 2014, 08:44:04 PM maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat The .dlls appear to be fine. However, I tried to compile the source on a completely different computer and this time it would not build the daemon or the qt! Also tried a completely fresh install on my main PC and had the same issue. daemon and qt won't build. I am able to build both on Ubuntu with the same source code and all but Windows just does not like these at all it seems. I even tried to build this on a VM running Windows XP but no cigar. Is there a way to make a coin-qt.exe on Ubuntu? qt build error goes as following: Code: Makefile.Release:253: recipe for target 'release/xcoin-qt.exe' failed Here is a picture of the complete window when compiling the qt. https://i.imgur.com/CcEE3Qk.png Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Kergekoin on February 14, 2014, 08:25:37 AM So you checked that filenames match? I cant do this myself as im not at my pc.
Pprobably have to install linux and do as you did. Compile daemon with linux and qt with windows. Also maybe try 1.55 boost version before i start intalling linux. Probably gives same error. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Kergekoin on February 14, 2014, 09:44:10 AM maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat Success! I just managed to compile daemon as well! Thanks! There was simple flaw in library failname, which i didnt notice when i checked before. Thanks for making Windows compliation a lot easyer and faster! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Maisteri on February 14, 2014, 02:26:45 PM maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat Success! I just managed to compile daemon as well! Thanks! There was simple flaw in library failname, which i didnt notice when i checked before. Thanks for making Windows compliation a lot easyer and faster! Which file it was for you and what error did you fix? I've checked like a hundred times the files and they look right. Even windows search agrees with my eyes! ;D Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Kergekoin on February 15, 2014, 10:14:57 PM There was filename mistake in makefile file. Just check that files in mentioned folder match with library names. Mine had "-d-" in between library names in makefile, but actual files didnt have it.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Dr.Bob on February 19, 2014, 03:21:11 PM Now all working big Thanks ;)
But i got a exit bug from wallet-qt anybody know to fix it ? Rest working fine there is only one other bug console command = "help" instand crash with same error msg others commands working fine. Source used > litecoin Error Msg : Code: This application has requested the runtime to terminate it in an unusual way. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Kergekoin on February 19, 2014, 05:14:09 PM Now all working big Thanks ;) But i got a exit bug from wallet-qt anybody know to fix it ? Rest working fine there is only one other bug console command = "help" instand crash with same error msg others commands working fine. Source used > litecoin Error Msg : Code: This application has requested the runtime to terminate it in an unusual way. Interesting. Did you change anything in code or just made litecoin qt? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Dr.Bob on February 20, 2014, 12:13:46 AM yes but only small changes for my coin i try to build
namechange > litecoin > gamerscoin portchange > old > newport old genhash > new gensis hash old merklehash > new merklehash old block.nTime > new time old block.nNonce > new nNonce old PUBKEY_ADDRESS > new Pubkey Add old Client Name > New Client Name remove checkpoints > add new checkpoints Rest 100 % litecoin source Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on February 20, 2014, 04:35:49 PM Now all working big Thanks ;) But i got a exit bug from wallet-qt anybody know to fix it ? Rest working fine there is only one other bug console command = "help" instand crash with same error msg others commands working fine. Source used > litecoin Error Msg : Code: This application has requested the runtime to terminate it in an unusual way. I have got the same problem. Phelix,help us with it. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: wilsonNL on February 20, 2014, 11:52:07 PM Also running into:
Code: This application has requested the runtime to terminate it in an unusual way. None the less... excellent work. Thanks. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 21, 2014, 09:00:30 AM Now all working big Thanks ;) But i got a exit bug from wallet-qt anybody know to fix it ? Rest working fine there is only one other bug console command = "help" instand crash with same error msg others commands working fine. Source used > litecoin Error Msg : Code: This application has requested the runtime to terminate it in an unusual way. I have got the same problem. Phelix,help us with it. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Kergekoin on February 21, 2014, 09:19:49 AM Any chance you batch builder to QT 5.2? Would be awesome to be able to generate android and ios wallets with QT in future.
Probably not an easy task of cource. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 21, 2014, 08:46:38 PM Any chance you batch builder to QT 5.2? last time I looked it would have needed a QT rebuild... :( nitrogenetics has done it.Quote Would be awesome to be able to generate android and ios wallets with QT in future. :-*Probably not an easy task of cource. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Dr.Bob on February 22, 2014, 12:23:14 AM After Compile Wallet for Windows Mining Coins not Working :'(
Instand crash This application has requested the runtime to terminate it in an unusual way. Maybe andody can fix it ? Used Litecoin source or is there a other way to compile windows bins =? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: wilsonNL on February 27, 2014, 01:06:00 AM Any news on the "runtime to terminate it in an unusual way" error?
The error on the litecoin wallet aside... EasyWinBuilder is just brilliant. Thanks. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: anush3070 on February 28, 2014, 06:38:03 AM Hello,
I can Compile the QT's after all tweaks.. Also when I compile the Bitcoin provided inside the package, Everything seems smooth. But if I try with Litecoin Source, even that gets compiled but after I open and close the QT, it gives runtime error. Any fix for this would be helpful. Please Help me :) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Alcohoin on March 03, 2014, 03:26:27 PM I'm also having the runtime error on exit ! Please help !
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on March 04, 2014, 09:19:10 AM I'm also having the runtime error on exit ! Please help ! Sorry, I have no idea about the runtime error... somebody fix it! :D edit: stopped via litecoind stop Code: (gdb) run Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: itos on March 05, 2014, 07:19:04 PM I also have the problem with runtime error while trying to compile litecoin. The application crashes when I try to quit and also when trying to solo mine. No one knows the fix for this?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: snoppy0066 on March 20, 2014, 06:31:12 PM # Runtime ERROR PUSH PLEASE FIX IT
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: RoadTrain on March 20, 2014, 09:38:01 PM Looks like the runtime error is caused by failing assertion that WaitForSingleObject (http://msdn.microsoft.com/en-us/library/windows/desktop/ms687032(v=vs.85).aspx) returns zero.
In fact it returns WAIT_ABANDONED which means the following: Quote The specified object is a mutex object that was not released by the thread that owned the mutex object before the owning thread terminated. Ownership of the mutex object is granted to the calling thread and the mutex state is set to nonsignaled. Anyway we should debug it, can anyone provide binaries?If the mutex was protecting persistent state information, you should check it for consistency. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinex on March 27, 2014, 01:22:48 AM I have resolved the issue causing crashes, I will post a fix to the git as soon as I finish the project I was testing this on.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: CryptoKiller on March 27, 2014, 09:26:53 AM I have resolved the issue causing crashes, I will post a fix to the git as soon as I finish the project I was testing this on. Awesome. Please do. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on March 27, 2014, 10:35:20 AM I have resolved the issue causing crashes, I will post a fix to the git as soon as I finish the project I was testing this on. Awesome. Please do. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: softron on March 27, 2014, 03:12:17 PM So is it working yet?
Good work keep it up Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: baokychen on March 27, 2014, 05:30:04 PM Anyone can help. I trying to compile maxcoin using EasyWinBuilder, but I got the error below.
Any idea how to resolve it. Thanks !! Quote g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release/maxcoin-qt.exe object_script.maxcoin-qt.Releas e -L'c:/Qt/4.8.5/lib' -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -Ll ibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/deps/dadcoin/src/cryptopp/libcryptop p.a -lshlwapi C:/deps/dadcoin/src/leveldb/libleveldb.a C:/deps/dadcoin/src/level db/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build _unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-1_54 -lboost_filesyst em-mgw46-mt-1_54 -lboost_program_options-mgw46-mt-1_54 -lboost_thread-mgw46-mt-1 _54 -lboost_chrono-mgw46-mt-1_54 -lQtGui4 -lQtNetwork4 -lQtCore4 ./build/key.o:key.cpp:(.text+0x76): undefined reference to `CryptoPP::Algorithm: :Algorithm(bool)' ./build/key.o:key.cpp:(.text+0x7e): undefined reference to `vtable for CryptoPP: :SHA3' ./build/key.o:key.cpp:(.text+0xaf): undefined reference to `CryptoPP::SHA3::Rest art()' ./build/key.o:key.cpp:(.text+0xd0): undefined reference to `CryptoPP::Integer::I nteger(long)' ./build/key.o:key.cpp:(.text+0xea): undefined reference to `CryptoPP::Integer::M inus(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0xf3): undefined reference to `CryptoPP::Integer::B yteCount() const' ./build/key.o:key.cpp:(.text+0x13e): undefined reference to `CryptoPP::ECP::Enco dePoint(unsigned char*, CryptoPP::ECPPoint const&, bool) const' ./build/key.o:key.cpp:(.text+0x14e): undefined reference to `CryptoPP::SHA3::Upd ate(unsigned char const*, unsigned int)' ./build/key.o:key.cpp:(.text+0x174): undefined reference to `CryptoPP::SHA3::Upd ate(unsigned char const*, unsigned int)' ./build/key.o:key.cpp:(.text+0x1a4): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x1c7): undefined reference to `CryptoPP::Integer:: Decode(unsigned char const*, unsigned int, CryptoPP::Integer::Signedness)' ./build/key.o:key.cpp:(.text+0x1cf): undefined reference to `vtable for CryptoPP ::SHA3' ./build/key.o:key.cpp:(.text+0x224): undefined reference to `vtable for CryptoPP ::SHA3' ./build/key.o:key.cpp:(.text+0x280): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x28f): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x29e): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x2ad): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x2bc): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x2d3): undefined reference to `CryptoPP::Integer:: Integer(char const*)' ./build/key.o:key.cpp:(.text+0x2df): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x2fe): undefined reference to `CryptoPP::Integer:: Integer(char const*)' ./build/key.o:key.cpp:(.text+0x30a): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x329): undefined reference to `CryptoPP::Integer:: Integer(char const*)' ./build/key.o:key.cpp:(.text+0x33c): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x35b): undefined reference to `CryptoPP::Integer:: Integer(char const*)' ./build/key.o:key.cpp:(.text+0x36d): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x38c): undefined reference to `CryptoPP::Integer:: Integer(char const*)' ./build/key.o:key.cpp:(.text+0x39f): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x3be): undefined reference to `CryptoPP::Integer:: Integer(char const*)' ./build/key.o:key.cpp:(.text+0x3d1): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x3e1): undefined reference to `vtable for CryptoPP ::ECP' ./build/key.o:key.cpp:(.text+0x3f6): undefined reference to `vtable for CryptoPP ::AbstractRing<CryptoPP::Integer>::MultiplicativeGroupT' ./build/key.o:key.cpp:(.text+0x3ff): undefined reference to `vtable for CryptoPP ::ModularArithmetic' ./build/key.o:key.cpp:(.text+0x412): undefined reference to `CryptoPP::Integer:: Integer(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x434): undefined reference to `CryptoPP::Integer:: Integer(unsigned int, unsigned int)' ./build/key.o:key.cpp:(.text+0x43f): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x461): undefined reference to `CryptoPP::Integer:: Integer(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x478): undefined reference to `CryptoPP::Integer:: Integer(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x489): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x495): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x4c8): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x4db): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x4f5): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x508): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x536): undefined reference to `CryptoPP::Integer:: Integer(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x550): undefined reference to `CryptoPP::Integer:: Integer(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x569): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x57f): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x604): undefined reference to `CryptoPP::Integer:: Plus(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x651): undefined reference to `vtable for CryptoPP ::AbstractGroup<CryptoPP::ECPPoint>' ./build/key.o:key.cpp:(.text+0x722): undefined reference to `vtable for CryptoPP ::AbstractGroup<CryptoPP::Integer>' ./build/key.o:key.cpp:(.text+0x728): undefined reference to `vtable for CryptoPP ::AbstractGroup<CryptoPP::Integer>' ./build/key.o:key.cpp:(.text+0x7d2): undefined reference to `vtable for CryptoPP ::ECP' ./build/key.o:key.cpp:(.text+0x7e8): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x7f3): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x802): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x80d): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x820): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x82f): more undefined references to `CryptoPP::Int eger::Integer()' follow ./build/key.o:key.cpp:(.text+0x84f): undefined reference to `CryptoPP::RandomPoo l::RandomPool()' ./build/key.o:key.cpp:(.text+0x871): undefined reference to `CryptoPP::AutoSeede dRandomPool::Reseed(bool, unsigned int)' ./build/key.o:key.cpp:(.text+0x883): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x898): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x8aa): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0x8c8): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x8de): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x8f4): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x918): undefined reference to `vtable for CryptoPP ::AbstractGroup<CryptoPP::ECPPoint>' ./build/key.o:key.cpp:(.text+0xa45): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0xa5d): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0xa75): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0xbe4): undefined reference to `CryptoPP::Integer:: Integer(CryptoPP::RandomNumberGenerator&, unsigned int)' ./build/key.o:key.cpp:(.text+0xbfe): undefined reference to `CryptoPP::Integer:: Modulo(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0xc11): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0xc84): undefined reference to `CryptoPP::ECP::Scal arMultiply(CryptoPP::ECPPoint const&, CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0xca9): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0xcbf): undefined reference to `CryptoPP::Integer:: operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0xe7a): undefined reference to `vtable for CryptoPP ::ECP' ./build/key.o:key.cpp:(.text+0xe8c): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xe97): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xea6): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xeb1): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xec0): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xecf): more undefined references to `CryptoPP::Int eger::Integer()' follow ./build/key.o:key.cpp:(.text+0xeef): undefined reference to `CryptoPP::RandomPoo l::RandomPool()' ./build/key.o:key.cpp:(.text+0xf11): undefined reference to `CryptoPP::AutoSeede dRandomPool::Reseed(bool, unsigned int)' ./build/key.o:key.cpp:(.text+0xf23): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xf38): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xf4a): undefined reference to `CryptoPP::Integer:: Integer()' ./build/key.o:key.cpp:(.text+0xf7a): undefined reference to `vtable for CryptoPP ::AbstractGroup<CryptoPP::ECPPoint>' ./build/key.o:key.cpp:(.text+0x10cd): undefined reference to `CryptoPP::Integer: :Decode(unsigned char const*, unsigned int, CryptoPP::Integer::Signedness)' ./build/key.o:key.cpp:(.text+0x1114): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1120): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1142): undefined reference to `CryptoPP::ECP::Dec odePoint(CryptoPP::ECPPoint&, unsigned char const*, unsigned int) const' ./build/key.o:key.cpp:(.text+0x1166): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1178): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1208): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1217): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1290): undefined reference to `CryptoPP::Integer: :Decode(unsigned char const*, unsigned int, CryptoPP::Integer::Signedness)' ./build/key.o:key.cpp:(.text+0x12b7): undefined reference to `CryptoPP::Integer: :Decode(unsigned char const*, unsigned int, CryptoPP::Integer::Signedness)' ./build/key.o:key.cpp:(.text+0x12c8): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x12d4): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1322): undefined reference to `CryptoPP::ECP::Cas cadeScalarMultiply(CryptoPP::ECPPoint const&, CryptoPP::Integer const&, CryptoPP ::ECPPoint const&, CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x133f): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1353): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1428): undefined reference to `CryptoPP::Integer: :Modulo(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x1444): undefined reference to `CryptoPP::Integer: :Compare(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x1631): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1642): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x164e): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x165d): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x166c): undefined reference to `CryptoPP::Integer: :Integer()' ./build/key.o:key.cpp:(.text+0x1693): undefined reference to `CryptoPP::Integer: :Integer(CryptoPP::RandomNumberGenerator&, unsigned int)' ./build/key.o:key.cpp:(.text+0x16bb): undefined reference to `CryptoPP::Integer: :Modulo(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x16cf): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1712): undefined reference to `CryptoPP::ECP::Sca larMultiply(CryptoPP::ECPPoint const&, CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x172f): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1743): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x1810): undefined reference to `CryptoPP::Integer: :Modulo(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x1824): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x185e): undefined reference to `CryptoPP::Integer: :Times(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x187d): undefined reference to `CryptoPP::Integer: :Minus(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x1899): undefined reference to `CryptoPP::Integer: :Modulo(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x18ad): undefined reference to `CryptoPP::Integer: :operator=(CryptoPP::Integer const&)' ./build/key.o:key.cpp:(.text+0x191f): undefined reference to `CryptoPP::Integer: :MinEncodedSize(CryptoPP::Integer::Signedness) const' ./build/key.o:key.cpp:(.text+0x1a51): undefined reference to `CryptoPP::Integer: :MinEncodedSize(CryptoPP::Integer::Signedness) const' ./build/key.o:key.cpp:(.text+0x1a86): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' ./build/key.o:key.cpp:(.text+0x1ab5): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' ./build/key.o:key.cpp:(.text+0x1bef): undefined reference to `CryptoPP::Integer: :Integer(long)' ./build/key.o:key.cpp:(.text+0x1c0a): undefined reference to `CryptoPP::Integer: :Minus(CryptoPP::Integer const&) const' ./build/key.o:key.cpp:(.text+0x1c13): undefined reference to `CryptoPP::Integer: :ByteCount() const' ./build/key.o:key.cpp:(.text+0x1c8d): undefined reference to `CryptoPP::ECP::Enc odePoint(unsigned char*, CryptoPP::ECPPoint const&, bool) const' ./build/key.o:key.cpp:(.text+0x1e6e): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: ./build/ke y.o: bad reloc address 0x6 in section `.text$_ZN8CryptoPP8ClonableD1Ev[CryptoPP: :Clonable::~Clonable()]' collect2: ld returned 1 exit status Makefile.Release:281: recipe for target 'release/maxcoin-qt.exe' failed mingw32-make: *** [release/maxcoin-qt.exe] Error 1 Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinex on March 27, 2014, 07:32:31 PM Anyone can help. I trying to compile maxcoin using EasyWinBuilder, but I got the error below. Any idea how to resolve it. Thanks !! Quote g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release/maxcoin-qt.exe object_script.maxcoin-qt.Releas e -L'c:/Qt/4.8.5/lib' -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -Ll ibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/deps/dadcoin/src/cryptopp/libcryptop p.a -lshlwapi C:/deps/dadcoin/src/leveldb/libleveldb.a C:/deps/dadcoin/src/level db/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build _unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-1_54 -lboost_filesyst e.... ... ./build/key.o:key.cpp:(.text+0x1c13): undefined reference to `CryptoPP::Integer: :ByteCount() const' ./build/key.o:key.cpp:(.text+0x1c8d): undefined reference to `CryptoPP::ECP::Enc odePoint(unsigned char*, CryptoPP::ECPPoint const&, bool) const' ./build/key.o:key.cpp:(.text+0x1e6e): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: ./build/ke y.o: bad reloc address 0x6 in section `.text$_ZN8CryptoPP8ClonableD1Ev[CryptoPP: :Clonable::~Clonable()]' collect2: ld returned 1 exit status Makefile.Release:281: recipe for target 'release/maxcoin-qt.exe' failed mingw32-make: *** [release/maxcoin-qt.exe] Error 1 It would seem maxcoin requires additional libraries due to its keccak crypt: http://www.cryptopp.com/ Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: baokychen on March 28, 2014, 05:09:35 AM Anyone can help. I trying to compile maxcoin using EasyWinBuilder, but I got the error below. Any idea how to resolve it. Thanks !! Quote g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release/maxcoin-qt.exe object_script.maxcoin-qt.Releas e -L'c:/Qt/4.8.5/lib' -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -Ll ibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/deps/dadcoin/src/cryptopp/libcryptop p.a -lshlwapi C:/deps/dadcoin/src/leveldb/libleveldb.a C:/deps/dadcoin/src/level db/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build _unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-1_54 -lboost_filesyst e.... ... ./build/key.o:key.cpp:(.text+0x1c13): undefined reference to `CryptoPP::Integer: :ByteCount() const' ./build/key.o:key.cpp:(.text+0x1c8d): undefined reference to `CryptoPP::ECP::Enc odePoint(unsigned char*, CryptoPP::ECPPoint const&, bool) const' ./build/key.o:key.cpp:(.text+0x1e6e): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: ./build/ke y.o: bad reloc address 0x6 in section `.text$_ZN8CryptoPP8ClonableD1Ev[CryptoPP: :Clonable::~Clonable()]' collect2: ld returned 1 exit status Makefile.Release:281: recipe for target 'release/maxcoin-qt.exe' failed mingw32-make: *** [release/maxcoin-qt.exe] Error 1 It would seem maxcoin requires additional libraries due to its keccak crypt: http://www.cryptopp.com/ I download maxcoin wallet and its cryptopp was inside the folder, the file was of latest 2/20/2013 - Version 5.6.2 released Could it be that I need reference my cryptopp library folder somewhere at easywinbuilder? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on March 28, 2014, 11:02:55 AM Anyone can help. I trying to compile maxcoin using EasyWinBuilder, but I got the error below. Any idea how to resolve it. Thanks !! Quote g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release/maxcoin-qt.exe object_script.maxcoin-qt.Releas e -L'c:/Qt/4.8.5/lib' -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -Ll ibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/deps/dadcoin/src/cryptopp/libcryptop p.a -lshlwapi C:/deps/dadcoin/src/leveldb/libleveldb.a C:/deps/dadcoin/src/level db/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build _unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-1_54 -lboost_filesyst e.... ... ./build/key.o:key.cpp:(.text+0x1c13): undefined reference to `CryptoPP::Integer: :ByteCount() const' ./build/key.o:key.cpp:(.text+0x1c8d): undefined reference to `CryptoPP::ECP::Enc odePoint(unsigned char*, CryptoPP::ECPPoint const&, bool) const' ./build/key.o:key.cpp:(.text+0x1e6e): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: ./build/ke y.o: bad reloc address 0x6 in section `.text$_ZN8CryptoPP8ClonableD1Ev[CryptoPP: :Clonable::~Clonable()]' collect2: ld returned 1 exit status Makefile.Release:281: recipe for target 'release/maxcoin-qt.exe' failed mingw32-make: *** [release/maxcoin-qt.exe] Error 1 It would seem maxcoin requires additional libraries due to its keccak crypt: http://www.cryptopp.com/ I download maxcoin wallet and its cryptopp was inside the folder, the file was of latest 2/20/2013 - Version 5.6.2 released Could it be that I need reference my cryptopp library folder somewhere at easywinbuilder? DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE SCRYPT_CHACHA SCRYPT_KECCAK512 BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN __NO_SYSTEM_INCLUDES Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: NilamDoc on March 29, 2014, 04:19:30 AM Were you able to compile bitcoin 0.9.0 using Easy Win Builder?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: baokychen on March 29, 2014, 02:32:49 PM Anyone can help. I trying to compile maxcoin using EasyWinBuilder, but I got the error below. Any idea how to resolve it. Thanks !! Quote g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release/maxcoin-qt.exe object_script.maxcoin-qt.Releas e -L'c:/Qt/4.8.5/lib' -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -Ll ibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/deps/dadcoin/src/cryptopp/libcryptop p.a -lshlwapi C:/deps/dadcoin/src/leveldb/libleveldb.a C:/deps/dadcoin/src/level db/libmemenv.a -lshlwapi -Llibs/boost_1_54_0/stage/lib -Llibs/db-4.8.30.NC/build _unix -Llibs/openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-1_54 -lboost_filesyst e.... ... ./build/key.o:key.cpp:(.text+0x1c13): undefined reference to `CryptoPP::Integer: :ByteCount() const' ./build/key.o:key.cpp:(.text+0x1c8d): undefined reference to `CryptoPP::ECP::Enc odePoint(unsigned char*, CryptoPP::ECPPoint const&, bool) const' ./build/key.o:key.cpp:(.text+0x1e6e): undefined reference to `CryptoPP::Integer: :Encode(unsigned char*, unsigned int, CryptoPP::Integer::Signedness) const' c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: ./build/ke y.o: bad reloc address 0x6 in section `.text$_ZN8CryptoPP8ClonableD1Ev[CryptoPP: :Clonable::~Clonable()]' collect2: ld returned 1 exit status Makefile.Release:281: recipe for target 'release/maxcoin-qt.exe' failed mingw32-make: *** [release/maxcoin-qt.exe] Error 1 It would seem maxcoin requires additional libraries due to its keccak crypt: http://www.cryptopp.com/ Been trying for the past few days but couldn't get it working, I already download the latest cryptopp library but its seems that maxcoin got some issue compiling If I qmake "USE_UPNP=-" maxcoin-qt.pro and without using EasyWinBuilder Code: c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/ws2tcpip.h:38:2: error Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: CryptoKiller on March 29, 2014, 07:43:10 PM anyone have a solution for the crash on close and debug window?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on March 31, 2014, 01:30:49 PM anyone have a solution for the crash on close and debug window? You are talking about crash on close,of litecoin client that was compiled by easywinbuilder? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: CryptoKiller on March 31, 2014, 06:23:29 PM anyone have a solution for the crash on close and debug window? You are talking about crash on close,of litecoin client that was compiled by easywinbuilder? Yessir I am. Doesn't seem to be specific to litecoin either. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Jasmein on April 08, 2014, 03:51:24 PM Tried this with Litecoin and crashed on close and encrypting wallet
Does anyone have a solution to this? Could it be a define in Makefile.Release? Could be a setting or perhaps a library issue? Previous versions of dogecoin had the same issue Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on April 08, 2014, 07:48:05 PM Tried this with Litecoin and crashed on close and encrypting wallet Does anyone have a solution to this? Could it be a define in Makefile.Release? Could be a setting or perhaps a library issue? Previous versions of dogecoin had the same issue We still cant solve it Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinex on April 09, 2014, 07:02:32 PM The SOLUTION to the crash on Close and blockchain sync issue, is to compile QT for static builds.
http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW In addition, an added bonus to this is that you will no longer need to distribute those 3-8 .dll files - libraries will be statically compiled into your .exe so all you need to distribute is the exe. If anyone is still experiencing crashes at LAUNCH of the application this is typically due to incompatible versions of QT and mingw that have no indication of not working together but produce this result when compile. If using qt5 use the most recent mingw, if using qt4 check for a known compatible version of mingw. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: CryptoKiller on April 11, 2014, 01:14:32 PM The SOLUTION to the crash on Close and blockchain sync issue, is to compile QT for static builds. http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW In addition, an added bonus to this is that you will no longer need to distribute those 3-8 .dll files - libraries will be statically compiled into your .exe so all you need to distribute is the exe. If anyone is still experiencing crashes at LAUNCH of the application this is typically due to incompatible versions of QT and mingw that have no indication of not working together but produce this result when compile. If using qt5 use the most recent mingw, if using qt4 check for a known compatible version of mingw. Took a little tinkering of the source to get it compiled on qt5 but worked in the end. Have a single exe that runs perfectly. Cheers! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: cyrilbf on May 09, 2014, 08:52:31 AM Hello I wanted to know if there aurrai a solution to compile the daemon litecoin with this software?
thank you in advance Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: KaChingCoinDev on May 09, 2014, 06:32:55 PM Code: Guys, when putting in error's use the /code instead of /quote ;) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: anglebaby87 on May 12, 2014, 01:15:52 PM Great idea! This is extremely helpful. However... not yet fully working for me. I ran the __all... batch file from a command prompt and all went smoothly for a while, until at some point during the process, the command window exited on its own. I'm working on tracking down where it had problems. good workLooks like something in build_dep.sh. memenv_test compile completes, but not much seems to have happened in the openssl folder, and nothing in the db folder. I commented out "set -o errexit" in build_dep.sh, assuming that was what killed my command window due to an error somewhere. When I did that and run 3b.bat, I get as far as the openssl install, then I can see a bunch of windows for c:\MinGW\bin\cc.exe being launched and closed, until I kill the batch file. I'll keep poking at it and see if I can learn any more about the issue. EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Abala on July 17, 2014, 05:57:28 PM Anyone can help. I trying to compile megacoin using EasyWinBuilder, but I got the error below.
Any idea how to resolve it. Thanks !! Code: C:\megacoin\contrib\easywinbuilder>echo on Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: mjw1201 on December 12, 2014, 03:50:09 AM Maybe I am just lost.....
Everything ran smooth and completed....Now what... I feel like I have no idea where to go from here. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Klaasje on May 31, 2015, 10:10:47 PM Hi,
Does this work on other sources as well? Gr Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 07, 2015, 09:45:45 AM Old OP for reference (2015-07-07):
This does not work yet with 0.9 If you have ever built Bitcoin on Windows you probably know it can be a pain. Hopefully these scripts will make things a little easier. Note that the official Windows binaries are cross compiled on Linux. https://github.com/phelixbtc/bitcoin/tree/0.8.5-EWB Download EasyWinBuilder together with Bitcoin v0.8.5: https://github.com/phelixbtc/bitcoin/archive/0.8.5-EWB.zip (all code is equal to the respective Bitcoin, only the contrib/easywinbuilder folder is new) How to use Double click __all_easywinbuilder.bat in the contrib/easywinbuilder folder and follow instructions. You will have to install MinGW and Qt by hand, the rest will run automatically. Altcoins / other versions The scripts should also work with different versions / altcoins with a similar structure to current Bitcoin, simply copy&paste the contrib/easywinbuilder folder. Disassembly hash - removed for now as it seems to only work with certain locales The script calculates a hash of the disassembly of the final Qt executable. The idea is to validate binaries by several people, a little similar to the real Bitcoin build process. If you know a better way of how to get rid of the binary timestamp let me know. Credits Based on the build manual by nitrogenetics (https://bitcointalk.org/index.php?topic=149479.0) and older manuals from others. heavily edited Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 07, 2015, 10:03:42 AM Finally a new version is out. Looking for testers. :)
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: BanzaiBTC on July 07, 2015, 11:12:38 AM I will test it when I get back home tonight :) First wallet I ever " compiled" was by using this :)
Note: I noticed mingw64 in the source only.. No mingw32 version? :P I can alter it myself though :D Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: cinnamon_carter on July 08, 2015, 12:25:00 AM I have not tried this since I am ok with making my own wallets for a while now however......... i found the link on Nitrogenetics thread ..........
It looks like a lot of hard work went into this and honestly I would have never thought of 'automating' something like this..... If it works (and from just glancing over the code on github it looks like it is packing the right stuff...) it is a great way for people to 'learn' the process who want to but lack the background in linux, or mingw or other things to set up the proper build environment. For the people who are scratching their head when they read......oh just put that in your path..... this is for you !! I may even try it just to watch it work !! Would probably use on windows 7 virtual box, microsoft allows you to download the iso of win 7 from their website; then you can make a new virtual machine (realize this will run much slower than a normal computer) as if win 7 was just installed !!! I consider it like a work of art. :D :D :D Consider a great cook who has perfected a recipe to cook a large elaborate meal that takes several hours..... To watch this build the client would be like sitting back and watching a robot build the client or for that cook to watch the meal cook itself !!!! It looks pretty cool !!! Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 08, 2015, 07:32:35 AM I will test it when I get back home tonight :) First wallet I ever " compiled" was by using this :) It will build 32bit though.Note: I noticed mingw64 in the source only.. No mingw32 version? :P I can alter it myself though :D @cinnamon: thanks. :) Maybe it will make it a little easier for people to start hacking on Bitcoin. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: m0mchil on July 10, 2015, 12:31:09 PM Testing on a clean WinXP 32bit in a VM
After installing MinGW, I should set MINGWPATH in set_vars.bat to C:\MinGW\bin to be able to proceed. The default is 'C:/MinGW'. Am I missing something? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 11, 2015, 12:13:08 PM Testing on a clean WinXP 32bit in a VM Thanks for testing. If you leave the defaults of the MinGW installer alone you should not have to change anything in set_vars.bat.After installing MinGW, I should set MINGWPATH in set_vars.bat to C:\MinGW\bin to be able to proceed. The default is 'C:/MinGW'. Am I missing something? edit: oops. there was bug. I fixed the bin path in the 1_environment.bat Did you do this when installing MinGW? Quote Unselect "... also install support for the graphical user interface." Maybe I should add a couple of exclamation marks :)btw: The new version 0.7 is quite close to nitrogenetics instructions (https://bitcointalk.org/index.php?topic=252931.0): Differences I am aware of because of build troubles: * OpenSSL small config does not yet work (any hint appreciated) * different Boost version Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 11, 2015, 05:10:36 PM Testing on a clean WinXP 32bit in a VM I noticed another issue on WinXP - it does not work properly with forward slashes (e.g. cd /windows) whereas later windows versions do handle them ok. Should be fixed now.[...] Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on July 15, 2015, 03:56:02 PM Another fix and update to v0.11.0
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinhosting on August 21, 2015, 10:02:37 AM does this one still works? I'm stuck crosscompiling my wallet using gitian on debian and i'm searching form something more straightforeward...
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 21, 2015, 12:57:59 PM does this one still works? I'm stuck crosscompiling my wallet using gitian on debian and i'm searching form something more straightforeward... yes - for me at least ;DIt's quite easy once you have figured this part out: Quote About to download MinGW/MSYS installer - you need to install it manually. Note: It will start the MinGW download in your browser once you press a key. You then have to manually launch the downloaded MinGW installer and remember to unselect that option. Once the installer stops working it has finished and you can press a key in the easywinbuilder command line window.Install to default directory: %MINGWPATH% Unselect "... also install support for the graphical user interface." Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinhosting on August 21, 2015, 01:03:16 PM does this one still works? I'm stuck crosscompiling my wallet using gitian on debian and i'm searching form something more straightforeward... yes - for me at least ;DIt's quite easy once you have figured this part out: Quote About to download MinGW/MSYS installer - you need to install it manually. Note: It will start the MinGW download in your browser once you press a key. You then have to manually launch the downloaded MinGW installer and remember to unselect that option. Once the installer stops working it has finished and you can press a key in the easywinbuilder command line window.Install to default directory: %MINGWPATH% Unselect "... also install support for the graphical user interface." I'm going to try this one out this evening ;D Compiling the bitcoind binary or the wallet for bitcoin or any altcoin for linux is pretty easy, but i've never actually been able to build a qt wallet for windows... I've tried using the windows compile tools, crosscompiling with mxe, crosscompiling with gitian (mingw)... Always hit a dead end after 2-3 days... Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 21, 2015, 01:11:51 PM does this one still works? I'm stuck crosscompiling my wallet using gitian on debian and i'm searching form something more straightforeward... yes - for me at least ;DIt's quite easy once you have figured this part out: Quote About to download MinGW/MSYS installer - you need to install it manually. Note: It will start the MinGW download in your browser once you press a key. You then have to manually launch the downloaded MinGW installer and remember to unselect that option. Once the installer stops working it has finished and you can press a key in the easywinbuilder command line window.Install to default directory: %MINGWPATH% Unselect "... also install support for the graphical user interface." I'm going to try this one out this evening ;D Compiling the bitcoind binary or the wallet for bitcoin or any altcoin for linux is pretty easy, but i've never actually been able to build a qt wallet for windows... I've tried using the windows compile tools, crosscompiling with mxe, crosscompiling with gitian (mingw)... Always hit a dead end after 2-3 days... It made it clear for me that operating systems like Windows and Mac OS (by default) can't be taken serious any more for development. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinhosting on August 21, 2015, 01:16:16 PM yeah it's hell on earth. Hopefully this helps. It made it clear for me that operating systems like Windows and Mac OS (by default) can't be taken serious any more for development. Thanks for the effort, and for sharing... I'll probably report back on monday (if my build succeeds) +1 on the fact that neither windows nor mac os are suitable for development ;) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: altcoinhosting on August 24, 2015, 05:38:19 AM Just a heads up: your system works great... I used vmware to run a clean XP, and executed all .bat-files sequentially... Ended up with the bitcoin deamon, qt,... ;D
Now, i'm going to try to clone bitcoin 0.11.0 for educational purposes, and build it with your tool (i'm not planning to release yet another altcoin into the community) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on August 24, 2015, 07:21:25 AM Just a heads up: your system works great... I used vmware to run a clean XP, and executed all .bat-files sequentially... Ended up with the bitcoin deamon, qt,... ;D ;D Thanks for the feedback!Now, i'm going to try to clone bitcoin 0.11.0 for educational purposes, and build it with your tool (i'm not planning to release yet another altcoin into the community) Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on September 28, 2015, 12:48:27 PM Updated to include Libevent. This will be necessary for upcoming Bitcoin versions and is already now for some altcoins.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: bloods-n-cryptos on September 28, 2015, 07:05:06 PM EasyWinBuilder v0.7 for Bitcoin Core ======================== (c) 2014-2015 phelix / blockchained.com - MIT license Source: https://github.com/phelix/easywinbuilder Download (source in a zip file): https://github.com/phelix/easywinbuilder/archive/master.zip Forum: https://bitcointalk.org/index.php?topic=252931 Download environment software, all dependencies and build Bitcoin automatically. To run simply double click __all_easywinbuilder.bat or manually start the batch files in order. If you have ever built Bitcoin on Windows you probably know it can be a pain. Hopefully these scripts will make things a little easier. Note that the official Windows binaries are cross compiled on Linux. EasyWinBuilder can run on a mint windows system (e.g. a virtual machine) or a normal system. It might overwrite your MinGW or Qt installation, though. Please note the process takes about 1.5 hours (i3 with SSD) and will need about 3GB of hard drive space. All automatic downloads are now verified against included hashes. Edit set_vars.bat to change the Bitcoin version or build similarly structured altcoins and to change directories and dependency versions. Also run downloadhashes_create.sh from within MSYS. Based on build instructions by nitrogenetics (https://bitcointalk.org/index.php?topic=149479.0), Matt Corallo and others I will only answer support requests publicly posted in this thread. This may be a bit much unnecessary work but it would be helpful to see a changelog on the OP to let people quickly see the that the project is still very active, which may be of particular interest to alt-coins since its looking to be more alt-coin compatible with latest changes. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: tommorisonwebdesign on September 28, 2015, 07:11:06 PM This is an interesting tool. If I ever decide to learn C, I will keep this in mind.
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 06, 2015, 12:43:30 PM This may be a bit much unnecessary work but it would be helpful to see a changelog on the OP to let people quickly see the that the project is still very active, which may be of particular interest to alt-coins since its looking to be more alt-coin compatible with latest changes. Thanks for the suggestion. On github you can see all changes in detail. I am once again playing with reproducible builds, if I get anywhere I will certainly write about it in the OP.And yes, it should be compatible with various altcoins. I often use it to build Namecoin debug builds. This is an interesting tool. If I ever decide to learn C, I will keep this in mind. Thanks. I would start with something else (Python?) though. :)Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: BTCDDev on October 07, 2015, 08:25:51 PM I (along with fsb4000 and mezzovide) developed a way to build BitcoinDarkd.exe for Windows using MXE cross compiler from Linux.
It's really nice and makes building coins for Windows just as easy as for linux. https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh (https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh) https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win (https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win) I got the QT building as well. MXE mxe.cc (http://mxe.cc) takes a while to build, but it's a self contained dev environment, and only needs to be build once. mezzovide also got some btc packages committed to the official mxe repo as well, so you don't need to build them separately and manually link them into the makefile: https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4 (https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4) Matthew Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on October 08, 2015, 03:08:35 PM I (along with fsb4000 and mezzovide) developed a way to build BitcoinDarkd.exe for Windows using MXE cross compiler from Linux. Nice. Any chance builds are reproducible?It's really nice and makes building coins for Windows just as easy as for linux. https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh (https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh) https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win (https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win) I got the QT building as well. MXE mxe.cc (http://mxe.cc) takes a while to build, but it's a self contained dev environment, and only needs to be build once. mezzovide also got some btc packages committed to the official mxe repo as well, so you don't need to build them separately and manually link them into the makefile: https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4 (https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4) Matthew Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: BTCDDev on October 09, 2015, 10:53:12 PM I (along with fsb4000 and mezzovide) developed a way to build BitcoinDarkd.exe for Windows using MXE cross compiler from Linux. Nice. Any chance builds are reproducible?It's really nice and makes building coins for Windows just as easy as for linux. https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh (https://github.com/jl777/btcd/blob/master/libjl777/make_win64.sh) https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win (https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win) I got the QT building as well. MXE mxe.cc (http://mxe.cc) takes a while to build, but it's a self contained dev environment, and only needs to be build once. mezzovide also got some btc packages committed to the official mxe repo as well, so you don't need to build them separately and manually link them into the makefile: https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4 (https://github.com/mezzovide/mxe/commit/1513af4a88fa268d97364b3f29f8e4fb2e1d54c4) Matthew Good question, I'm not sure. I haven't checked my builds against anyone elses'. By the way, here is a script someone wrote to auto-build BitcoinDarkd.exe for Windows under Linux. https://github.com/satindergrewal/SuperMesh/blob/master/scripts/btcd-build-scripts/btcdwinbuild.sh (https://github.com/satindergrewal/SuperMesh/blob/master/scripts/btcd-build-scripts/btcdwinbuild.sh) It really makes things nice, having all the dependencies right there under MXE and not having to download & build so many manually. Update - I went back and checked my build against someone elses, it had a different checksum. Unfortunate, but still extremely helpful when you just want to compile for Windows. To build BitcoinDarkd.exe for windows, you simply do: Code: git clone git://github.com/jl777/btcd and that's it. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: c275 on November 04, 2015, 04:00:32 PM Hi, I have this error:
Code: QT5 base [5.3.2] Can't figured out how to procede. All .zip files works.. :( Any suggest? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on November 05, 2015, 09:31:05 AM Hi, I have this error: Hmm. You could try to manually unpack the file.Code: QT5 base [5.3.2] Can't figured out how to procede. All .zip files works.. :( Any suggest? Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: c275 on November 05, 2015, 06:56:12 PM Tried, seme error :(
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on November 05, 2015, 07:38:54 PM Tried, seme error :( Can you unpack the file manually? if not it's really broken. otherwise you can comment out the automatic extraction in easywinbuilder and manually do whatever you comment out.Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: c275 on November 05, 2015, 08:50:21 PM I have unpacked all the files and put them in /lib. Can you tell me what part I have to comment out? Tnx..
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on November 15, 2015, 07:21:35 PM I have unpacked all the files and put them in /lib. Can you tell me what part I have to comment out? Tnx.. in unpack_dep.sh you need to uncomment one line:Code: #unzip -o $DOWNLOAD/qtbase-opensource-src-$QTVERSION.zip -d $QTBASEPATH > /dev/null For things to still work you need to do the unpack manually: extract qtbase-opensource-src-$QTVERSION.zip to the $QTBASEPATH (by default "Qt"). To test you can then directly run "2b_run_unpack_dep.bat" and "3d_build_qt5.bat" Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on November 25, 2015, 09:24:43 AM Updated for Bitcoin Core 0.11.2
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: mmortal03 on February 13, 2016, 10:25:33 AM So, I ran into this problem, as well, and had to manually extract to work around it:
Hi, I have this error: Code: QT5 base [5.3.2] Can't figured out how to procede. All .zip files works.. :( Any suggest? Then I ran into the following older problem, with the openssl build silently exiting, as in: openssl... Operating system:i686-whatever-mingw *then silently exits* (meaning, the ./config starts, then crashes before "Configuring mingw") I had to manually run ./config and make via console for OpenSSL and then ran into the same silent exiting issue with the rest of the dependencies in build_dep.sh, so I had to manually run it for each of those dependencies, too. I have my fingers crossed that the rest will work. I'm more curious as to why these problems are occurring for people. Edit: Nope, got all the way to 4_run_build_daemon_and_qt, and get mingw32-make.exe has stopped working. EasyWinBuilder still ain't easy. :) EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Thanks for this tip, I had to do the same. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 15, 2016, 08:00:38 AM So, I ran into this problem, as well, and had to manually extract to work around it: Thanks for the feedback. Are you sure you got the right versions of mingw? I will take another look at this with bitcoin 0.12Hi, I have this error: Code: QT5 base [5.3.2] Can't figured out how to procede. All .zip files works.. :( Any suggest? Then I ran into the following older problem, with the openssl build silently exiting, as in: openssl... Operating system:i686-whatever-mingw *then silently exits* (meaning, the ./config starts, then crashes before "Configuring mingw") I had to manually run ./config and make via console for OpenSSL and then ran into the same silent exiting issue with the rest of the dependencies in build_dep.sh, so I had to manually run it for each of those dependencies, too. I have my fingers crossed that the rest will work. I'm more curious as to why these problems are occurring for people. Edit: Nope, got all the way to 4_run_build_daemon_and_qt, and get mingw32-make.exe has stopped working. EasyWinBuilder still ain't easy. :) EDIT: running openssl ./config and make via mingw console seems to work fine. Not sure what the deal is with running via the .bat under windows command prompt instead... I commented out the openssl compile from the .sh and am now continuing with the rest of the process. The sed commands are throwing a permission denied error, but look to have successfully updated what they were supposed to anyways. Thanks for this tip, I had to do the same. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: mmortal03 on February 25, 2016, 10:14:43 AM Are you sure you got the right versions of mingw? This was on a machine which never had mingw installed prior to running EasyWinBuilder. It was downloaded from the link that EWB provided, which is: https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: pjcltd on February 25, 2016, 03:35:54 PM Anyone got a list of wallets that they have built using this system?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: phelix on February 25, 2016, 03:47:23 PM Anyone got a list of wallets that they have built using this system? I have built Bitcoin and Namecoin.Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Coryvmcs1 on February 29, 2016, 07:52:11 PM When trying to work on this and try to install i am getting
boost [boost_1_58_0] tar: boost_1_58_0/libs/geometry/doc/html/geometry/reference/spatial_indexes/boos t__geometry__index__rtree/rtree_parameters_type_const____indexable_getter_const_ ___value_equal_const____allocator_type_const___.html: Cannot open: File or path name too long tar: Exiting with failure status due to previous errors Fatal error! Errorlevel: 2 Press any key to continue . . . I got past the qtbase errors by reming them out and it moved onto the next pahse. Now it's getting stuck. Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: vane91 on April 18, 2016, 01:30:47 AM When trying to work on this and try to install i am getting boost [boost_1_58_0] tar: boost_1_58_0/libs/geometry/doc/html/geometry/reference/spatial_indexes/boos t__geometry__index__rtree/rtree_parameters_type_const____indexable_getter_const_ ___value_equal_const____allocator_type_const___.html: Cannot open: File or path name too long tar: Exiting with failure status due to previous errors Fatal error! Errorlevel: 2 Press any key to continue . . . I got past the qtbase errors by reming them out and it moved onto the next pahse. Now it's getting stuck. Cory, i guess "File or path name too long" try using directly on c:/easyw/ BTW Phelix, i noticed latest bitcoin uses secp256k1 instead of openssl, "A side effect of this change is that libconsensus no longer depends on OpenSSL" maybe that's why i get an error trying to build namecoin lately. Or maybe it's pointing to a file that was renamed or something is missing in my virtual machine... Code: CXX crypto/libnamecoinconsensus_la-sha512.lo Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: Apocalipsis on March 11, 2017, 07:57:26 PM Somebody built SCRYPT based coins?
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: wmcorless on November 25, 2017, 06:32:08 PM Anyone got a list of wallets that they have built using this system? Paccoin was built with this also Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: fxstrike on November 26, 2017, 10:47:04 AM I tried this and right after mingw installation its stop with fatal error, anyone have tried this recently I mean in nov 2017, is there any other build system that works for windows other than the windows 10 wsl
Title: Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows Post by: ankdevian on February 03, 2018, 08:54:37 PM getting stuck on googletest-1.7.0
|