Bitcoin Forum
May 08, 2024, 05:29:19 PM *
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 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 [37] 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
Author Topic: Building headless Bitcoin and Bitcoin-qt on Windows  (Read 419326 times)
iShade
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
September 01, 2014, 10:57:16 PM
 #721

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:
Quote
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.. Huh

Which alt-coin are you trying to compile? Have you checked all makefiles / qt.pro?
1715189359
Hero Member
*
Offline Offline

Posts: 1715189359

View Profile Personal Message (Offline)

Ignore
1715189359
Reply with quote  #2

1715189359
Report to moderator
1715189359
Hero Member
*
Offline Offline

Posts: 1715189359

View Profile Personal Message (Offline)

Ignore
1715189359
Reply with quote  #2

1715189359
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715189359
Hero Member
*
Offline Offline

Posts: 1715189359

View Profile Personal Message (Offline)

Ignore
1715189359
Reply with quote  #2

1715189359
Report to moderator
1715189359
Hero Member
*
Offline Offline

Posts: 1715189359

View Profile Personal Message (Offline)

Ignore
1715189359
Reply with quote  #2

1715189359
Report to moderator
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 01, 2014, 11:35:03 PM
 #722

Code:
In file included from ..\deps\boost/boost/tuple/tuple.hpp:33:0,
                 from src/serialize.h:18,
                 from src/netbase.h:10,
                 from src/net.h:18,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
