nuggetbram
|
|
July 28, 2014, 02:25:21 PM |
|
you really need to install all those thing, toget this to work? isn't just qt creator+mingw enough?
Rember when installing bitcoin on Linux you need to have several dependencies - libboost, libels etc. windows simply has a much, much more complex and irritating installation procedure. there is a zip link for all the dependencies? Unfortunately no, as you have to build them all yourself, otherwise your executable will compile and not run - incredibly frustrating when you don't know what's wrong. There is the "easy win builder" that will download and compile all the depencies for you, but you still need mingw and qt. It's important to make sure that you only install msys with the MinGW installer and use the toolchain to build with - that got me for a while too.
|
|
|
|
old c coder
|
|
July 29, 2014, 07:25:07 PM |
|
you really need to install all those thing, toget this to work? isn't just qt creator+mingw enough?
Rember when installing bitcoin on Linux you need to have several dependencies - libboost, libels etc. windows simply has a much, much more complex and irritating installation procedure. Not so, See message # 1 in this forum, and for really easy on Windows, see http://www.youtube.com/playlist?list=PLFnWb0ttBBMLyUuniLp3PJ5Mn4tVUlliZI have been compiling successfully, and running Bitcoind & BitcoinQt on Windows (using gcc and MSVC++) for over a year. Version 0.8.1, 0.8.2, 0.8.3, 0.8.5, 0.8.6, 0.9.x See message # 517 in this forum, https://bitcointalk.org/index.php?topic=149479.msg5937160#msg5937160or # 615 in this forum, https://bitcointalk.org/index.php?topic=149479.msg6645385#msg6645385or # 630 in this forum, https://bitcointalk.org/index.php?topic=149479.msg6755454#msg6755454and I'm not the first! Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
July 29, 2014, 10:46:01 PM |
|
I think I'll try this route as QT really hates me.. Does the VS version matter?
|
“God does not play dice"
|
|
|
|
old c coder
|
|
July 30, 2014, 01:17:38 PM |
|
I think I'll try this route as QT really hates me.. Does the VS version matter? Hello YarkoL, What bitcoin Qt version &/or what part of the build is giving trouble? For bitcoin-qt see https://bitcointalk.org/index.php?topic=349094.0;allIf you want to "Qt-create" in MSVS then you will need the MSVS appropriate to the Qt-creator you are using. Which would be probably VS 2012? I can't speak to the Qt versions, I refer you to the forum mentioned above. I build bitcoin-qt only with gcc on Windows, as per Nitrogenetics message # 1. The # 1 that existed last spring and summer (2013), that is, when bitcoin was versions 0.8.1 to 0.8.6. I have "upped" the OpenSSL (1.0.1h) and levelDB (1.15) libraries but I still use Boost 1.53, BerkeleyDB 4.8.30 for bitcoind.exe (gcc & MSVS) and bitcoin-qt.exe (gcc). If you are thinking bitcoind, then any "modern" MSVS ( >= VS 2005) will work. I build with MSVS Express 2005, so VS 2008, 2010, etc. all can import from the previous version, etc. Of course one would have to build one's 4 static libraries, but that is what my videos show. It is quite easy to build the libraries, so the process becomes quite simple. It's all in the short videos. Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
Amph
Legendary
Offline
Activity: 3248
Merit: 1070
|
|
August 02, 2014, 11:20:25 AM |
|
you really need to install all those thing, toget this to work? isn't just qt creator+mingw enough?
Rember when installing bitcoin on Linux you need to have several dependencies - libboost, libels etc. windows simply has a much, much more complex and irritating installation procedure. Not so, See message # 1 in this forum, and for really easy on Windows, see http://www.youtube.com/playlist?list=PLFnWb0ttBBMLyUuniLp3PJ5Mn4tVUlliZI have been compiling successfully, and running Bitcoind & BitcoinQt on Windows (using gcc and MSVC++) for over a year. Version 0.8.1, 0.8.2, 0.8.3, 0.8.5, 0.8.6, 0.9.x See message # 517 in this forum, https://bitcointalk.org/index.php?topic=149479.msg5937160#msg5937160or # 615 in this forum, https://bitcointalk.org/index.php?topic=149479.msg6645385#msg6645385or # 630 in this forum, https://bitcointalk.org/index.php?topic=149479.msg6755454#msg6755454and I'm not the first! Ron can i use the libraries of your video plus qt creator instead of vs10? there is a difference for any other coin? i need something else?
|
|
|
|
old c coder
|
|
August 02, 2014, 05:19:55 PM |
|
Hello Amph, I don't understand your English. can i use the libraries of your video plus qt creator instead of vs10?
I don't use VS2010, so I don't understand what you are referring to? I don't show Qt-creator at all and I don't build any Qt version, except in a different video for an alternate crypto currency. The Libraries I show being built are all MS Windows versions. Now what can they be used for? The can be used to create any program built using MSVS, obviously! That includes Bitcoin and lots of other crypto currencies and many other programs too! I don't know where Qt-creator fits into this discussion? And I think you are asking if you can use VS2010 instead of VS2005? Yes, you can use any VS you want! There is a nice video (not mine) of Boost 1.37 (I think?) being made with VS2010! Are you mixing up my videos with Claire's, where she shows the Qt-creator plug-in for VS2012 (the commercial version) being used to make Bitcoin 0.8.6 and/or Litecoin, I think? there is a difference for any other coin? Are you asking: Is there a difference between crypto currencies in their build proccesses? If you watched my other video, you would have seen that the build process is identical. The libraries are identical. The difference is the source code. But isn't that pretty much true for all the crypto currencies? The all have pretty much the same gcc make file for the daemon, and pretty much the same gcc make file for the Qt version? i need something else? I don't know what you are asking here? Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
August 02, 2014, 05:42:41 PM |
|
Hello YarkoL,
What bitcoin Qt version &/or what part of the build is giving trouble?
My woe is summarized succinctly in this post https://bitcointalk.org/index.php?topic=149479.msg6980520#msg6980520In addition, I have been able to build a wallet that issues a flurry of little panels with error messages on shutdown. I've got quite limited resources since my other machine died. I'm on ubuntu with whopping 2GB memory, so I wonder if your way would work on VM with XP and VS 2005
|
“God does not play dice"
|
|
|
esotericizm
|
|
August 02, 2014, 05:43:03 PM |
|
There's some new alts coming out with tor integration. In order to compile using mingw you will need to build libevent from https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gzShould be able to link using LIBEVENT_INCLUDE_PATH=C:/deps/libevent-2.0.21-stable/include LIBEVENT_LIB_PATH=C:/deps/libevent-2.0.21-stable/.libs otherwise you can add the following under LIBS in Makefile.Release -lcrypt32 C:/deps/libevent-2.0.21-stable/.deps/libevent.a C:/deps/libevent-2.0.21-stable/.deps/libevent.dll.a -lws2_32
|
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
August 02, 2014, 05:47:34 PM Last edit: March 20, 2015, 10:14:54 AM by YarkoL |
|
You don't need event lib on windows. (blah blah...) Came back later to edit this shameful memorial of my ignorance. The above instruction ^ about building libevent in windows is correct.
|
“God does not play dice"
|
|
|
old c coder
|
|
August 02, 2014, 09:33:24 PM |
|
Hello YarkoL, If that's a Qt build thing, I find that having built libleveldb.a and libmemenv.a for the daemon, I don't need to do it again when building Qt. Maybe something like this message might help? https://bitcointalk.org/index.php?topic=149479.msg6339803#msg6339803 In addition, I have been able to build a wallet that issues a flurry of little panels with error messages on shutdown.
That sounds like this post: https://bitcointalk.org/index.php?topic=149479.msg4242494#msg4242494 As I remember, that seemed to be most prevalent in Bitcoin0.8.5 and any *coin derived from Bitcoin 0.8.5. I don't remember what fixed it for me, but 0.8.6 & 0.9.x all work OK. I've got quite limited resources since my other machine died. I'm on ubuntu with whopping 2GB memory, so I wonder if your way would work on VM with XP and VS 2005
All I can say is that I run XP on a 1.8GHz AMD Athlon 3200+ CPU with the maximum 3GB of ram available for XP and it works fine. Sometimes I'll have 3 or 4 IDE's open, sometimes 5 browser windows open on ~300 web pages (yikes!) and I can still run Bitcoind or Qt, make videos, etc. So I think you can do it too! Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
coinerer
|
|
August 09, 2014, 07:01:43 PM |
|
Probably due to bugs in boost_1_56_0 i can't compile Quark v0.8.3 wallet nor Bitcoin v0.9.2.1 wallet with that version of boost.
from: boost_1_56_0/interprocess/errors.hpp:37:0 boost_1_56_0/interprocess/exceptions.hpp:20, boost_1_56_0/interprocess/file_lock.hpp:20, init.cpp:36,
problem is here: boost_1_56_0/interprocess/detail/win32_api.hpp:1614:20 boost_1_56_0/interprocess/detail/win32_api.hpp:1541:31
return FunctionAdresses[id] ;
Is there some configuration solution?
|
|
|
|
nitrogenetics (OP)
|
|
August 10, 2014, 12:36:11 AM |
|
Same here, it compiles when using -fpermissive though. I would stick with boost 1.55 anyway.
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
ftc-c
Newbie
Offline
Activity: 31
Merit: 0
|
|
August 12, 2014, 06:48:18 AM |
|
CXXLD qt/bitcoin-qt.exe d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(qrspec.o): In function `QRspec_new Frame': d:\BTC\Dev\qrencode-3.4.3/qrspec.c:530: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/qrspec.c:536: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(qrspec.o): In function `QRspec_cle arCache': d:\BTC\Dev\qrencode-3.4.3/qrspec.c:553: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/qrspec.c:560: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(rscode.o): In function `init_rs': d:\BTC\Dev\qrencode-3.4.3/rscode.c:217: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/rscode.c:237: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(rscode.o): In function `free_rs_ca che': d:\BTC\Dev\qrencode-3.4.3/rscode.c:256: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/rscode.c:266: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(mqrspec.o): In function `MQRspec_n ewFrame': d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:248: undefined reference to `_imp__pthread_m utex_lock' d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:254: undefined reference to `_imp__pthread_m utex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(mqrspec.o): In function `MQRspec_c learCache': d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:271: undefined reference to `_imp__pthread_m utex_lock' d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:278: undefined reference to `_imp__pthread_m utex_unlock' collect2.exe: error: ld returned 1 exit status make[1]: *** [qt/bitcoin-qt.exe] Error 1 make[1]: Leaving directory `/d/btc/dev/bitcoin-master/src' make: *** [all-recursive] Error 1
how to fix ?
|
|
|
|
coinerer
|
|
August 12, 2014, 07:19:10 AM |
|
CXXLD qt/bitcoin-qt.exe d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(qrspec.o): In function `QRspec_new Frame': d:\BTC\Dev\qrencode-3.4.3/qrspec.c:530: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/qrspec.c:536: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(qrspec.o): In function `QRspec_cle arCache': d:\BTC\Dev\qrencode-3.4.3/qrspec.c:553: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/qrspec.c:560: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(rscode.o): In function `init_rs': d:\BTC\Dev\qrencode-3.4.3/rscode.c:217: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/rscode.c:237: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(rscode.o): In function `free_rs_ca che': d:\BTC\Dev\qrencode-3.4.3/rscode.c:256: undefined reference to `_imp__pthread_mu tex_lock' d:\BTC\Dev\qrencode-3.4.3/rscode.c:266: undefined reference to `_imp__pthread_mu tex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(mqrspec.o): In function `MQRspec_n ewFrame': d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:248: undefined reference to `_imp__pthread_m utex_lock' d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:254: undefined reference to `_imp__pthread_m utex_unlock' d:/BTC/Dev/qrencode-3.4.3/.libs/libqrencode.a(mqrspec.o): In function `MQRspec_c learCache': d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:271: undefined reference to `_imp__pthread_m utex_lock' d:\BTC\Dev\qrencode-3.4.3/mqrspec.c:278: undefined reference to `_imp__pthread_m utex_unlock' collect2.exe: error: ld returned 1 exit status make[1]: *** [qt/bitcoin-qt.exe] Error 1 make[1]: Leaving directory `/d/btc/dev/bitcoin-master/src' make: *** [all-recursive] Error 1
how to fix ? Try to compare and if needed change this variables in files on first page of this topic: QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4 QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
|
|
|
|
rh1n0
Newbie
Offline
Activity: 59
Merit: 0
|
|
August 15, 2014, 07:11:18 PM |
|
I am getting this error when launching my wallet. The program can't start because libwinpthread-1.dll is missing from your computer. Try reinstalling the program to fix this problem. http://www.absoluteefficiency.com/images/cat/catcoin_wallet_build_windows.pdfThey fixed the problem here by adding -lpthread to LIBS variable in Makefile.Release but this did not work for me. Has anyone else experienced this? The qt-wallet runs fine on my VM (windows xp 32-bit) but I get this error when launching wallet from my PC (windows 7 64-bit).
|
|
|
|
nitrogenetics (OP)
|
|
August 15, 2014, 10:51:59 PM |
|
You can ship libwinpthread-1.dll along with the executable or compile a statically linked executable by adding the -static flag to QMAKE_LFLAGS, eg: win32:QMAKE_LFLAGS *= -Wl,--large-address-aware -static
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
rh1n0
Newbie
Offline
Activity: 59
Merit: 0
|
|
August 16, 2014, 12:03:45 AM |
|
You can ship libwinpthread-1.dll along with the executable or compile a statically linked executable by adding the -static flag to QMAKE_LFLAGS, eg: win32:QMAKE_LFLAGS *= -Wl,--large-address-aware -static
Thanks
|
|
|
|
ledmaniak
|
|
August 17, 2014, 12:30:38 PM |
|
Trying to compile an alt coin using this guide. When I build altcoind.exe it works without error(although the exe crashes when I try altcoin.exe -daemon) but building the Qt fails big time. Does anyone know what this means: duplicate section `.rdata [...] libboost_program_options-mgw49-mt-s-1_55,a(cmdline.o) has different size I can hardly find any information on google..
|
Bitcoin: 1Cxi8BLvScSm1mW6kjb5MNeJZPrvAiYL6B Litecoin: LLmjtrrq1ZeD51NSUJ8VanuQduW8Ma3jrs
|
|
|
|
|