Bitcoin Forum
June 24, 2024, 04:04:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
Author Topic: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows  (Read 50066 times)
altcoinex
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


Director - www.cubeform.io


View Profile WWW
March 27, 2014, 07:32:31 PM
 #161

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/


                                     ╓╢╬╣╣╖
                                   ┌║██████║∩
                                   ]█████████
                                    ╜██████╝`
                                      ╙╜╜╜`
                                   ╓╥@@@@@@╥╓
         ╓╖@@╖,                 ,@║██████████╢@,                 ,╓@@╖╓
       ╓╢██████╢.              ╓╢███████████████╖               ║╢█████║╓
       ║█████████    ,,╓╓,,   ┌║█████████████████┐   ,,╓╓,,    ]█████████
       └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖  ║███████╜
         "╜╜╜╜` ╖╢█████████╣╜                      └╢██████████@ `╜╜╜╜╜
               ║██████████╜                          ╙╢██████████
              ┌█████████╜                              ╙╢█████████
              └███████╨`                                 ╜████████
               ║████╨╜                                    `╢█████
                ╙╢╣╜                                        └╢█╜
                ,,                                            ,,
             ╓@║██┐                                          ┌██║@╓
            ╢██████                                          ]█████H
           ╢███████∩                                        ┌████████
  ╓@@@@╓   █████████                                        ║████████`  ╓@@@@╖
╓╢██████║. █████████∩                                      ┌█████████ ,║███████╖
██████████ └█████████                                      ██████████ ]█████████
`║██████╜`  └╢████████                                    ┌███████╣╜   ╙██████╨`
  `╙╜╜╙`      `╙╨╢████                                    █████╝╜`       `╙╜╜`
                      ]@╓                              ╓╖H
                      ███╢║@╓,                    ,╓@╢╢███`
                      ████████╢@╖╓.           ╓╖@║████████`
                      ]███████████╢║@╓,  ,╓@╢╢████████████
                       ╙╢█████████████╨` ╜██████████████╜
                         ╙╝╢███████║╜`    `╜║████████╝╜`
                     ,╓@@@╓  `²╙``             `╙²`  ╓@@@╖,
                    ║╢█████╢H                      ╓╢██████H
                    █████████                      █████████`
                    ╙╢██████╜                      ╙╢██████╜
                      └╨╩╝┘                          └╨╩╝╜
WINFLOW.
██
██
██
██
██
██
██
██
██
██
██
██
██
..
██
██
██
██
██
██
██
██
██
██
██
██
██
.
baokychen
Full Member
***
Offline Offline

Activity: 280
Merit: 100


View Profile
March 28, 2014, 05:09:35 AM
 #162

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?
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
March 28, 2014, 11:02:55 AM
 #163

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?
For some scrypt coin I once had to modify the .pro (might also have to modify makefile.mingw for daemon):
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

NilamDoc
Member
**
Offline Offline

Activity: 76
Merit: 10


Bitcoin


View Profile
March 29, 2014, 04:19:30 AM
 #164

Were you able to compile bitcoin 0.9.0 using Easy Win Builder?

Development Only
baokychen
Full Member
***
Offline Offline

Activity: 280
Merit: 100


View Profile
March 29, 2014, 02:32:49 PM
 #165

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
: #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instea
d."
In file included from src\/schnorr.h:11:0,
                 from src\/hash.h:17,
                 from src\/net.h:22,
                 from src\rpcnet.cpp:6:
src\/cryptopp/osrng.h:43:0: warning: ignoring #pragma comment  [-Wunknown-pragma
s]
In file included from src\/compat.h:17:0,
                 from src\/netbase.h:11,
                 from src\/net.h:19,
                 from src\rpcnet.cpp:6:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/ws2tcpip.h:147:8: erro
r: redefinition of 'struct ip_mreq'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/winsock.h:315:8: error
: previous definition of 'struct ip_mreq'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/ws2tcpip.h:390:13: err
or: expected initializer before 'freeaddrinfo'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/ws2tcpip.h:391:12: err
or: expected initializer before 'getaddrinfo'
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/ws2tcpip.h:393:12: err
or: expected initializer before 'getnameinfo'
In file included from src\/cryptopp/pubkey.h:35:0,
                 from src\/cryptopp/eccrypto.h:7,
                 from src\/schnorr.h:12,
                 from src\/hash.h:17,
                 from src\/net.h:22,
                 from src\rpcnet.cpp:6:
