Bitcoin Forum
May 11, 2024, 12:05:23 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 [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)
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
November 19, 2013, 07:09:36 PM
 #221

Down to 1 error (& 2 warnings). I was able to get MSVC to "digest" IMPLEMENT_SERIALIZE(), but
this last one...

Code:
------ Rebuild All started: Project: EmptyConsoleApp, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'EmptyConsoleApp', configuration 'Debug|Win32'
Compiling...
addrman.cpp
alert.cpp
bitcoinrpc.cpp
k:\backups\boost_1_53_0\boost\iostreams\detail\streambuf\indirect_streambuf.hpp(249) : warning C4996: 'std::char_traits<char>::move': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
        d:\program files\microsoft visual studio 8\vc\include\iosfwd(470) : see declaration of 'std::char_traits<char>::move'
        k:\backups\boost_1_53_0\boost\iostreams\detail\streambuf\indirect_streambuf.hpp(237) : while compiling class template member function 'int boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>::underflow(void)'
        with
        [
            T=SSLIOStreamDevice<boost::asio::ip::tcp>,
            Tr=std::char_traits<char>,
            Alloc=std::allocator<char>,
            Mode=boost::iostreams::detail::io_mode_impl<3>::type
        ]
        k:\backups\boost_1_53_0\boost\iostreams\stream_buffer.hpp(66) : see reference to class template instantiation 'boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>' being compiled
        with
        [
            T=SSLIOStreamDevice<boost::asio::ip::tcp>,
            Tr=std::char_traits<char>,
            Alloc=std::allocator<char>,
            Mode=boost::iostreams::detail::io_mode_impl<3>::type
        ]
        k:\backups\boost_1_53_0\boost\utility\base_from_member.hpp(69) : see reference to class template instantiation 'boost::iostreams::stream_buffer<T,Tr,Alloc>' being compiled
        with
        [
            T=SSLIOStreamDevice<boost::asio::ip::tcp>,
            Tr=std::char_traits<char>,
            Alloc=std::allocator<char>
        ]
        k:\backups\boost_1_53_0\boost\iostreams\stream.hpp(75) : see reference to class template instantiation 'boost::base_from_member<MemberType>' being compiled
        with
        [
            MemberType=boost::iostreams::stream_buffer<SSLIOStreamDevice<boost::asio::ip::tcp>,std::char_traits<char>,std::allocator<char>>
        ]
        k:\backups\boost_1_53_0\boost\iostreams\stream.hpp(112) : see reference to class template instantiation 'boost::iostreams::detail::stream_base<Device,Tr,Alloc>' being compiled
        with
        [
            Device=SSLIOStreamDevice<boost::asio::ip::tcp>,
            Tr=std::char_traits<char>,
            Alloc=std::allocator<char>
        ]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\bitcoinrpc.cpp(1338) : see reference to class template instantiation 'boost::iostreams::stream<Device>' being compiled
        with
        [
            Device=SSLIOStreamDevice<boost::asio::ip::tcp>
        ]
k:\backups\boost_1_53_0\boost\algorithm\string\detail\classification.hpp(102) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
        d:\program files\microsoft visual studio 8\vc\include\xutility(2370) : see declaration of 'std::copy'
        k:\backups\boost_1_53_0\boost\algorithm\string\classification.hpp(206) : see reference to function template instantiation 'boost::algorithm::detail::is_any_ofF<CharT>::is_any_ofF<boost::iterator_range<IteratorT>>(const RangeT &)' being compiled
        with
        [
            CharT=char,
            IteratorT=const char *,
            RangeT=boost::iterator_range<const char *>
        ]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\bitcoinrpc.cpp(644) : see reference to function template instantiation 'boost::algorithm::detail::is_any_ofF<CharT> boost::algorithm::is_any_of<const char[2]>(RangeT (&))' being compiled
        with
        [
            CharT=char,
            RangeT=const char [2]
        ]
