bronan
|
|
February 12, 2015, 10:41:53 PM |
|
Thank you sir very nice and complete guide, very helpfull especially for such a old geezer like me who forget todo some things like install the needed packages and constant grumbles when he forgot anything again
|
|
|
|
altcoinex
|
|
February 24, 2015, 10:06:17 PM |
|
i had pkg installed earlier as i did it with gpuminer. (copy paste bin/share folders) now installed pkg again as you told above and now there is one error line less.. but still this: ./configure: line 21247: syntax error near unexpected token `QTPLATFORM,' ./configure: line 21247: ` PKG_CHECK_MODULES(QTPLATFORM, Qt5PlatformSuppo rt, QT_LIBS="$QTPLATFORM_LIBS $QT_LIBS")' edit, solved to mingw32 folder: ************************ ** Install pkg-config ** ************************ 1. Visit http://www.gtk.org/download/win32.php2. Search for a version of pkg-config that includes both the Tool and Dev downloads 3. Click and download both the Tool link and the Dev link 4. Open the pkg-config zip file and extract the bin folder to C:\mingw32 5. Open the pkg-config-dev zip file and extract the share folder to C:\mingw32 pkg-config-lite worked fine for me, did you re-run autogen.sh after installing? Got this error with the newest build The share and bin folders from pkg-config and pkg-config-dev to either the mingw32 or mingw base directories did not work, but installing pkg-config-lite did for me.
|
╓╢╬╣╣╖ ┌║██████║∩ ]█████████ ╜██████╝` ╙╜╜╜` ╓╥@@@@@@╥╓ ╓╖@@╖, ,@║██████████╢@, ,╓@@╖╓ ╓╢██████╢. ╓╢███████████████╖ ║╢█████║╓ ║█████████ ,,╓╓,, ┌║█████████████████┐ ,,╓╓,, ]█████████ └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖ ║███████╜ "╜╜╜╜` ╖╢█████████╣╜ └╢██████████@ `╜╜╜╜╜ ║██████████╜ ╙╢██████████ ┌█████████╜ ╙╢█████████ └███████╨` ╜████████ ║████╨╜ `╢█████ ╙╢╣╜ └╢█╜ ,, ,, ╓@║██┐ ┌██║@╓ ╢██████ ]█████H ╢███████∩ ┌████████ ╓@@@@╓ █████████ ║████████` ╓@@@@╖ ╓╢██████║. █████████∩ ┌█████████ ,║███████╖ ██████████ └█████████ ██████████ ]█████████ `║██████╜` └╢████████ ┌███████╣╜ ╙██████╨` `╙╜╜╙` `╙╨╢████ █████╝╜` `╙╜╜` ]@╓ ╓╖H ███╢║@╓, ,╓@╢╢███` ████████╢@╖╓. ╓╖@║████████` ]███████████╢║@╓, ,╓@╢╢████████████ ╙╢█████████████╨` ╜██████████████╜ ╙╝╢███████║╜` `╜║████████╝╜` ,╓@@@╓ `²╙`` `╙²` ╓@@@╖, ║╢█████╢H ╓╢██████H █████████ █████████` ╙╢██████╜ ╙╢██████╜ └╨╩╝┘ └╨╩╝╜ | WINFLOW | . | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
| . | | . | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
| . | |
|
|
|
tzpardi
Member
Offline
Activity: 66
Merit: 10
|
|
February 25, 2015, 02:42:41 AM |
|
Thanks for this great guide and thread!
|
|
|
|
dscotese
|
|
March 01, 2015, 10:25:10 PM Last edit: March 04, 2015, 08:01:22 PM by dscotese |
|
Nitro, you rock. May I humbly suggest that you add a link to new revision entries as you add them at the bottom of OP pointing to the last message in the thread that was incorporated into OP (currently https://bitcointalk.org/index.php?topic=149479.msg10397539#msg10397539) so that newcomers who know enough can jump to that part of the thread and read any new discussion that happened since your update. Meanwhile, I am reading through this entire thread. Edited link to latest post incorporated into OP
|
|
|
|
coinerer
|
|
March 03, 2015, 10:59:02 AM |
|
Did anybody successfully compile bitcoin-v10 with Qt5.4.1 or Qt5.4.0 using mingw4.9.2 or mingw4.9.1 for Windows?
|
|
|
|
dscotese
|
|
March 04, 2015, 08:24:19 PM Last edit: March 05, 2015, 05:29:10 AM by dscotese |
|
I have finished compiling 0.9.4 and wanted to provide some input - Recommend a VM with a disk large enough to hold the blockchain (20GB, plus future needs...) plus the recommended OS. You can always add a disk later, but it's nice if it's all set up beforehand.
- I read somewhere that in order to run Windows in VirtualBox, you need a separate Product Key. I bought a new key for Windows 8.1 from MS for $200, but if anyone has found a way to use the same key for the host and the guest, that would be nice to know.
- This was a fresh install of MinGW Installation Manager (MIM), but several packages showed up as installed when it was done. Other than the four Nitro mentioned, there are some other packages that I had to install through MIM:
- msys-bash.bin
- msys-perl.bin
- msys-sed.bin
- msys-tar.bin
- msys-m4.bin
- In step 2.5, when unpacking the file I got for protobuf, tar complained that "Archive value 109965 is out of uid_t range 0..65535". After examining one of the files it extracted, I decided to ignore the error and have not seen any problems.
- ./autoconf.sh generated an error saying that autom4te requires m4 version 1.4 or later. I downloaded the source for M4 and compiled it. THIS IS A MISTAKE. MSYS needs programs that are aware of MSYS. The correct solution is to use MIM to get the msys-m4 package installed (from MSYS Base System).
- (I havent tried 0.10 yet, but in 0.9.4,) share/genbuild.sh, line 19, has "$(git rev-parse --is-inside-work-tree 2>/dev/null)" in it, but it wasn't in quotes, and this caused bash to report "Too many arguments" for the test ([ ... ]) command. There are some references to the fix (add the quotes) on the Internet.
- Only if you're compiling a version before 0.10, as 0.10 uses an even faster blockchain download strategy ("headers first") than torrent, consider using Jeff Garzick's torrent (https://bitcointalk.org/index.php?topic=145386.0) to bootstrap your copy of the blockchain.
|
|
|
|
|
lin0sspice
Legendary
Offline
Activity: 1190
Merit: 1002
|
|
March 06, 2015, 12:06:36 AM |
|
I just use litecoin 0.8.6 to create cheesecoin. So i get stuck in last step Can you take a look into it I can upload it
|
|
|
|
◆ Website ◆ Whitepaper ◆ Discord | ░░░█░░░░░░░░░░░░░░░░░░░░░░█░░░ ░░██░░░░░░░░░░░░░░░░░░░░░░██░░ ░███░░░░░░░░░░░░░░░░░░░░░░███░ ████░░░░░░░░░░░░░░░░░░░░░░████ ███░░░░░░░░░░░░░░░░░░░░░░░░███ ███░░░░░░░░░░░▄▄░░░░░░░░░░░███ ███░░░░░░░░░░▄██▄░░░░░░░░░░███ ███░░░░░░░░▄██████▄░░░░░░░░███ ███▄░░░░░░▄████████▄░░░░░░▄███ ████░░░░░▄██████████▄░░░░░████ ████░░░░▄████████████▄░░░░████ ░██████░░▀██████████▀░░███████ ░███████░░░▀██████▀░░░████████ ░████████▄░░░▀██▀░░░▄████████░ ░█████████▄░░░░░░░░▄███████░░░ ░░█████████▄░░░░░░▄███████░░░░ ░░░░██████████▄▄████████░░░░░░ ░░░░░░████████████████░░░░░░░░ ░░░░░░░██████████████░░░░░░░░░ ░░░░░░░░░██████████░░░░░░░░░░░ | | ░░░█░░░░░░░░░░░░░░░░░░░░░░█░░░ ░░██░░░░░░░░░░░░░░░░░░░░░░██░░ ░███░░░░░░░░░░░░░░░░░░░░░░███░ ████░░░░░░░░░░░░░░░░░░░░░░████ ███░░░░░░░░░░░░░░░░░░░░░░░░███ ███░░░░░░░░░░░▄▄░░░░░░░░░░░███ ███░░░░░░░░░░▄██▄░░░░░░░░░░███ ███░░░░░░░░▄██████▄░░░░░░░░███ ███▄░░░░░░▄████████▄░░░░░░▄███ ████░░░░░▄██████████▄░░░░░████ ████░░░░▄████████████▄░░░░████ ░██████░░▀██████████▀░░███████ ░███████░░░▀██████▀░░░████████ ░████████▄░░░▀██▀░░░▄████████░ ░█████████▄░░░░░░░░▄███████░░░ ░░█████████▄░░░░░░▄███████░░░░ ░░░░██████████▄▄████████░░░░░░ ░░░░░░████████████████░░░░░░░░ ░░░░░░░██████████████░░░░░░░░░ ░░░░░░░░░██████████░░░░░░░░░░░ | ◆ Latest News ◆ Twitter ◆ Telegram |
[/tab
|
|
|
fsb4000
Legendary
Offline
Activity: 1400
Merit: 1000
|
|
March 06, 2015, 12:26:32 AM |
|
I just use litecoin 0.8.6 to create cheesecoin. So i get stuck in last step Can you take a look into it I can upload it sure, I can, give me the link
|
|
|
|
Mr_KrzYch00
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 06, 2015, 02:35:39 AM Last edit: March 10, 2015, 10:52:01 PM by Mr_KrzYch00 |
|
GREAT TUTORIAL!Right now have Bitcoin-qt 32bit running on Windows 8.1 x64, built using Windows 10 Technical Preview Edition in VirtualBox. Small change I did was to use openssl-1.0.1k and libpng-1.16.17rc01. Will try to go for x64 later. Did anybody successfully compile bitcoin-v10 with Qt5.4.1 or Qt5.4.0 using mingw4.9.2 or mingw4.9.1 for Windows?
I tried. Unfortunatelly bitcoin configure errors at -qtaccessiblewidgets, so it will compile without QT or fail to configure when --with-gui=qt5 to configure is passed. All other Qt checks seem fine, just this one fails so there must've been some change. Also configure.bat needs commenting out of this line: :: if not exist %QTSRC%\.gitignore goto sconfand these lines: :: C:\MinGW\msys\1.0\bin :: if "%perl.exe%" == "" ( :: echo Perl not found in PATH. Aborting. >&2 :: exit /b 1 :: )to properly generate configure.exe file and compile Qt 5.4.1. I may play with it a bit when I feel like it and have spare time, but the top priority was to make at least x86 v to compile using guide steps. (: EDIT: I got into editing sourcecode mode more than actual compiling of new Qt or x64 version (github updates it pretty often to be concerned with it). Made myself version that has disabled checks for insufficient fee/priority, too high fee, broadcasting double-spents (partial implementation based on Bitcoin XT) and additional command: addnode IP:port ban, to ban a node similar way as if it was misbehaving (addnode ip:port remove does not disconnects the node You added by mistake, but I though that including ban&disconnect in one command was better).
|
|
|
|
|
dscotese
|
|
March 18, 2015, 04:24:02 PM |
|
Describe what you did. For example, did you compile the source you got before altering it, or did you make changes and then compile? Where did you get the source? The dir name at the end suggests that you aren't working on Bitcoin-qt, but MillenniumCoin. Maybe there's a topic somewhere that is specific to that altcoin and the folks there can be of more help.
|
|
|
|
MystPhysX
|
|
March 18, 2015, 04:26:20 PM |
|
Describe what you did. For example, did you compile the source you got before altering it, or did you make changes and then compile? Where did you get the source? The dir name at the end suggests that you aren't working on Bitcoin-qt, but MillenniumCoin. Maybe there's a topic somewhere that is specific to that altcoin and the folks there can be of more help. Oh hey thanks for responding. So all me deps were setup by following the OP. The .pro file was amended, with the only changes being the dep directories and the static flags. I can't really see any major errors in the output but if anyone could pinpoint the compile breaking error I would be able to take it from there.
|
|
|
|
dscotese
|
|
March 18, 2015, 04:43:34 PM |
|
Describe what you did. For example, did you compile the source you got before altering it, or did you make changes and then compile? Where did you get the source? The dir name at the end suggests that you aren't working on Bitcoin-qt, but MillenniumCoin. Maybe there's a topic somewhere that is specific to that altcoin and the folks there can be of more help. Oh hey thanks for responding. So all me deps were setup by following the OP. The .pro file was amended, with the only changes being the dep directories and the static flags. I can't really see any major errors in the output but if anyone could pinpoint the compile breaking error I would be able to take it from there. I bet it's one of the static flags changes. Which ones did you change, and did you compile it without changing the flags, but with the changed dep directories? I'm starting up my VM to check it out, so forgive me if what I wrote doesn't make sense.
|
|
|
|
MystPhysX
|
|
March 18, 2015, 04:45:19 PM |
|
Describe what you did. For example, did you compile the source you got before altering it, or did you make changes and then compile? Where did you get the source? The dir name at the end suggests that you aren't working on Bitcoin-qt, but MillenniumCoin. Maybe there's a topic somewhere that is specific to that altcoin and the folks there can be of more help. Oh hey thanks for responding. So all me deps were setup by following the OP. The .pro file was amended, with the only changes being the dep directories and the static flags. I can't really see any major errors in the output but if anyone could pinpoint the compile breaking error I would be able to take it from there. I bet it's one of the static flags changes. Which ones did you change, and did you compile it without changing the flags, but with the changed dep directories? I'm starting up my VM to check it out, so forgive me if what I wrote doesn't make sense. So I added static to QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1 -static Let me quickly try compiling it without the static flag. *edit - Similar error.
|
|
|
|
fsb4000
Legendary
Offline
Activity: 1400
Merit: 1000
|
|
March 18, 2015, 07:35:43 PM |
|
MystPhysX, Sorry, but could you write the error? I can not find the error among warnings ...
|
|
|
|
sp00lin9
|
|
March 20, 2015, 05:46:03 AM |
|
g++ -c -pipe -fno-keep-inline-dllexport -msse2 -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_SP IRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTE M_INCLUDES -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT _NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SS E -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\Qt\4.8.6\include\QtC ore" -I"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4. 8.6\include" -I"src" -I"src\json" -I"src\qt" -I"..\deps" -I"..\deps\boost_1_55_0 " -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\openssl-1.0.1j\include" -I"..\Q t\4.8.6\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\qrcodedialog.o src\qt\qrcodedialog.cpp src\qt\qrcodedialog.cpp:12:22: fatal error: qrencode.h: No such file or director y #include <qrencode.h> ^ compilation terminated. Makefile.Release:2482: recipe for target 'build/qrcodedialog.o' failed mingw32-make: *** [build/qrcodedialog.o] Error 1
im so close! i just cant get qrencode to build correctly so i get this error ]:
|
|
|
|
fsb4000
Legendary
Offline
Activity: 1400
Merit: 1000
|
|
March 20, 2015, 12:29:02 PM |
|
sp00lin9, did you do paragraph 2.6? 2.6 qrencode: Download and unpack http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz inside your deps folder then configure and make: cd /c/deps/libpng-1.6.16 configure --disable-shared make cp .libs/libpng16.a .libs/libpng.a
Download and unpack http://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz inside your deps folder then configure and make: cd /c/deps/qrencode-3.4.4
LIBS="../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a" \ png_CFLAGS="-I../libpng-1.6.16" \ png_LIBS="-L../libpng-1.6.16/.libs" \ configure --enable-static --disable-shared --without-tools
make
|
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
March 20, 2015, 12:33:21 PM Last edit: March 25, 2015, 11:38:37 AM by YarkoL |
|
Getting a clean compile, but an executable that crashes with the following error:
"EXCEPTION: N5boost10filesystem16filesystem_errorE boost::filesystem::status: The operation completed successfully: "C: \Users\Deacon\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Mooncoin.lnk" C:\deps\mooncoin\release\mooncoin-qt.exe in Runaway exception"
Any ideas or suggestions?
I'm too getting this now. What to do? This stuff is driving me batty. EDIT 2: the exception is thrown by Boost's filesystem::exists and ::remove functions. I've no idea what causes it to break havoc on some builds and not on others... I tried with Boost 1.55 and 1.57 and both gave the same result. In this particular case got around it by putting try-catch statements around the problematic lines, but it can avoided also by using non-throwing overloaded functions of the same name.
|
“God does not play dice"
|
|
|
sp00lin9
|
|
March 20, 2015, 11:32:53 PM |
|
sp00lin9, did you do paragraph 2.6? 2.6 qrencode: Download and unpack http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz inside your deps folder then configure and make: cd /c/deps/libpng-1.6.16 configure --disable-shared make cp .libs/libpng16.a .libs/libpng.a
Download and unpack http://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz inside your deps folder then configure and make: cd /c/deps/qrencode-3.4.4
LIBS="../libpng-1.6.16/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a" \ png_CFLAGS="-I../libpng-1.6.16" \ png_LIBS="-L../libpng-1.6.16/.libs" \ configure --enable-static --disable-shared --without-tools
make
Yes but it never built correctly, i just reinstalled & was able to get past that error. on to the next one lol : release\shitcoin-qt.exe object_script.shitcoin-qt.Release -L"c:\Qt\4.8.6\lib" - lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -lqrencode -LC:/deps/miniup npc -lminiupnpc -liphlpapi -LC:/deps/boost_1_55_0/stage/lib -LC:/deps/db-4.8.30. NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4.4/.libs -lssl -lcr ypto -ldb_cxx -lshlwapi -lmswsock -lboost_system-mgw49-mt-s-1_55 -lboost_filesys tem-mgw49-mt-s-1_55 -lboost_program_options-mgw49-mt-s-1_55 -lboost_thread-mgw49 -mt-s-1_55 -lboost_chrono-mgw49-mt-s-1_55 -lQtGui -lQtNetwork -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lole32 -luuid -lws2_3 2 -ladvapi32 -lshell32 -luser32 -lkernel32 ./build\net.o:net.cpp:(.text+0x58e5): undefined reference to `_imp__upnpDiscover ' ./build\net.o:net.cpp:(.text+0x5922): undefined reference to `_imp__UPNP_GetVali dIGD' ./build\net.o:net.cpp:(.text+0x594e): undefined reference to `_imp__freeUPNPDevl ist' ./build\net.o:net.cpp:(.text+0x59e8): undefined reference to `_imp__UPNP_GetExte rnalIPAddress' ./build\net.o:net.cpp:(.text+0x5b15): undefined reference to `_imp__UPNP_AddPort Mapping' ./build\net.o:net.cpp:(.text+0x5b30): undefined reference to `_imp__strupnperror ' ./build\net.o:net.cpp:(.text+0x5c28): undefined reference to `_imp__strupnperror ' ./build\net.o:net.cpp:(.text+0x5ca0): undefined reference to `_imp__UPNP_DeleteP ortMapping' ./build\net.o:net.cpp:(.text+0x5cbf): undefined reference to `_imp__freeUPNPDevl ist' ./build\net.o:net.cpp:(.text+0x5cce): undefined reference to `_imp__FreeUPNPUrls ' ./build\net.o:net.cpp:(.text+0x5d13): undefined reference to `_imp__FreeUPNPUrls ' C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: ./build\net.o: bad reloc address 0x17 in section `.text.unlikely' collect2.exe: error: ld returned 1 exit status Makefile.Release:307: recipe for target 'release\shitcoin-qt.exe' failed mingw32-make: *** [release\shitcoin-qt.exe] Error 1
|
|
|
|
|