src\/cryptopp/modarith.h: In copy constructor 'CryptoPP::ModularArithmetic::Modu
larArithmetic(const CryptoPP::ModularArithmetic&)':
src\/cryptopp/modarith.h:29:2: warning: base class 'class CryptoPP::AbstractRing
<CryptoPP::Integer>' should be explicitly initialized in the copy constructor [-
Wextra]
In file included from src\/cryptopp/simple.h:10:0,
                 from src\/cryptopp/filters.h:6,
                 from src\/cryptopp/randpool.h:5,
                 from src\/cryptopp/osrng.h:10,
                 from src\/schnorr.h:11,
                 from src\/hash.h:17,
                 from src\/net.h:22,
                 from src\rpcnet.cpp:6:
src\/cryptopp/misc.h: In function 'std::string CryptoPP::IntToString(T, unsigned
 int) [with T = unsigned int, std::string = std::basic_string<char>]':
src\/cryptopp/simple.h:35:128:   instantiated from here
src\/cryptopp/misc.h:414:2: warning: comparison of unsigned expression < 0 is al
ways false [-Wtype-limits]
Makefile.Release:3231: recipe for target 'build/rpcnet.o' failed
mingw32-make: *** [build/rpcnet.o] Error 1
CryptoKiller
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
March 29, 2014, 07:43:10 PM
 #166

anyone have a solution for the crash on close and debug window?
Apocalipsis
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
March 31, 2014, 01:30:49 PM
 #167

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?
CryptoKiller
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
March 31, 2014, 06:23:29 PM
 #168

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.
Jasmein
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
April 08, 2014, 03:51:24 PM
 #169

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

Apocalipsis
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
April 08, 2014, 07:48:05 PM
 #170

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
altcoinex
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


Director - www.cubeform.io


View Profile WWW
April 09, 2014, 07:02:32 PM
 #171

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.


                                     ╓╢╬╣╣╖
                                   ┌║██████║∩
                                   ]█████████
                                    ╜██████╝`
                                      ╙╜╜╜`
                                   ╓╥@@@@@@╥╓
         ╓╖@@╖,                 ,@║██████████╢@,                 ,╓@@╖╓
       ╓╢██████╢.              ╓╢███████████████╖               ║╢█████║╓
       ║█████████    ,,╓╓,,   ┌║█████████████████┐   ,,╓╓,,    ]█████████
       └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖  ║███████╜
         "╜╜╜╜` ╖╢█████████╣╜                      └╢██████████@ `╜╜╜╜╜
               ║██████████╜                          ╙╢██████████
              ┌█████████╜                              ╙╢█████████
              └███████╨`                                 ╜████████
               ║████╨╜                                    `╢█████
                ╙╢╣╜                                        └╢█╜
                ,,                                            ,,
             ╓@║██┐                                          ┌██║@╓
            ╢██████                                          ]█████H
           ╢███████∩                                        ┌████████
  ╓@@@@╓   █████████                                        ║████████`  ╓@@@@╖
╓╢██████║. █████████∩                                      ┌█████████ ,║███████╖
██████████ └█████████                                      ██████████ ]█████████
`║██████╜`  └╢████████                                    ┌███████╣╜   ╙██████╨`
  `╙╜╜╙`      `╙╨╢████                                    █████╝╜`       `╙╜╜`
                      ]@╓                              ╓╖H
                      ███╢║@╓,                    ,╓@╢╢███`
                      ████████╢@╖╓.           ╓╖@║████████`
                      ]███████████╢║@╓,  ,╓@╢╢████████████
                       ╙╢█████████████╨` ╜██████████████╜
                         ╙╝╢███████║╜`    `╜║████████╝╜`
                     ,╓@@@╓  `²╙``             `╙²`  ╓@@@╖,
                    ║╢█████╢H                      ╓╢██████H
                    █████████                      █████████`
                    ╙╢██████╜                      ╙╢██████╜
                      └╨╩╝┘                          └╨╩╝╜
WINFLOW.
██
██
██
██
██
██
██
██
██
██
██
██
██
..
██
██
██
██
██
██
██
██
██
██
██
██
██
.
CryptoKiller
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
April 11, 2014, 01:14:32 PM
 #172

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!
cyrilbf
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile
May 09, 2014, 08:52:31 AM
 #173

Hello I wanted to know if there aurrai a solution to compile the daemon litecoin with this software?
thank you in advance

KaChingCoinDev
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 09, 2014, 06:32:55 PM
 #174

Code:
Guys, when putting in error's use the /code instead of /quote ;)
anglebaby87
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
May 12, 2014, 01:15:52 PM
 #175

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.
good work

