Bitcoin Forum
September 07, 2024, 09:31:22 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: [ANN] EasyWinBuilder - The Easy Way to Build Bitcoin on Windows 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
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...
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!