bloom.cpp
checkpoints.cpp
crypter.cpp
db.cpp
hash.cpp
init.cpp
key.cpp
keystore.cpp
leveldb.cpp
main.cpp
net.cpp
netbase.cpp
noui.cpp
protocol.cpp
rpcblockchain.cpp
rpcdump.cpp
rpcmining.cpp
rpcnet.cpp
rpcrawtransaction.cpp
rpcwallet.cpp
script.cpp
d:\program files\microsoft visual studio 8\vc\include\functional(149) : error C2678: binary '<' : no operator found which takes a left-hand operand of type 'const CSignatureCache::sigdata_type' (or there is no acceptable conversion)
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(229): could be 'bool operator <(const base_uint<BITS> &,const base_uint<BITS> &)' [found using argument-dependent lookup]
        with
        [
            BITS=160
        ]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(521): or 'bool operator <(const base_uint160 &,const uint160 &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(533): or 'bool operator <(const uint160 &,const base_uint160 &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(545): or 'bool operator <(const uint160 &,const uint160 &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(229): or 'bool operator <(const base_uint<BITS> &,const base_uint<BITS> &)' [found using argument-dependent lookup]
        with
        [
            BITS=256
        ]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(636): or 'bool operator <(const base_uint256 &,const uint256 &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(648): or 'bool operator <(const uint256 &,const base_uint256 &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\uint256.h(660): or 'bool operator <(const uint256 &,const uint256 &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\key.h(74): or 'bool operator <(const CPubKey &,const CPubKey &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\netbase.h(99): or 'bool operator <(const CNetAddr &,const CNetAddr &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\netbase.h(129): or 'bool operator <(const CService &,const CService &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\bignum.h(607): or 'bool operator <(const CBigNum &,const CBigNum &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\script.h(63): or 'bool operator <(const CNoDestination &,const CNoDestination &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\protocol.h(125): or 'bool operator <(const CInv &,const CInv &)' [found using argument-dependent lookup]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\mruset.h(35): or 'bool mruset<T>::operator <(const mruset<T> &,const mruset<T> &)' [found using argument-dependent lookup]
        with
        [
            T=CInv
        ]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\main.h(294): or 'bool operator <(const COutPoint &,const COutPoint &)' [found using argument-dependent lookup]
        while trying to match the argument list '(const CSignatureCache::sigdata_type, const CSignatureCache::sigdata_type)'
        d:\program files\microsoft visual studio 8\vc\include\functional(148) : while compiling class template member function 'bool std::less<_Ty>::operator ()(const _Ty &,const _Ty &) const'
        with
        [
            _Ty=CSignatureCache::sigdata_type
        ]
        d:\program files\microsoft visual studio 8\vc\include\set(60) : see reference to class template instantiation 'std::less<_Ty>' being compiled
        with
        [
            _Ty=CSignatureCache::sigdata_type
        ]
        d:\program files\microsoft visual studio 8\vc\include\xtree(26) : see reference to class template instantiation 'std::_Tset_traits<_Kty,_Pr,_Alloc,_Mfl>' being compiled
        with
        [
            _Kty=CSignatureCache::sigdata_type,
            _Pr=std::less<CSignatureCache::sigdata_type>,
            _Alloc=std::allocator<CSignatureCache::sigdata_type>,
            _Mfl=false
        ]
        d:\program files\microsoft visual studio 8\vc\include\xtree(68) : see reference to class template instantiation 'std::_Tree_nod<_Traits>' being compiled
        with
        [
            _Traits=std::_Tset_traits<CSignatureCache::sigdata_type,std::less<CSignatureCache::sigdata_type>,std::allocator<CSignatureCache::sigdata_type>,false>
        ]
        d:\program files\microsoft visual studio 8\vc\include\xtree(94) : see reference to class template instantiation 'std::_Tree_ptr<_Traits>' being compiled
        with
        [
            _Traits=std::_Tset_traits<CSignatureCache::sigdata_type,std::less<CSignatureCache::sigdata_type>,std::allocator<CSignatureCache::sigdata_type>,false>
        ]
        d:\program files\microsoft visual studio 8\vc\include\xtree(112) : see reference to class template instantiation 'std::_Tree_val<_Traits>' being compiled
        with
        [
            _Traits=std::_Tset_traits<CSignatureCache::sigdata_type,std::less<CSignatureCache::sigdata_type>,std::allocator<CSignatureCache::sigdata_type>,false>
        ]
        d:\program files\microsoft visual studio 8\vc\include\set(69) : see reference to class template instantiation 'std::_Tree<_Traits>' being compiled
        with
        [
            _Traits=std::_Tset_traits<CSignatureCache::sigdata_type,std::less<CSignatureCache::sigdata_type>,std::allocator<CSignatureCache::sigdata_type>,false>
        ]
        k:\backups\drive_d_backup\ms vc++ express 2005 tests\emptyconsoleapp\emptyconsoleapp\script.cpp(1061) : see reference to class template instantiation 'std::set<_Kty>' being compiled
        with
        [
            _Kty=CSignatureCache::sigdata_type
        ]
sync.cpp
txdb.cpp
util.cpp
version.cpp
wallet.cpp
walletdb.cpp
Build log was saved at "file://k:\Backups\Drive_d_backup\MS VC++ Express 2005 tests\EmptyConsoleApp\EmptyConsoleApp\Debug\BuildLog.htm"
EmptyConsoleApp - 1 error(s), 2 warning(s)

If anyone has insight into script.cpp => CSignatureCache::sigdata_type and an < overloaded operator on
const types, you will get attribution in the code Grin

It would be nice to get rid of that warning in bitcoinrpc.cpp too!

Ron


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

Posts: 1715385923

View Profile Personal Message (Offline)

Ignore
1715385923
Reply with quote  #2

1715385923
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Joe_Bauers
Hero Member
*****
Offline Offline

Activity: 802
Merit: 1003


GCVMMWH


View Profile
November 21, 2013, 04:07:29 PM
 #222

Bump ^^^  Maybe one of the core Bitcoin devs can weigh in on the issues posted by old c coder?
phelix
Legendary
*
Offline Offline

Activity: 1708
Merit: 1020



View Profile
November 21, 2013, 04:27:46 PM
 #223

What is the advantage of using a different compiler? What about accidental forks?
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
November 22, 2013, 03:38:23 PM
 #224

Down to 1 error (& 2 warnings). I was able to get MSVC to "digest" IMPLEMENT_SERIALIZE(), but
this last one...

Code:
------ Rebuild All started: Project: EmptyConsoleApp, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'EmptyConsoleApp', configuration 'Debug|Win32'
Compiling...
addrman.cpp
alert.cpp
bitcoinrpc.cpp
k:\backups\boost_1_53_0\boost\iostreams\detail\streambuf\indirect_streambuf.hpp(249) : warning C4996: ...
k:\backups\boost_1_53_0\boost\algorithm\string\detail\classification.hpp(102) : warning C4996: ...
bloom.cpp
checkpoints.cpp
crypter.cpp
db.cpp
hash.cpp
init.cpp
key.cpp
keystore.cpp
leveldb.cpp
main.cpp
net.cpp
netbase.cpp
noui.cpp
protocol.cpp
rpcblockchain.cpp
rpcdump.cpp
rpcmining.cpp
rpcnet.cpp
rpcrawtransaction.cpp
rpcwallet.cpp
script.cpp
d:\program files\microsoft visual studio 8\vc\include\functional(149) : error C2678: ...
sync.cpp
txdb.cpp
util.cpp
version.cpp
wallet.cpp
walletdb.cpp
Build log was saved at "file://k:\Backups\Drive_d_backup\MS VC++ Express 2005 tests\EmptyConsoleApp\EmptyConsoleApp\Debug\BuildLog.htm"
EmptyConsoleApp - 1 error(s), 2 warning(s)

If anyone has insight into script.cpp => CSignatureCache::sigdata_type and an < overloaded operator on
const types, you will get attribution in the code Grin

It would be nice to get rid of that warning in bitcoinrpc.cpp too!

Ron

I found it, the script.cpp needs another boost include file, that's all. Now on to the linking with all the libraries...

I may need some help there too! LevelDB is being a bit uncooperative Cheesy

Ron


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

Activity: 938
Merit: 501


View Profile
November 25, 2013, 10:25:12 PM
 #225

What is the advantage of using a different compiler? What about accidental forks?
^This.

Edit: Maybe to use Visual Studio as development IDE?
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
November 30, 2013, 10:40:00 PM
 #226



Ron


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

Activity: 938
Merit: 501


View Profile
December 09, 2013, 03:26:38 AM
 #227



Ron
Congratz! Do you have available any guide or instructions to make Bitcoin compile with MSVC?
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
December 11, 2013, 04:22:10 AM
 #228



Ron
Congratz! Do you have available any guide or instructions to make Bitcoin compile with MSVC?

Hello kr105

Not yet, but it does compile. The real question is does it run? The levelDB windows (static debug) library I built "stumbles" in the 12th loop in VerifyDB() at level 3. It passes at level 0,1,2 and the exe goes all the way to running. Even connects to clients, but can't store the first new block it obtains, yet. I believe it is related to the LRU cache problem I'm seeing in VerifyDB() level 2.

I am testing on a copy of the block chain that starts(or is it ends) at 272233. This blockchain starts up fine using a "normal" version of bitcoind.exe Smiley

The levelDB code thinks it needs a chainstate/604027.sst file and tries to open it, finding that it is already open! So either it thought it closed it but it didn't. Or it didn't think it had it, but it did.

I built my .lib from the 1.13 release since that was the latest when I began Smiley

I see that bitcoin 0.8.5 uses levelDB 1.12. So should I use that version or try for the latest 1.15 Huh

The hardest parts are creating the libraries needed for MSVC++ and configuring the IDE for the project, the files, the include and library directories. Once that's done, it's a cake walk to compile test, build, debug, etc. Since the IDE has "intellisense" on all the classes, etc. it is really nice, especially in debug mode. And it "knows" about the include file relationships, which is worth it in time on rebuilding.

Since there was so little reaction to the pix, I went off MSVC++ porting some other *coin. And it went much faster since I had done the tough work on the bitcoin sources.

I am trying to find (and fix) this levelDB caching problem, and when I have and the code works, I will clean up the sources and "github" them.

I will say the there are very few changes done to the source. It is mostly in the arrangement of the includes Shocked

Ron


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

Activity: 1094
Merit: 1006


View Profile WWW
December 15, 2013, 03:16:42 AM
 #229

Formatted in Markdown, cleaned a few typos, and stuck it in the /docs.
Pull is here: https://github.com/super3/bitcoin/blob/build-docs/doc/build-msw-guide.md

Will have to find a clean system and test it for myself, but its a step forward.

Bitcoin Dev / Storj - Decentralized Cloud Storage. Winner of Texas Bitcoin Conference Hackathon 2014. / Peercoin Web Lead / Primecoin Web Lead / Armory Guide Author / "Am I the only one that trusts Dogecoin more than the Federal Reserve?"
GoodHosting
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
December 15, 2013, 08:46:20 PM
 #230

I'm up to 3.2 -- but ... makefile.mingw is no longer in the 0.8.5 src.... so what do I do now ?
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
December 16, 2013, 02:15:59 AM
 #231

I'm up to 3.2 -- but ... makefile.mingw is no longer in the 0.8.5 src.... so what do I do now ?

Hello GoodHosting?

Seems I addressed this ~three months ago!!

See
https://bitcointalk.org/index.php?PHPSESSID=gbmelfpm3h9pjphahl0uh7bg24&topic=149479.msg3214374#msg3214374

Don't know if it is "correct" but it worked for me Grin

Ron


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

Activity: 12
Merit: 0


View Profile
December 18, 2013, 02:32:21 PM
 #232

Hello,
I'm stucked at the 3.4. I have to make this code in Windows cmd:
Code:
cd C:\bitcoin\bitcoin-master\src
mingw32-make -f makefile.mingw
strip bitcoind.exe
The second line is not working though. At first the mingw32-make function did not work (the cmd told me that it is undefined) but after I pasted all of its directory, the program had finally recognized it. The problem is that when I write the code now I get a lot (like really a lot) errors. I don't know why. I have makefile.mingw at the right place and the mingw32-make function should work.
Every help is much appreciated Smiley
koiceo
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 20, 2013, 01:40:27 PM
 #233

I want to test yacoin(Download:https://github.com/yacoin/yacoin), returning the following error:
Code:
PARAMS: BOOST_SUFFIX=-mgw46-mt-1_54 INCLUDEPATHS=" -I'../libs/boost_1_54_0' -I'.
./libs/openssl-1.0.1e/include' -I'../libs/db-4.8.30.NC/build_unix' -I'../libs/mi
niupnpc-1.8'" LIBPATHS=" -L'../libs/boost_1_54_0/stage/lib' -L'../libs/openssl-1
.0.1e' -L'../libs/db-4.8.30.NC/build_unix' -L'../libs/miniupnpc-1.8'" ADDITIONAL
CCFLAGS="-fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -
Wno-unused-value -Wno-sign-compare -Wno-strict-aliasing"
g++ -c -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wn
o-unused-value -Wno-sign-compare -Wno-strict-aliasing -mthreads -O2 -msse2 -w -W
all -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D
WIN32_LEAN_AND_MEAN -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE
-DSTATICLIB -DUSE_UPNP=1 -DUSE_IPV6=1 -I'../libs/boost_1_54_0' -I'../libs/openss
l-1.0.1e/include' -I'../libs/db-4.8.30.NC/build_unix' -I'../libs/miniupnpc-1.8'
-o obj/net.o net.cpp
g++ -fno-guess-branch-probability -frandom-seed=1984 -Wno-unused-variable -Wno-u
nused-value -Wno-sign-compare -Wno-strict-aliasing -mthreads -O2 -msse2 -w -Wall
 -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -DWIN
32_LEAN_AND_MEAN -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DS
TATICLIB -DUSE_UPNP=1 -DUSE_IPV6=1 -I'../libs/boost_1_54_0' -I'../libs/openssl-1
.0.1e/include' -I'../libs/db-4.8.30.NC/build_unix' -I'../libs/miniupnpc-1.8' -Wl
,--dynamicbase -Wl,--nxcompat -o yacoind.exe -L'../libs/boost_1_54_0/stage/lib'
-L'../libs/openssl-1.0.1e' -L'../libs/db-4.8.30.NC/build_unix' -L'../libs/miniup
npc-1.8' obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o
 obj/crypter.o obj/key.o obj/db.o obj/init.o obj/irc.o obj/keystore.o obj/bloom.
o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.
o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o ob
j/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/noui.o obj/kern
el.o obj/pbkdf2.o obj/scrypt_mine.o obj/scrypt-x86.o obj/scrypt-x86_64.o -l boos
t_system-mgw46-mt-1_54 -l boost_filesystem-mgw46-mt-1_54 -l boost_program_option
s-mgw46-mt-1_54 -l boost_thread-mgw46-mt-1_54 -l boost_chrono-mgw46-mt-1_54 -l d
b_cxx -l ssl -l crypto -l miniupnpc -l iphlpapi -l mingwthrd -l kernel32 -l user
32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l
oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi
obj/scrypt_mine.o: In function `Z11scrypt_hashPKvjPjh':
D:\yacoin-master\src/scrypt_mine.cpp:101: undefined reference to `scrypt'
obj/scrypt_mine.o: In function `Z15scanhash_scryptP12CBlockHeaderjRjPvS0_h':
D:\yacoin-master\src/scrypt_mine.cpp:202: undefined reference to `scrypt'
collect2: ld returned 1 exit status
makefile.mingw:104: recipe for target 'yacoind.exe' failed
mingw32-make: *** [yacoind.exe] Error 1

andrewboy44
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
December 20, 2013, 02:53:54 PM
 #234

Hello,
I'm stucked at the 3.4. I have to make this code in Windows cmd:
Code:
cd C:\bitcoin\bitcoin-master\src
mingw32-make -f makefile.mingw
strip bitcoind.exe
The second line is not working though. At first the mingw32-make function did not work (the cmd told me that it is undefined) but after I pasted all of its directory, the program had finally recognized it. The problem is that when I write the code now I get a lot (like really a lot) errors. I don't know why. I have makefile.mingw at the right place and the mingw32-make function should work.
Every help is much appreciated Smiley

send me a pm. I can make your qt wallet for you.
TheLAWNoob
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
December 23, 2013, 10:04:42 PM
 #235

Thanks for the guide.

 I compiled litecoind, but when I run it it crashes after a few seconds with no error code. I tried it on a machine never ran litecoin before, same issue.

Any thoughts?

Working on something good. Pls support.
TheLAWNoob
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
December 23, 2013, 10:34:52 PM
 #236

Thanks for the guide.

 I compiled litecoind, but when I run it it crashes after a few seconds with no error code. I tried it on a machine never ran litecoin before, same issue.

Any thoughts?

All it says in the debug file is this:

2013-12-23 22:33:51 Litecoin version v0.8.6.1-g88e2a2e-beta (Thu, 5 Dec 2013 22:52:50 -1000)
2013-12-23 22:33:51 Using OpenSSL version OpenSSL 1.0.1e 11 Feb 2013
2013-12-23 22:33:51 Default data directory C:\Users\920\AppData\Roaming\Litecoin
2013-12-23 22:33:51 Using data directory C:\Users\920\AppData\Roaming\Litecoin
2013-12-23 22:33:51 Using at most 125 connections (2048 file descriptors available)
2013-12-23 22:33:51 Using 8 threads for script verification
2013-12-23 22:33:51 init message: Verifying wallet...
2013-12-23 22:33:51 dbenv.open LogDir=C:\Users\920\AppData\Roaming\Litecoin\database ErrorFile=C:\Users\920\AppData\Roaming\Litecoin\db.log

Working on something good. Pls support.
gbalme
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 24, 2013, 01:16:53 AM
 #237

Can somebody help me ?
I'm stuck at a point when configuring the berkeley db (step 2.2)

The shell stuck on :
Quote
checking whether we are cross compiling...

And nothing happens
Can somebody help ?

Thanks
skyisthelimit
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 24, 2013, 02:55:33 PM
 #238

Is anyone still around to help?

I installed all deps and now got to the last part in compiling the client but get this error when I run qmake "USE_UPNP=- coin-qt.pro

https://i.imgur.com/1ZCjEv0.png
coradan
Hero Member
*****
Offline Offline

Activity: 518
Merit: 503


View Profile
December 24, 2013, 04:51:38 PM
Last edit: December 24, 2013, 05:05:13 PM by coradan
 #239

I am having one problem when I try to compile the miniupnpc 1.5.xx on Windows 7 32bits:

Unpack Miniupnpc inside your C:\deps folder, then executing mingw32make.bat



And with miniupnpc 1.8 on same Windows 7 32bits others errors:




Could anybody help me?

One more thing: NXT
http://www.nxt.cool
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
December 24, 2013, 05:15:23 PM
 #240

Is anyone still around to help?

I installed all deps and now got to the last part in compiling the client but get this error when I run qmake "USE_UPNP=- coin-qt.pro



Hello skyisthelimit,

It could be that
https://bitcointalk.org/index.php?topic=149479.msg2177060#msg2177060
will answer your question or at least point you in the right direction?

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
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!