CoolCoin -Forever Free IPO. CHKtvnfSDTQpewKAh9sCPqkmvjfJiKPeW7
Abala
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 17, 2014, 05:57:28 PM
 #176

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
building qt - qmake...
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.


building qt - make...

C:\megacoin>mingw32-make -f Makefile.Release
g++ -c -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wn
o-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -O2 -f
rtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wf
ormat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOS
T_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1
 -DWIN32 -DWIN32_LEAN_AND_MEAN -D_MT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_H
AVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I'../Qt/4.8.5/include/
QtCore' -I'../Qt/4.8.5/include/QtNetwork' -I'../Qt/4.8.5/include/QtGui' -I'../Qt
/4.8.5/include' -I'src' -I'src/json' -I'src/qt' -I'libs/miniupnpc-1.8' -I'src/le
veldb/include' -I'src/leveldb/helpers' -I'libs/boost_1_54_0' -I'libs/db-4.8.30.N
C/build_unix' -I'libs/openssl-1.0.1e/include' -I'../Qt/4.8.5/include/ActiveQt' -
I'build' -I'build' -I'../Qt/4.8.5/mkspecs/win32-g++' -o build/net.o src/net.cpp
In file included from libs/boost_1_54_0/boost/bind/bind.hpp:29:0,
                 from libs/boost_1_54_0/boost/bind.hpp:22,
                 from libs/boost_1_54_0/boost/thread/detail/thread.hpp:29,
                 from libs/boost_1_54_0/boost/thread/thread_only.hpp:22,
                 from libs/boost_1_54_0/boost/thread/thread.hpp:12,
                 from libs/boost_1_54_0/boost/thread.hpp:13,
                 from src/util.h:25,
                 from src/bignum.h:14,
                 from src/main.h:12,
                 from src/db.h:10,
                 from src/net.cpp:9:
libs/boost_1_54_0/boost/bind/arg.hpp: In constructor 'boost::arg<I>::arg(const T
&)':
libs/boost_1_54_0/boost/bind/arg.hpp:37:22: warning: typedef 'T_must_be_placehol
der' locally defined but not used [-Wunused-local-typedefs]
         typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -
1 ];
                      ^
In file included from libs/boost_1_54_0/boost/tuple/tuple.hpp:33:0,
                 from libs/boost_1_54_0/boost/thread/detail/async_func.hpp:37,
                 from libs/boost_1_54_0/boost/thread/future.hpp:22,
                 from libs/boost_1_54_0/boost/thread.hpp:24,
                 from src/util.h:25,
                 from src/bignum.h:14,
                 from src/main.h:12,
                 from src/db.h:10,
                 from src/net.cpp:9:
libs/boost_1_54_0/boost/tuple/detail/tuple_basic.hpp: In function 'typename boos
t::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<
HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT
>&)':
libs/boost_1_54_0/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef 'c
ons_element' locally defined but not used [-Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
In file included from libs/boost_1_54_0/boost/thread/shared_mutex.hpp:18:0,
                 from libs/boost_1_54_0/boost/thread/detail/thread_group.hpp:9,
                 from libs/boost_1_54_0/boost/thread/thread.hpp:13,
                 from libs/boost_1_54_0/boost/thread.hpp:13,
                 from src/util.h:25,
                 from src/bignum.h:14,
                 from src/main.h:12,
                 from src/db.h:10,
                 from src/net.cpp:9:
libs/boost_1_54_0/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T bo
ost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::share
d_mutex::state_data]':
libs/boost_1_54_0/boost/thread/win32/shared_mutex.hpp:124:103:   required from h
ere
libs/boost_1_54_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: dereferenc
ing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                                                               *reinterpret_cast
<long*>(&comparand));

                   ^
libs/boost_1_54_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: dereferenc
ing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libs/boost_1_54_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: dereferenc
ing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             return *reinterpret_cast<T const*>(&res);
                                                    ^
libs/boost_1_54_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: dereferenc
ing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
c:/Qt/4.8.5/bin/rcc.exe -name bitcoin src/qt/bitcoin.qrc -o release/qrc_bitcoin.
cpp
g++ -c -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wn
o-unused-value -Wno-sign-compare -Wno-strict-aliasing -D_FORTIFY_SOURCE=2 -O2 -f
rtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wf
ormat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOS
T_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1
 -DWIN32 -DWIN32_LEAN_AND_MEAN -D_MT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_H
AVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I'../Qt/4.8.5/include/
QtCore' -I'../Qt/4.8.5/include/QtNetwork' -I'../Qt/4.8.5/include/QtGui' -I'../Qt
/4.8.5/include' -I'src' -I'src/json' -I'src/qt' -I'libs/miniupnpc-1.8' -I'src/le
veldb/include' -I'src/leveldb/helpers' -I'libs/boost_1_54_0' -I'libs/db-4.8.30.N
C/build_unix' -I'libs/openssl-1.0.1e/include' -I'../Qt/4.8.5/include/ActiveQt' -
I'build' -I'build' -I'../Qt/4.8.5/mkspecs/win32-g++' -o build/qrc_bitcoin.o rele
ase/qrc_bitcoin.cpp
g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads
-Wl,-subsystem,windows -o release/megacoin-qt.exe object_script.whitegoldco
in-qt.Release  -L'c:/Qt/4.8.5/lib' -lmingwthrd -lmingw32 -lqtmain build/whitegol
dcoin-qt_res.o -Llibs/miniupnpc-1.8 -lminiupnpc -liphlpapi C:/megacoin/src/
leveldb/libleveldb.a C:/megacoin/src/leveldb/libmemenv.a -lshlwapi -Llibs/b
oost_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 -lgdi3
2 -lboost_system-mgw48-mt-1_54 -lboost_filesystem-mgw48-mt-1_54 -lboost_program_
options-mgw48-mt-1_54 -lboost_thread-mgw48-mt-1_54 -lboost_chrono-mgw48-mt-1_54
-lQtGui4 -lQtNetwork4 -lQtCore4
./build/bitcoingui.o:bitcoin.cpp:(.text+0xd00): multiple definition of `qMain(in
t, char**)'
./build/bitcoin.o:bitcoin.cpp:(.text+0xd00): first defined here
./build/bitcoin.o:bitcoin.cpp:(.text+0x2eba): undefined reference to `BitcoinGUI
::BitcoinGUI(bool, QWidget*)'
./build/bitcoin.o:bitcoin.cpp:(.text+0x2f74): undefined reference to `BitcoinGUI
::~BitcoinGUI()'
./build/bitcoin.o:bitcoin.cpp:(.text+0x32dd): undefined reference to `BitcoinGUI
::setClientModel(ClientModel*)'
./build/bitcoin.o:bitcoin.cpp:(.text+0x3311): undefined reference to `BitcoinGUI
::addWallet(QString const&, WalletModel*)'
./build/bitcoin.o:bitcoin.cpp:(.text+0x3355): undefined reference to `BitcoinGUI
::setCurrentWallet(QString const&)'
./build/bitcoin.o:bitcoin.cpp:(.text+0x347e): undefined reference to `BitcoinGUI
::setClientModel(ClientModel*)'
./build/bitcoin.o:bitcoin.cpp:(.text+0x3488): undefined reference to `BitcoinGUI
::removeAllWallets()'
./build/bitcoin.o:bitcoin.cpp:(.text+0x34c6): undefined reference to `BitcoinGUI
::~BitcoinGUI()'
./build/bitcoin.o:bitcoin.cpp:(.text+0x3562): undefined reference to `BitcoinGUI
::~BitcoinGUI()'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: ./build/bi
tcoin.o: bad reloc address 0x2 in section `.text$_ZN5boost16exception_detail10cl
one_baseD1Ev[__ZN5boost16exception_detail10clone_baseD1Ev]'
collect2.exe: error: ld returned 1 exit status
Makefile.Release:281: recipe for target 'release/megacoin-qt.exe' failed
mingw32-make: *** [release/megacoin-qt.exe] Error 1




Appuyez sur une touche pour continuer...
mjw1201
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 12, 2014, 03:50:09 AM
 #177

Maybe I am just lost.....

Everything ran smooth and completed....Now what...

I feel like I have no idea where to go from here.
Klaasje
Legendary
*
Offline Offline

Activity: 1080
Merit: 1000

BTC - 14ZVqS5UGqhY77d5u9aUSW24ipRJ2g9wmm


View Profile
May 31, 2015, 10:10:47 PM
 #178

Hi,
Does this work on other sources as well?
Gr

Bitcoin - 14ZVqS5UGqhY77d5u9aUSW24ipRJ2g9wmm
phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
July 07, 2015, 09:45:45 AM
 #179

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

phelix (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
July 07, 2015, 10:03:42 AM
 #180

Finally a new version is out. Looking for testers.  Smiley
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!