..\deps\boost/boost/tuple/detail/tuple_basic.hpp: In function 'typename boost::tuples::access_traits<typename boost::tup
les::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)'
:
..\deps\boost/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef 'cons_element' locally defined but not used [-
Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
In file included from src/netbase.h:11:0,
                 from src/net.h:18,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
src/compat.h: At global scope:
src/compat.h:27:15: error: conflicting declaration 'typedef u_int SOCKET'
 typedef u_int SOCKET;
               ^
In file included from C:/mingw64/x86_64-w64-mingw32/include/winsock2.h:55:0,
                 from src/compat.h:14,
                 from src/netbase.h:11,
                 from src/net.h:18,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
C:/mingw64/x86_64-w64-mingw32/include/psdk_inc/_socket_types.h:11:18: note: previous declaration as 'typedef UINT_PTR SO
CKET'
 typedef UINT_PTR SOCKET;
                  ^
In file included from src/addrman.h:9:0,
                 from src/net.h:20,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
src/util.h:15:13: error: conflicting declaration 'typedef int pid_t'
 typedef int pid_t; /* define for Windows compatibility */
             ^
In file included from C:/mingw64/x86_64-w64-mingw32/include/pthread.h:64:0,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:35,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/gthr.h:148,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/ext/atomicity.h:35,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/bits/basic_string.h:39,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/string:52,
                 from ..\Qt\5.3.1\include/QtCore/../../src/corelib/tools/qstring.h:50,
                 from ..\Qt\5.3.1\include/QtCore/qstring.h:1,
                 from ..\Qt\5.3.1\include/QtCore/../../src/corelib/kernel/qobject.h:49,
                 from ..\Qt\5.3.1\include/QtCore/qobject.h:1,
                 from ..\Qt\5.3.1\include/QtWidgets/../../src/widgets/kernel/qwidget.h:46,
                 from ..\Qt\5.3.1\include/QtWidgets/qwidget.h:1,
                 from ..\Qt\5.3.1\include\QtWidgets/../../src/widgets/widgets/qmainwindow.h:45,
                 from ..\Qt\5.3.1\include\QtWidgets/qmainwindow.h:1,
                 from ..\Qt\5.3.1\include\QtWidgets/QMainWindow:1,
                 from src\qt\bitcoingui.h:4,
                 from src\qt\bitcoin.cpp:4:
C:/mingw64/x86_64-w64-mingw32/include/sys/types.h:68:16: note: previous declaration as 'typedef _pid_t pid_t'
 typedef _pid_t pid_t;
                ^
In file included from ..\deps\boost/boost/system/system_error.hpp:14:0,
                 from ..\deps\boost/boost/thread/exceptions.hpp:22,
                 from ..\deps\boost/boost/thread/win32/thread_primitives.hpp:16,
                 from ..\deps\boost/boost/thread/win32/basic_timed_mutex.hpp:14,
                 from ..\deps\boost/boost/thread/win32/mutex.hpp:9,
                 from ..\deps\boost/boost/thread/mutex.hpp:14,
                 from src/allocators.h:10,
                 from src\qt\walletmodel.h:8,
                 from src\qt\bitcoin.cpp:6:
..\deps\boost/boost/system/error_code.hpp:222:36: warning: 'boost::system::posix_category' defined but not used [-Wunuse
d-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
..\deps\boost/boost/system/error_code.hpp:223:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-va
riable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
..\deps\boost/boost/system/error_code.hpp:224:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-v
ariable]
     static const error_category &  native_ecat    = system_category();
                                    ^
Makefile.Release:17581: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1

Anyone have an idea how to beat that?
iShade
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
September 02, 2014, 12:23:09 AM
 #723



Which Boost version are you running? Also what are you trying to compile latest Bitcoin?
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 02, 2014, 04:55:48 PM
 #724



Which Boost version are you running? Also what are you trying to compile latest Bitcoin?

boost 1_55_0 and no it's for an altcoin.

barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 02, 2014, 05:17:24 PM
 #725

Can someone please just put load a file with all the dependencies for x64 already compiled, leaving only the paths to be set. 
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
September 02, 2014, 06:13:45 PM
 #726

Can someone please just put load a file with all the dependencies for x64 already compiled, leaving only the paths to be set. 
Hello ?

No pain, no gain as they say!  If you want all the libraries built for you, you might try this angle:
https://bitcointalk.org/index.php?topic=349094.0;all

And if you want what I think is the easiest way to make a bitcoind daemon for Windows, see my channel,
https://www.youtube.com/channel/UCytoaHvG3H1y9CnxZS819eQ/videos

The library building is the easiest part.  Done once and forget about it,  except for chasing OpenSSL updates Grin  But even that is easy!

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
ENikS
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 11, 2014, 04:35:41 AM
 #727

Hey guys

Sorry if this was already covered in this thread but I can’t really read all 37 pages.
I just created few scripts to build bitcoin on Windows with MinGW with latest openssl and boost 1.56
You don't need to deal with distribution files because all dependencies are git sub modules.

Not a big deal but perhaps someone could find it useful.

https://github.com/ENikS/bitcoin-dev-mingw
Kergekoin
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
September 11, 2014, 06:39:11 AM
 #728

Perhaps slightly off topic but perhaps someone could help me.

How to run python generate-seeds.py ?

https://github.com/bitcoin/bitcoin/blob/master/share/seeds/generate-seeds.py

When i run cmd command: "python generate-seeds.py" I get nothing but  "Usage: generate-seeds.py <path_to_nodes_txt>" printed on my screen. What am i missing?

Thanks!

******  NB! The links below are affiliate - friend type links, which bring additional benefits both, to you and me  ******
Binance - Best Crypto Trading Platform          CoinBase - Fastest way from FIAT to Crypto
Windscribe - The quickest and easyest way to secure and anonymize your internet traffic
ENikS
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 11, 2014, 11:21:04 PM
 #729

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?

Reading last few messages I am not sure if you ever fixed this issue but it looks like it has been reported here:
https://svn.boost.org/trac/boost/ticket/10325

Workaround is included as well...
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
September 12, 2014, 08:54:01 AM
 #730

did you bootstrap it to the specific mingw build, or is it laying around from a prior install of an earlier version...

that is an easy mistake to make....


Code:
In file included from ..\deps\boost/boost/tuple/tuple.hpp:33:0,
                 from src/serialize.h:18,
                 from src/netbase.h:10,
                 from src/net.h:18,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
..\deps\boost/boost/tuple/detail/tuple_basic.hpp: In function 'typename boost::tuples::access_traits<typename boost::tup
les::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)'
:
..\deps\boost/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef 'cons_element' locally defined but not used [-
Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
In file included from src/netbase.h:11:0,
                 from src/net.h:18,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
src/compat.h: At global scope:
src/compat.h:27:15: error: conflicting declaration 'typedef u_int SOCKET'
 typedef u_int SOCKET;
               ^
In file included from C:/mingw64/x86_64-w64-mingw32/include/winsock2.h:55:0,
                 from src/compat.h:14,
                 from src/netbase.h:11,
                 from src/net.h:18,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
C:/mingw64/x86_64-w64-mingw32/include/psdk_inc/_socket_types.h:11:18: note: previous declaration as 'typedef UINT_PTR SO
CKET'
 typedef UINT_PTR SOCKET;
                  ^
In file included from src/addrman.h:9:0,
                 from src/net.h:20,
                 from src/emessage.h:9,
                 from src\qt\messagemodel.h:8,
                 from src\qt\bitcoin.cpp:7:
src/util.h:15:13: error: conflicting declaration 'typedef int pid_t'
 typedef int pid_t; /* define for Windows compatibility */
             ^
In file included from C:/mingw64/x86_64-w64-mingw32/include/pthread.h:64:0,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:35,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/gthr.h:148,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/ext/atomicity.h:35,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/bits/basic_string.h:39,
                 from C:/mingw64/x86_64-w64-mingw32/include/c++/string:52,
                 from ..\Qt\5.3.1\include/QtCore/../../src/corelib/tools/qstring.h:50,
                 from ..\Qt\5.3.1\include/QtCore/qstring.h:1,
                 from ..\Qt\5.3.1\include/QtCore/../../src/corelib/kernel/qobject.h:49,
                 from ..\Qt\5.3.1\include/QtCore/qobject.h:1,
                 from ..\Qt\5.3.1\include/QtWidgets/../../src/widgets/kernel/qwidget.h:46,
                 from ..\Qt\5.3.1\include/QtWidgets/qwidget.h:1,
                 from ..\Qt\5.3.1\include\QtWidgets/../../src/widgets/widgets/qmainwindow.h:45,
                 from ..\Qt\5.3.1\include\QtWidgets/qmainwindow.h:1,
                 from ..\Qt\5.3.1\include\QtWidgets/QMainWindow:1,
                 from src\qt\bitcoingui.h:4,
                 from src\qt\bitcoin.cpp:4:
C:/mingw64/x86_64-w64-mingw32/include/sys/types.h:68:16: note: previous declaration as 'typedef _pid_t pid_t'
 typedef _pid_t pid_t;
                ^
In file included from ..\deps\boost/boost/system/system_error.hpp:14:0,
                 from ..\deps\boost/boost/thread/exceptions.hpp:22,
                 from ..\deps\boost/boost/thread/win32/thread_primitives.hpp:16,
                 from ..\deps\boost/boost/thread/win32/basic_timed_mutex.hpp:14,
                 from ..\deps\boost/boost/thread/win32/mutex.hpp:9,
                 from ..\deps\boost/boost/thread/mutex.hpp:14,
                 from src/allocators.h:10,
                 from src\qt\walletmodel.h:8,
                 from src\qt\bitcoin.cpp:6:
..\deps\boost/boost/system/error_code.hpp:222:36: warning: 'boost::system::posix_category' defined but not used [-Wunuse
d-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
..\deps\boost/boost/system/error_code.hpp:223:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-va
riable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
..\deps\boost/boost/system/error_code.hpp:224:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-v
ariable]
     static const error_category &  native_ecat    = system_category();
                                    ^
Makefile.Release:17581: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1

Anyone have an idea how to beat that?

Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
cinnamon_carter
Legendary
*
Offline Offline

Activity: 1148
Merit: 1018


It's about time -- All merrit accepted !!!


View Profile WWW
September 12, 2014, 08:58:30 AM
 #731

i thought boost 1_56_0 was not compatable ?

I suggest we  wait for nitrogenetics before trying that....

Hey guys

Sorry if this was already covered in this thread but I can’t really read all 37 pages.
I just created few scripts to build bitcoin on Windows with MinGW with latest openssl and boost 1.56
You don't need to deal with distribution files because all dependencies are git sub modules.

Not a big deal but perhaps someone could find it useful.

https://github.com/ENikS/bitcoin-dev-mingw


Check out my coin Photon
Merge Mine 5 other Blake 256 coins - 6x your hash power  https://www.blakecoin.org/

The obvious choice is not always the best choice.

LOOK DEEPER - Look into the Blake 256 Family -- CC
Kergekoin
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
September 12, 2014, 02:59:19 PM
 #732

Perhaps slightly off topic but perhaps someone could help me.

How to run python generate-seeds.py ?

https://github.com/bitcoin/bitcoin/blob/master/share/seeds/generate-seeds.py

When i run cmd command: "python generate-seeds.py" I get nothing but  "Usage: generate-seeds.py <path_to_nodes_txt>" printed on my screen. What am i missing?

Thanks!


OK, i figured it out myself by reading the error and the description given inside the script. It was confusing to say at least.
In order to run successfully, it needs a full path to those text files as a command line argument.

******  NB! The links below are affiliate - friend type links, which bring additional benefits both, to you and me  ******
Binance - Best Crypto Trading Platform          CoinBase - Fastest way from FIAT to Crypto
Windscribe - The quickest and easyest way to secure and anonymize your internet traffic
ftc-c
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
September 12, 2014, 04:01:44 PM
 #733

I am compiling bitcoin-0.9.3, I have some undefined reference about UPNP. But I had made miniupnpc-1.9.

make[3]: Entering directory `/D/BTC/Dev/bitcoin-0.9.3/src'
  CXXLD  bitcoind.exe
  libbitcoin_server.a(net.o): In function `Z13ThreadMapPortv':
d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1066: undefined reference to `_imp__upnpDiscover'
d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1073: undefined reference to `_imp__UPNP_GetValidIGD'
ENikS
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 12, 2014, 04:29:14 PM
 #734

i thought boost 1_56_0 was not compatable ?

I suggest we  wait for nitrogenetics before trying that....


If you are building it with VS, it builds and runs just fine.

Under MinGW it requires patch described in this bug report: https://svn.boost.org/trac/boost/ticket/10325

as4406
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
September 13, 2014, 03:30:15 AM
 #735

though i am interested in building this, i can see that you are really a nerd, nice!
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
September 13, 2014, 01:07:04 PM
 #736

I am compiling bitcoin-0.9.3, I have some undefined reference about UPNP. But I had made miniupnpc-1.9.

make[3]: Entering directory `/D/BTC/Dev/bitcoin-0.9.3/src'
  CXXLD  bitcoind.exe
  libbitcoin_server.a(net.o): In function `Z13ThreadMapPortv':
d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1066: undefined reference to `_imp__upnpDiscover'
d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1073: undefined reference to `_imp__UPNP_GetValidIGD'

Try using miniupnpc-1.9.20140610 or later, see https://github.com/bitcoin/bitcoin/commit/9f7f504efca27c7d390f121410846b45c1732761

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 15, 2014, 03:46:25 PM
Last edit: September 15, 2014, 04:03:42 PM by barwizi
 #737

Finally made some progress

but now i get stuck here EmbarrassedCode:
 obj/net.o: In function `ThreadMapPort2(void*)':
c:\NoirShares\src/net.cpp:1052: undefined reference to `__imp_upnpDiscover'
c:\NoirShares\src/net.cpp:1059: undefined reference to `__imp_UPNP_GetValidIGD'
c:\NoirShares\src/net.cpp:1129: undefined reference to `__imp_freeUPNPDevlist'
c:\NoirShares\src/net.cpp:1064: undefined reference to `__imp_UPNP_GetExternalIP
Address'
c:\NoirShares\src/net.cpp:1087: undefined reference to `__imp_UPNP_AddPortMappin
g'
c:\NoirShares\src/net.cpp:1092: undefined reference to `__imp_strupnperror'
c:\NoirShares\src/net.cpp:1120: undefined reference to `__imp_strupnperror'
c:\NoirShares\src/net.cpp:1100: undefined reference to `__imp_UPNP_DeletePortMap
ping'
c:\NoirShares\src/net.cpp:1102: undefined reference to `__imp_freeUPNPDevlist'
c:\NoirShares\src/net.cpp:1103: undefined reference to `__imp_FreeUPNPUrls'
c:\NoirShares\src/net.cpp:1131: undefined reference to `__imp_FreeUPNPUrls'

Any ideas?

Code:
ifndef USE_UPNP
override USE_UPNP = -
endif
ifneq (${USE_UPNP}, -)
 LIBS += -l miniupnpc -l iphlpapi
 DEFS += -DMINIUPNP_STATICLIB -DUSE_UPNP=$(USE_UPNP)
endif

Code:
INCLUDEPATHS= \
 -I"$(CURDIR)" \
 -I"/c/deps/boost_1_55_0" \
 -I"/c/deps/db-4.8.30.NC/build_unix" \
 -I"/c/deps/openssl-1.0.1i/include" \
 -I"/c/deps/miniupnpc"
 
LIBPATHS= \
 -L"$(CURDIR)/leveldb" \
 -L"/c/deps/boost_1_55_0/stage/lib" \
 -L"/c/deps/db-4.8.30.NC/build_unix" \
 -L"/c/deps/openssl-1.0.1i" \
 -L"/c/deps/miniupnpc"
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 16, 2014, 10:54:19 AM
 #738

I am compiling bitcoin-0.9.3, I have some undefined reference about UPNP. But I had made miniupnpc-1.9.

make[3]: Entering directory `/D/BTC/Dev/bitcoin-0.9.3/src'
  CXXLD  bitcoind.exe
  libbitcoin_server.a(net.o): In function `Z13ThreadMapPortv':
d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1066: undefined reference to `_imp__upnpDiscover'
d:\BTC\Dev\bitcoin-0.9.3\src/net.cpp:1073: undefined reference to `_imp__UPNP_GetValidIGD'

Try using miniupnpc-1.9.20140610 or later, see https://github.com/bitcoin/bitcoin/commit/9f7f504efca27c7d390f121410846b45c1732761

Tried this, no luck...

bump

anyone?
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
September 16, 2014, 11:04:51 PM
 #739

qmake "USE_QRCODE=1" "USE_UPNP=1" "USE_IPV6=1" bitcoin-qt.pro
mingw32-make -f Makefile.Release

"USE_UPNP=-"
vipminers
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
September 18, 2014, 07:14:51 AM
 #740

Excellent tutorial. I'm able to compile Bitcoin 0.8.6 & 0.9.x based coins without a hassle.

I only have problems trying to compile coins that use scrypt-sse2. It gives me errors each time i try to compile one, i must be overseeing something Sad
I know SSE2 is an instruction set, first i tried it in a VM for a clean working environment and then i tried it on my host just to be sure. Both Win7, VM=x32, host=x64.

My CPU is a Intel Xeon E3 1270 supporting instructions: MMX, SSE, SSE2, SSSE3, SSE4.1, SSE4.2, EM64t, VT-x, AES, AVX.

Can someone take a look and point me in the right direction? This thing has me going for days now Sad


                                                ^
Code:
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_srli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:62:47: error: called from here
   X0 = _mm_xor_si128(X0, _mm_srli_epi32(T, 14));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:62:48: error: called from here
   X0 = _mm_xor_si128(X0, _mm_srli_epi32(T, 14));
                                                ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1395:1: error: inlin
ing failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': t
arget specific option mismatch
 _mm_shuffle_epi32 (__m128i __A, const int __mask)
 ^
scrypt-sse2.cpp:65:35: error: called from here
   X1 = _mm_shuffle_epi32(X1, 0x93);
                                   ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1395:1: error: inlin
ing failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': t
arget specific option mismatch
 _mm_shuffle_epi32 (__m128i __A, const int __mask)
 ^
scrypt-sse2.cpp:66:35: error: called from here
   X2 = _mm_shuffle_epi32(X2, 0x4E);
                                   ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1395:1: error: inlin
ing failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': t
arget specific option mismatch
 _mm_shuffle_epi32 (__m128i __A, const int __mask)
 ^

 ^
scrypt-sse2.cpp:67:35: error: called from here
   X3 = _mm_shuffle_epi32(X3, 0x39);
                                   ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:70:28: error: called from here
   T = _mm_add_epi32(X0, X1);
                            ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1139:1: error: inlin
ing failed in call to always_inline '__m128i _mm_slli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_slli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:71:46: error: called from here
   X3 = _mm_xor_si128(X3, _mm_slli_epi32(T, 7));
                                              ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:71:47: error: called from here
   X3 = _mm_xor_si128(X3, _mm_slli_epi32(T, 7));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_srli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:72:47: error: called from here
   X3 = _mm_xor_si128(X3, _mm_srli_epi32(T, 25));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^

                                                ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:73:28: error: called from here
   T = _mm_add_epi32(X3, X0);
                            ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1139:1: error: inlin
ing failed in call to always_inline '__m128i _mm_slli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_slli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:74:46: error: called from here
   X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
                                              ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:74:47: error: called from here
   X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_srli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:75:47: error: called from here
   X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:75:48: error: called from here
   X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
                                                ^

                                                ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:73:28: error: called from here
   T = _mm_add_epi32(X3, X0);
                            ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1139:1: error: inlin
ing failed in call to always_inline '__m128i _mm_slli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_slli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:74:46: error: called from here
   X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
                                              ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:74:47: error: called from here
   X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
 _mm_srli_epi32 (__m128i __A, int __B)
 ^
scrypt-sse2.cpp:75:47: error: called from here
   X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
                                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:75:48: error: called from here
   X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
                                                ^
                                   ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:89:31: error: called from here
  B[0] = _mm_add_epi32(B[0], X0);
                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:90:31: error: called from here
  B[1] = _mm_add_epi32(B[1], X1);
                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:91:31: error: called from here
  B[2] = _mm_add_epi32(B[2], X2);
                               ^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
 _mm_add_epi32 (__m128i __A, __m128i __B)
 ^
scrypt-sse2.cpp:92:31: error: called from here
  B[3] = _mm_add_epi32(B[3], X3);
                               ^
make[3]: *** [scrypt-sse2.o] Error 1
make[3]: Leaving directory `/c/temp/DigiByteProject-master/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/temp/DigiByteProject-master/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/temp/DigiByteProject-master/src'
make: *** [all-recursive] Error 1
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 [37] 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  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!