Bitcoin Forum
May 25, 2024, 04:26:07 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)
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
March 03, 2014, 06:52:38 PM
 #421

shakezula used to keep deps in one folder already prepared for use, would be great if someone with a good connection did this. I'll even offer a bounty.
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
March 03, 2014, 07:30:45 PM
 #422

I can upload them if needed, however building everything by yourself shouldn't take more than half an hour on a mid entry cpu.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
pttinh
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 04, 2014, 04:14:27 AM
Last edit: March 04, 2014, 07:19:45 AM by pttinh
 #423

I built frycoind and frycoin-qt but when run, I met this error:

Code:
Problem signature:
  Problem Event Name: BEX
  Application Name: Frycoind.exe
  Application Version: 0.0.0.0
  Application Timestamp: 00000000
  Fault Module Name: msvcrt.dll
  Fault Module Version: 7.0.7600.16385
  Fault Module Timestamp: 4a5bda6f
  Exception Offset: 000a2980
  Exception Code: c0000005
  Exception Data: 00000008
  OS Version: 6.1.7601.2.1.0.256.48
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

and when I build bitcoin:
Code:
  CXXLD  bitcoind.exe
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/lib\libmsvcrt.a(dyqzs0
0708.o):(.text+0x0): multiple definition of `isspace'
libbitcoin_wallet.a(rpcdump.o):rpcdump.cpp:(.text$isspace[_isspace]+0x0): first
defined here
collect2.exe: error: ld returned 1 exit status
make[3]: *** [bitcoind.exe] Error 1
make[3]: Leaving directory `/c/bitcoin-0.9.0rc2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/bitcoin-0.9.0rc2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/bitcoin-0.9.0rc2/src'
make: *** [all-recursive] Error 1
any suggestion to fix this?
pttinh
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 04, 2014, 07:21:49 PM
 #424

Thank you nitrogenetics.

I built bitcoin-qt successfully base on your guide and it's syncing.

Now I will try another. 
awais3344
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
March 05, 2014, 06:30:22 AM
 #425

Thank you nitrogenetics.

I built bitcoin-qt successfully base on your guide and it's syncing.

Now I will try another. 

how did you get it to sync? mine always says no block source available. A little guidance is appreciated!

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
NEOSCOIN
  +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
coin loves
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
March 05, 2014, 09:18:39 AM
 #426

I compiled successfully bitcoin-qt.exe, when I run bitcoin-qt.exe on win7 32-bit system, pop-up error message box: The program stops running; When I run on 64-bit systems, there is no interface program runs in task Manager can see the process, after a while the process did not, please help me! Huh Huh
silidons
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 05, 2014, 08:58:26 PM
Last edit: March 05, 2014, 09:27:19 PM by silidons
 #427

when i get this far
Code:
set INCLUDE=C:\deps\libpng-1.6.8;C:\deps\openssl-1.0.1e\include
set LIB=C:\deps\libpng-1.6.8\.libs;C:\deps\openssl-1.0.1e

cd C:\Qt\5.2.1
configure.bat -release -opensource -confirm-license -static -make libs -no-sql-sqlite -no-opengl -system-zlib -qt-pcre -no-icu -no-gif -system-libpng -no-libjpeg -no-freetype -no-angle -no-vcproj -openssl -no-dbus -no-audio-backend -no-wmf-backend -no-qml-debug

mingw32-make

is it supposed to take over 20 minutes to compile?  i have an i5-2500 and it's been chugging at this for over 20 mins. keeps opening up new terminals and closing them as well which is very annoying.

edit: i think something is wrong, or i don't know.  it's still going.  it's been over 40 minutes.  i'm just gonna see what happens.

edit2: it just finished.  jesus, that took about 50 minutes.  lol.
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
March 05, 2014, 10:04:19 PM
 #428

Using -j option when making qt will speed up things a lot. I would try -j4 on your i5. Hdd could also be a limiting factor.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
silidons
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 05, 2014, 11:23:43 PM
 #429

yeah...but i think i'm about to give up making this work.   i was following the devtome guide, got everything running fine on ubuntu, wallet works and everything, but i can't get it to work with windows.  i've tried pretty much every option and have clean installed like 3 times.  i don't even want to make a windows wallet anymore.  i think my problem is the source code that it links me to and that i cloned from github, when i look at the -qt.pro, the version is: VERSION = 0.6.3

i think this is what is killing me, am i wrong?  do i have to re-do the whole fucking coin from square 1 cloning a more current coin?
apple_talk
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


"Proof-of-Asset Protocol"


View Profile
March 06, 2014, 06:40:27 AM
 #430

Using Qt 5.2 (last step in the guide)

C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release
cd C:/bitcoin-0.8.6/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMP
ILE mingw32-make OPT="-pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2"
libleveldb.a libmemenv.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libleveldb.a &&
ranlib C:/bitcoin-0.8.6/src/leveldb/libmemenv.a
'CC' is not recognized as an internal or external command,
operable program or batch file.
Makefile.Release:319: recipe for target 'C:/bitcoin-0.8.6/src/leveldb/libleveldb
.a' failed
mingw32-make: *** [C:/bitcoin-0.8.6/src/leveldb/libleveldb.a] Error 1



Thanks

|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
March 06, 2014, 01:25:15 PM
 #431

yeah...but i think i'm about to give up making this work.   i was following the devtome guide, got everything running fine on ubuntu, wallet works and everything, but i can't get it to work with windows.  i've tried pretty much every option and have clean installed like 3 times.  i don't even want to make a windows wallet anymore.  i think my problem is the source code that it links me to and that i cloned from github, when i look at the -qt.pro, the version is: VERSION = 0.6.3

i think this is what is killing me, am i wrong?  do i have to re-do the whole fucking coin from square 1 cloning a more current coin?

On 0.6.3 you should link against qt 4.8 and apply these patches:
https://github.com/laanwj/bitcoin/commit/61d85071405b99c3734606eed31ea8f615c0c77a
https://github.com/bitcoin/bitcoin/commit/6c6255edb54bed780f0879c906dccf6cfa98b4db

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
March 06, 2014, 01:27:55 PM
 #432

Using Qt 5.2 (last step in the guide)

C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release
cd C:/bitcoin-0.8.6/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMP
ILE mingw32-make OPT="-pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2"
libleveldb.a libmemenv.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libleveldb.a &&
ranlib C:/bitcoin-0.8.6/src/leveldb/libmemenv.a
'CC' is not recognized as an internal or external command,
operable program or batch file.
Makefile.Release:319: recipe for target 'C:/bitcoin-0.8.6/src/leveldb/libleveldb
.a' failed
mingw32-make: *** [C:/bitcoin-0.8.6/src/leveldb/libleveldb.a] Error 1



Thanks

Did you build bitcoind? If not you should build leveldb and comment out genleveldb command in your .pro file before compiling.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
ollyweg
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
March 06, 2014, 03:05:13 PM
 #433

when trying to compile libpng-1.6.8 I get the following error while configuring:
same with 1.6.9
Code:
checking for zlibVersion in -lz... no
checking for z_zlibVersion in -lz... no
configure: error: zlib not installed

How can I fix that?
I couldn´t find anything about it.

Thanks
silidons
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 06, 2014, 03:52:50 PM
 #434

yeah...but i think i'm about to give up making this work.   i was following the devtome guide, got everything running fine on ubuntu, wallet works and everything, but i can't get it to work with windows.  i've tried pretty much every option and have clean installed like 3 times.  i don't even want to make a windows wallet anymore.  i think my problem is the source code that it links me to and that i cloned from github, when i look at the -qt.pro, the version is: VERSION = 0.6.3

i think this is what is killing me, am i wrong?  do i have to re-do the whole fucking coin from square 1 cloning a more current coin?

On 0.6.3 you should link against qt 4.8 and apply these patches:
https://github.com/laanwj/bitcoin/commit/61d85071405b99c3734606eed31ea8f615c0c77a
https://github.com/bitcoin/bitcoin/commit/6c6255edb54bed780f0879c906dccf6cfa98b4db


thank you i will try when i get home!
apple_talk
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


"Proof-of-Asset Protocol"


View Profile
March 06, 2014, 03:59:19 PM
Last edit: March 06, 2014, 06:28:32 PM by apple_talk
 #435

Using Qt 5.2 (last step in the guide)

C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release
cd C:/bitcoin-0.8.6/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMP
ILE mingw32-make OPT="-pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2"
libleveldb.a libmemenv.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libleveldb.a &&
ranlib C:/bitcoin-0.8.6/src/leveldb/libmemenv.a
'CC' is not recognized as an internal or external command,
operable program or batch file.
Makefile.Release:319: recipe for target 'C:/bitcoin-0.8.6/src/leveldb/libleveldb
.a' failed
mingw32-make: *** [C:/bitcoin-0.8.6/src/leveldb/libleveldb.a] Error 1




Thanks

Did you build bitcoind? If not you should build leveldb and comment out genleveldb command in your .pro file before compiling.

bitcoind fails (followed the guide AS IS)


C:\bitcoin-0.8.6>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\XXX\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=PC
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\XXX
LOCALAPPDATA=C:\Users\XXX\AppData\Local
LOGONSERVER=\\PC
NUMBER_OF_PROCESSORS=6
OS=Windows_NT
Path=C:\mingw32\bin;C:\Python33\;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\sys
tem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\
v1.0\;C:\Qt\5.2.1\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2d07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTDIR=C:\Qt\5.2.1
QTSRC=C:\Qt\5.2.1\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\XXX\AppData\Local\Temp
TMP=C:\Users\XXX\AppData\Local\Temp
USERDOMAIN=PC
USERNAME=XXX
USERPROFILE=C:\Users\XXX
windir=C:\Windows






C:\bitcoin-0.8.6>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/i686-w64-mingw32/4.8.2/lto-wra
pper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-4.8.2/configure --host=i686-w64-mingw32 --buil
d=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c
/mingw482/i686-482-posix-dwarf-rt_v3-r2/mingw32 --with-gxx-include-dir=/mingw32/
i686-w64-mingw32/include/c++ --enable-shared --enable-static --disable-multilib
--enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=ye
s --enable-threads=posix --enable-libgomp --enable-lto --enable-graphite --enabl
e-checking=release --enable-fully-dynamic-string --enable-version-specific-runti
me-libs --disable-sjlj-exceptions --with-dwarf2 --disable-isl-version-check --di
sable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --en
able-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-
werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tun
e=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw482/prerequisite
s/i686-w64-mingw32-static --with-mpfr=/c/mingw482/prerequisites/i686-w64-mingw32
-static --with-mpc=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-isl=
/c/mingw482/prerequisites/i686-w64-mingw32-static --with-cloog=/c/mingw482/prere
quisites/i686-w64-mingw32-static --enable-cloog-backend=isl --with-pkgversion='i
686-posix-dwarf, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.ne
t/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-
r2/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-static/include -I/c
/mingw482/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/
c/mingw482/i686-482-posix-dwarf-rt_v3-r2/mingw32/opt/include -I/c/mingw482/prere
quisites/i686-zlib-static/include -I/c/mingw482/prerequisites/i686-w64-mingw32-s
tatic/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw482/i686-482-posix-dwarf-rt_v3
-r2/mingw32/opt/lib -L/c/mingw482/prerequisites/i686-zlib-static/lib -L/c/mingw4
82/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: posix
gcc version 4.8.2 (i686-posix-dwarf, Built by MinGW-W64 project)







C:\bitcoin-0.8.6\src>mingw32-make -f makefile.mingw

g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par
ameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS
AFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/l
eveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4
.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/main.o main.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par
ameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS
AFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/l
eveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4
.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/net.o net.cpp
net.cpp: In function 'void ThreadOpenConnections()':
net.cpp:1288:34: error: expected ';' before '=' token
         for (int64 nwhile (true) = 0;; nwhile (true)++)
                                  ^
net.cpp:1288:34: error: expected primary-expression before '=' token
net.cpp:1288:38: error: expected primary-expression before ';' token
         for (int64 nwhile (true) = 0;; nwhile (true)++)
                                      ^
net.cpp:1288:38: error: expected ')' before ';' token
net.cpp:1288:40: error: name lookup of 'nwhile' changed for ISO 'for' scoping [-
fpermissive]
         for (int64 nwhile (true) = 0;; nwhile (true)++)
                                        ^
net.cpp:1288:40: note: (if you use '-fpermissive' G++ will accept your code)
net.cpp:1288:52: error: 'nwhile' cannot be used as a function
         for (int64 nwhile (true) = 0;; nwhile (true)++)
                                                    ^
net.cpp:1288:55: error: expected ';' before ')' token
         for (int64 nwhile (true) = 0;; nwhile (true)++)
                                                       ^
net.cpp:1902:1: error: expected '}' at end of input
 }
 ^
net.cpp:1902:1: error: expected '}' at end of input
makefile.mingw:135: recipe for target 'obj/net.o' failed
mingw32-make: *** [obj/net.o] Error 1


Do I need to change it back to LOOP to run it now?

|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
nitrogenetics (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 108



View Profile
March 06, 2014, 05:03:08 PM
 #436

'nwhile'

Make sure patching is applied correctly.

when trying to compile libpng-1.6.8 I get the following error while configuring:
same with 1.6.9
Code:
checking for zlibVersion in -lz... no
checking for z_zlibVersion in -lz... no
configure: error: zlib not installed

How can I fix that?
I couldn´t find anything about it.

Thanks

Is your build environment set up correctly? Zlib is included in mingw-builds toolchain.

BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH
XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
apple_talk
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


"Proof-of-Asset Protocol"


View Profile
March 06, 2014, 05:55:43 PM
Last edit: March 09, 2014, 07:15:09 AM by apple_talk
 #437

'nwhile'

Make sure patching is applied correctly.

[
Thanks


Thanks nitrogenetics

Got that fixed.... but this is where I am getting stuck all the time...


...continue C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `ZN13CLevelDBBatch5WriteIc7uint256EEvRKT_RKT0_':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `ZN8CLevelDB4ReadISt4pairIcSsEcEEbRKT_RT0_':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `ZN8CLevelDB4ReadIc7CBigNumEEbRKT_RT0_':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `ZN13CLevelDBBatch5WriteISt4pairIc7uint256E15CDiskBlockI
ndexEEvRKT_RKT0_':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `ZN13CLevelDBBatch5WriteISt4pairIc7uint256E6CCoinsEEvRKT
_RKT0_':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
collect2.exe: error: ld returned 1 exit status
makefile.mingw:138: recipe for target 'XXXcoind.exe' failed
mingw32-make: *** [XXXcoind.exe] Error 1



Also, not sure if it matters, but gcc -v output (last post) does not exactly match Guide like " COLLECT_GCC=c:\mingw32\bin\gcc.exe"

All commands run till "mingw32-make -f makefile.mingw" above.


Here is detail output:-
Code:
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par
ameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS
AFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/l
eveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4
.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/txdb.o txdb.cpp
g++ -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parame
ter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE
 -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leve
ldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.
30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -Wl,--dynamicbase -Wl,--nxc
ompat -Wl,--large-address-aware -static -o bitcoind.exe -L"C:/bitcoin-0.8.6/src/le
veldb" -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.1e" leveldb/libleveldb.a obj/alert.o obj/version.o obj/chec
kpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.
o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdum
p.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawt
ransaction.o obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/wa
lletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/checkpointsync.o ob
j/txdb.o -l leveldb -l memenv -l boost_system-mgw48-mt-s-1_55 -l boost_filesyste
m-mgw48-mt-s-1_55 -l boost_program_options-mgw48-mt-s-1_55 -l boost_thread-mgw48
-mt-s-1_55 -l boost_chrono-mgw48-mt-s-1_55 -l db_cxx -l ssl -l crypto -l mingwth
rd -l kernel32 -l user32 -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 mswsoc
k -l shlwapi
obj/main.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/main.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/leveldb.o: In function `ZN8CLevelDBC2ERKN5boost10filesystem4pathEjbb':
C:\bitcoin-0.8.6\src/leveldb.cpp:37: undefined reference to `leveldb::Options::O
ptions()'
obj/leveldb.o: In function `GetOptions':
C:\bitcoin-0.8.6\src/leveldb.cpp:28: undefined reference to `leveldb::Options::O
ptions()'
C:\bitcoin-0.8.6\src/leveldb.cpp:29: undefined reference to `leveldb::NewLRUCach
e(unsigned int)'
C:\bitcoin-0.8.6\src/leveldb.cpp:31: undefined reference to `leveldb::NewBloomFi
lterPolicy(int)'
obj/leveldb.o: In function `ZN8CLevelDBC2ERKN5boost10filesystem4pathEjbb':
C:\bitcoin-0.8.6\src/leveldb.cpp:51: undefined reference to `leveldb::DestroyDB(
std::string const&, leveldb::Options const&)'
C:\bitcoin-0.8.6\src/leveldb.cpp:56: undefined reference to `leveldb::DB::Open(l
eveldb::Options const&, std::string const&, leveldb::DB**)'
C:\bitcoin-0.8.6\src/leveldb.cpp:46: undefined reference to `leveldb::Env::Defau
lt()'
C:\bitcoin-0.8.6\src/leveldb.cpp:46: undefined reference to `leveldb::NewMemEnv(
leveldb::Env*)'
C:\bitcoin-0.8.6\src/leveldb.cpp:58: undefined reference to `leveldb::Status::To
String() const'
obj/leveldb.o: In function `ZN8CLevelDB10WriteBatchER13CLevelDBBatchb':
C:\bitcoin-0.8.6\src/leveldb.cpp:76: undefined reference to `leveldb::Status::To
String() const'
obj/checkpointsync.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/checkpointsync.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/checkpointsync.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/checkpointsync.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `Exists<std::pair<char, uint256> >':
C:\bitcoin-0.8.6\src/leveldb.h:123: undefined reference to `leveldb::Status::ToS
tring() const'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<char, int>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Erase<char>':
C:\bitcoin-0.8.6\src/leveldb.h:51: undefined reference to `leveldb::WriteBatch::
Delete(leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<char, char>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `Exists<char>':
C:\bitcoin-0.8.6\src/leveldb.h:123: undefined reference to `leveldb::Status::ToS
tring() const'
obj/txdb.o: In function `Read<char, int>':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `Read<std::basic_string<char>, uint256>':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<std::basic_string<char>, uint256>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<std::basic_string<char>, std::basic_string<char>
>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<std::pair<char, std::basic_string<char> >, char>'
:
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<char, CBigNum>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `Read<std::basic_string<char>, std::basic_string<char> >
':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `Read<std::pair<char, uint256>, CDiskTxPos>':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<std::pair<char, uint256>, CDiskTxPos>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `Read<std::pair<char, int>, CBlockFileInfo>':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `Read<std::pair<char, uint256>, CCoins>':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `Write<std::pair<char, int>, CBlockFileInfo>':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `Erase<std::pair<char, uint256> >':
C:\bitcoin-0.8.6\src/leveldb.h:51: undefined reference to `leveldb::WriteBatch::
Delete(leveldb::Slice const&)'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
WriteBatch()'
obj/txdb.o: In function `~CLevelDBBatch':
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
C:\bitcoin-0.8.6\src/leveldb.h:23: undefined reference to `leveldb::WriteBatch::
~WriteBatch()'
obj/txdb.o: In function `ZN8CLevelDB4ReadIc7uint256EEbRKT_RT0_':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `ZN13CLevelDBBatch5WriteIc7uint256EEvRKT_RKT0_':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `ZN8CLevelDB4ReadISt4pairIcSsEcEEbRKT_RT0_':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `ZN8CLevelDB4ReadIc7CBigNumEEbRKT_RT0_':
C:\bitcoin-0.8.6\src/leveldb.h:94: undefined reference to `leveldb::Status::ToSt
ring() const'
obj/txdb.o: In function `ZN13CLevelDBBatch5WriteISt4pairIc7uint256E15CDiskBlockI
ndexEEvRKT_RKT0_':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
obj/txdb.o: In function `ZN13CLevelDBBatch5WriteISt4pairIc7uint256E6CCoinsEEvRKT
_RKT0_':
C:\bitcoin-0.8.6\src/leveldb.h:42: undefined reference to `leveldb::WriteBatch::
Put(leveldb::Slice const&, leveldb::Slice const&)'
collect2.exe: error: ld returned 1 exit status
makefile.mingw:138: recipe for target 'bitcoind.exe' failed
mingw32-make: *** [bitcoind.exe] Error 1

|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
silidons
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 06, 2014, 06:58:48 PM
Last edit: March 06, 2014, 09:07:03 PM by silidons
 #438

yeah...but i think i'm about to give up making this work.   i was following the devtome guide, got everything running fine on ubuntu, wallet works and everything, but i can't get it to work with windows.  i've tried pretty much every option and have clean installed like 3 times.  i don't even want to make a windows wallet anymore.  i think my problem is the source code that it links me to and that i cloned from github, when i look at the -qt.pro, the version is: VERSION = 0.6.3

i think this is what is killing me, am i wrong?  do i have to re-do the whole fucking coin from square 1 cloning a more current coin?

On 0.6.3 you should link against qt 4.8 and apply these patches:
https://github.com/laanwj/bitcoin/commit/61d85071405b99c3734606eed31ea8f615c0c77a
https://github.com/bitcoin/bitcoin/commit/6c6255edb54bed780f0879c906dccf6cfa98b4db

I did this, and still having the same problem.  But it did go a hell of a lot further than it went previously.

I ran
Code:
qmake mycoin-qt.pro
mingw32-make -f Makefile.Release
qmake went through well, but the entire time there were a lot of warnings, but it went through.  i don't know if that's normal.

mingw32-make -f Makefile.Release went way further than before, but still...same problem.
Code:
In file included from src/bignum.h:13:0,
                    from src/main.h:9,
                    from src/wallet.h:9,
                    from src/init.h:9,
                    from src\qt\bitcoin.cpp:11:
src/util.h:22:28: fatal error: boost/thread.hpp: No such file or directory
#include <boost/thread.hpp>
                                      ^
compilation terminated.
Makefile.Release:8341: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1

I see a folder thread in my boost folder, but it is in boost_1_55_0/libs/

Should I rename the folder to just boost?  Or would that make a difference?  I have a path set to it in the main .pro file and also in the environmental variables settings.  I don't know what to do Sad

edit: yes when i run
Code:
qmake mycoin-qt.pro

i get a whole lot of
Code:
Warning: ignoring <defaultcodec> element
but it does complete.  is this causing a problem as well ?

edit2: well changing the name of the boost folder did get me past that error (and yes i did change all path names as well to account for this), but now i have a new error:
Code:
c:\Users\XXX>mingw32-make -f Make
file.Release
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -fdiagnostics-show-option -Wa
ll -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fexceptions -mthrea
ds -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV
6 -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -D_MT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI
_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"src" -I"src\json" -I"src\qt" -I"..\..\..\
..\..\deps" -I"..\..\..\..\..\deps\boost" -I"..\..\..\..\..\deps\db-4.8.30.NC\bu
ild_unix" -I"..\..\..\..\..\deps\openssl-1.0.1e\include" -I"..\..\..\..\..\Qt\5.
2.1\qtbase-opensource-src-5.2.1\include" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opens
ource-src-5.2.1\include\QtWidgets" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opensource-
src-5.2.1\include\QtGui" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\
include\QtCore" -I"build" -I"build" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opensource
-src-5.2.1\mkspecs\win32-g++" -o build\bitcoin.o src\qt\bitcoin.cpp
In file included from ..\..\..\..\..\deps\boost/boost/bind/bind.hpp:29:0,
                 from ..\..\..\..\..\deps\boost/boost/bind.hpp:22,
                 from ..\..\..\..\..\deps\boost/boost/thread/detail/thread.hpp:2
9,
                 from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:22,

                 from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
                 from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:13,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/bind/arg.hpp: In constructor 'boost::arg<I>::arg
(const T&)':
..\..\..\..\..\deps\boost/boost/bind/arg.hpp:37:22: warning: typedef 'T_must_be_
placeholder' 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 ..\..\..\..\..\deps\boost/boost/tuple/tuple.hpp:33:0,
                 from ..\..\..\..\..\deps\boost/boost/thread/detail/async_func.h
pp:37,
                 from ..\..\..\..\..\deps\boost/boost/thread/future.hpp:22,
                 from ..\..\..\..\..\deps\boost/boost/thread.hpp:24,
                 from src/util.h:22,
                 from src/bignum.h:13,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/tuple/detail/tuple_basic.hpp: In function 'typen
ame boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuple
s::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::con
s<HT, TT>&)':
..\..\..\..\..\deps\boost/boost/tuple/detail/tuple_basic.hpp:228:45: warning: ty
pedef 'cons_element' locally defined but not used [-Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
In file included from src/bignum.h:13:0,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h: At global scope:
src/util.h:39:29: error: expected ',' or '...' before 'for'
 #define loop                for (;;)
                             ^
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h:96:43: note: in expansion of macro 'loop'
     explicit QEventLoopLocker(QEventLoop *loop);
                                           ^
src/util.h:39:34: error: expected ')' before ';' token
 #define loop                for (;;)
                                  ^
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h:96:43: note: in expansion of macro 'loop'
     explicit QEventLoopLocker(QEventLoop *loop);
                                           ^
src/util.h:39:36: error: expected unqualified-id before ')' token
 #define loop                for (;;)
                                    ^
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h:96:43: note: in expansion of macro 'loop'
     explicit QEventLoopLocker(QEventLoop *loop);
                                           ^
In file included from ..\..\..\..\..\deps\boost/boost/interprocess/errors.hpp:37
:0,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/exceptions.hp
p:20,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/shared_memory
_object.hpp:17,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/ipc/message_q
ueue.hpp:17,
                 from src\qt\bitcoin.cpp:23:
..\..\..\..\..\deps\boost/boost/interprocess/detail/win32_api.hpp:903:116: warni
ng: declaration of 'void* boost::interprocess::winapi::CreateMutexA(boost::inter
process::winapi::interprocess_security_attributes*, int, const char*)' with C la
nguage linkage [enabled by default]
 extern "C" __declspec(dllimport) void * __stdcall CreateMutexA(interprocess_sec
urity_attributes*, int, const char *);

                                    ^
In file included from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_data.h
pp:11:0,
                 from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:15,

                 from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
                 from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:13,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/thread/win32/thread_primitives.hpp:144:55: warni
ng: conflicts with previous declaration 'void* boost::detail::win32::CreateMutex
A(boost::detail::win32::_SECURITY_ATTRIBUTES*, int, const char*)' [enabled by de
fault]
                 __declspec(dllimport) void* __stdcall CreateMutexA(_SECURITY_AT
TRIBUTES*,int,char const*);
                                                       ^
In file included from ..\..\..\..\..\deps\boost/boost/interprocess/errors.hpp:37
:0,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/exceptions.hp
p:20,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/shared_memory
_object.hpp:17,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/ipc/message_q
ueue.hpp:17,
                 from src\qt\bitcoin.cpp:23:
..\..\..\..\..\deps\boost/boost/interprocess/detail/win32_api.hpp:908:127: warni
ng: declaration of 'void* boost::interprocess::winapi::CreateSemaphoreA(boost::i
nterprocess::winapi::interprocess_security_attributes*, long int, long int, cons
t char*)' with C language linkage [enabled by default]
 extern "C" __declspec(dllimport) void * __stdcall CreateSemaphoreA(interprocess
_security_attributes*, long, long, const char *);

                                               ^
In file included from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_data.h
pp:11:0,
                 from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:15,

                 from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
                 from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:13,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/thread/win32/thread_primitives.hpp:145:55: warni
ng: conflicts with previous declaration 'void* boost::detail::win32::CreateSemap
horeA(boost::detail::win32::_SECURITY_ATTRIBUTES*, long int, long int, const cha
r*)' [enabled by default]
                 __declspec(dllimport) void* __stdcall CreateSemaphoreA(_SECURIT
Y_ATTRIBUTES*,long,long,char const*);
                                                       ^
src\qt\bitcoin.cpp: In function 'int qMain(int, char**)':
src\qt\bitcoin.cpp:150:5: error: 'setCodecForTr' is not a member of 'QTextCodec'

     QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
     ^
src\qt\bitcoin.cpp:151:5: error: 'setCodecForCStrings' is not a member of 'QText
Codec'
     QTextCodec::setCodecForCStrings(QTextCodec::codecForTr());
     ^
src\qt\bitcoin.cpp:151:37: error: 'codecForTr' is not a member of 'QTextCodec'
     QTextCodec::setCodecForCStrings(QTextCodec::codecForTr());
                                     ^
In file included from ..\..\..\..\..\deps\boost/boost/thread/shared_mutex.hpp:18
:0,
                 from ..\..\..\..\..\deps\boost/boost/thread/detail/thread_group
.hpp:9,
                 from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:13,
                 from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:13,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp: In instantiation
of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boos
t::shared_mutex::state_data]':
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:124:103:   require
d from here
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:52:99: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
                                                               *reinterpret_cast
<long*>(&comparand));

                   ^
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:52:99: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:53:52: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
             return *reinterpret_cast<T const*>(&res);
                                                    ^
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:53:52: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
In file included from ..\..\..\..\..\deps\boost/boost/interprocess/detail/window
s_intermodule_singleton.hpp:26:0,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/detail/tmp_di
r_helpers.hpp:22,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/shared_memory
_object.hpp:22,
                 from ..\..\..\..\..\deps\boost/boost/interprocess/ipc/message_q
ueue.hpp:17,
                 from src\qt\bitcoin.cpp:23:
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp: In instantiation of 'static ThreadSafeGlobalMap& boost::interprocess::ipcd
etail::intermodule_singleton_common<ThreadSafeGlobalMap>::get_map() [with Thread
SafeGlobalMap = boost::interprocess::ipcdetail::intermodule_singleton_helpers::w
indows_semaphore_based_map]':
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:126:48:   required from 'static void boost::interprocess::ipcdetail::interm
odule_singleton_common<ThreadSafeGlobalMap>::initialize_singleton_logic(void*&,
volatile uint32_t&, void* (*)(ThreadSafeGlobalMap&), bool) [with ThreadSafeGloba
lMap = boost::interprocess::ipcdetail::intermodule_singleton_helpers::windows_se
maphore_based_map; uint32_t = unsigned int; boost::interprocess::ipcdetail::inte
rmodule_singleton_common<ThreadSafeGlobalMap>::singleton_constructor_t = void*(b
oost::interprocess::ipcdetail::intermodule_singleton_helpers::windows_semaphore_
based_map&)]'
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:337:103:   required from 'static void boost::interprocess::ipcdetail::inter
module_singleton_impl<C, LazyInit, Phoenix, ThreadSafeGlobalMap>::atentry_work()
 [with C = boost::interprocess::ipcdetail::windows_bootstamp; bool LazyInit = tr
ue; bool Phoenix = true; ThreadSafeGlobalMap = boost::interprocess::ipcdetail::i
ntermodule_singleton_helpers::windows_semaphore_based_map]'
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:326:26:   required from 'static C& boost::interprocess::ipcdetail::intermod
ule_singleton_impl<C, LazyInit, Phoenix, ThreadSafeGlobalMap>::get() [with C = b
oost::interprocess::ipcdetail::windows_bootstamp; bool LazyInit = true; bool Pho
enix = true; ThreadSafeGlobalMap = boost::interprocess::ipcdetail::intermodule_s
ingleton_helpers::windows_semaphore_based_map]'
..\..\..\..\..\deps\boost/boost/interprocess/detail/tmp_dir_helpers.hpp:45:97:
 required from here
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:205:93: warning: dereferencing type-punned pointer will break strict-aliasi
ng rules [-Wstrict-aliasing]
       return *static_cast<ThreadSafeGlobalMap *>(static_cast<void *>(&mem_holde
r.map_mem[0]));

             ^
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_primit
ives.hpp:16,
                 from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_data.h
pp:11,
                 from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:15,

                 from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
                 from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:13,
                 from src/main.h:9,
                 from src/wallet.h:9,
                 from src/init.h:9,
                 from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/system/error_code.hpp: At global scope:
..\..\..\..\..\deps\boost/boost/system/error_code.hpp:222:36: warning: 'boost::s
ystem::posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
..\..\..\..\..\deps\boost/boost/system/error_code.hpp:223:36: warning: 'boost::s
ystem::errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
..\..\..\..\..\deps\boost/boost/system/error_code.hpp:224:36: warning: 'boost::s
ystem::native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
Makefile.Release:10542: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1

c:\Users\XXX>
apple_talk
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


"Proof-of-Asset Protocol"


View Profile
March 07, 2014, 01:00:51 AM
Last edit: March 09, 2014, 07:12:56 AM by apple_talk
 #439

mingw32-make -f makefile.mingw

Here is cleanup error:-
Code:
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/alert.o alert.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/version.o version.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/checkpoints.o checkpoints.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/netbase.o netbase.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/addrman.o addrman.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/crypter.o crypter.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/key.o key.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/db.o db.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/init.o init.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/keystore.o keystore.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/main.o main.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/net.o net.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/protocol.o protocol.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/bitcoinrpc.o bitcoinrpc.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/rpcdump.o rpcdump.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/rpcnet.o rpcnet.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/rpcmining.o rpcmining.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/rpcwallet.o rpcwallet.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/rpcblockchain.o rpcblockchain.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/rpcrawtransaction.o rpcrawtransaction.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/script.o script.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/scrypt.o scrypt.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/sync.o sync.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/util.o util.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/wallet.o wallet.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/walletdb.o walletdb.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/hash.o hash.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/bloom.o bloom.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/noui.o noui.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/leveldb.o leveldb.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/checkpointsync.o checkpointsync.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/txdb.o txdb.cpp
g++ -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -o bitcoind.exe -L"C:/bitcoin-0.8.6/src/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.1e" leveldb/libleveldb.a 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/keystore.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 obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/checkpointsync.o obj/txdb.o -l leveldb -l memenv -l boost_system-mgw48-mt-s-1_55 -l boost_filesystem-mgw48-mt-s-1_55 -l boost_program_options-mgw48-mt-s-1_55 -l boost_thread-mgw48-mt-s-1_55 -l boost_chrono-mgw48-mt-s-1_55 -l db_cxx -l ssl -l crypto -l mingwthrd -l kernel32 -l user32 -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
makefile.mingw:138: recipe for target 'bitcoind.exe' failed
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi
n/ld.exe: reopening bitcoind.exe: Permission denied
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi
n/ld.exe: final link failed: Permission denied
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [bitcoind.exe] Error 1

|
 
 
50
|
 




                       ▄
           ▄▄▄▄▄▄███████
▄▄▄▄█████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████

█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
█████████  █████████████
▀▀▀▀█████  █████████████
           ▀▀▀▀▀▀███████
                       ▀
|
 
 
$1,5 M
|



        ▄▄▄█████████▄▄▄
      ▄█████▀▀███▀▀█████▄
    ▄███▀     ███     ▀███▄
   ████       ███       ████
  ███▀                   ▀███
 ███▀                     ▀███
▄██▀       █████████       ▀██▄
███                         ███
███        █████████        ███
███                         ███
▀██▄       █████████       ▄██▀
 ███▄                     ▄███
  ███▄                   ▄███
   ████       ███       ████
    ▀███▄     ███     ▄███▀
      ▀█████▄▄███▄▄█████▀
        ▀▀▀█████████▀▀▀
|
 
|
 
<>
<>
<>
<>
 
GITHUB
TWITTER
YOUTUBE
FACEBOOK
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
March 07, 2014, 04:53:43 AM
 #440

mingw32-make -f makefile.mingw

Here is cleanup error:-
Code:
... txdb.cpp
g++ -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -o vcoind.exe -L"C:/bitcoin-0.8.6/src/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.1e" leveldb/libleveldb.a 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/keystore.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 obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/checkpointsync.o obj/txdb.o -l leveldb -l memenv -l boost_system-mgw48-mt-s-1_55 -l boost_filesystem-mgw48-mt-s-1_55 -l boost_program_options-mgw48-mt-s-1_55 -l boost_thread-mgw48-mt-s-1_55 -l boost_chrono-mgw48-mt-s-1_55 -l db_cxx -l ssl -l crypto -l mingwthrd -l kernel32 -l user32 -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
makefile.mingw:138: recipe for target 'bitcoind.exe' failed
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi
n/ld.exe: reopening bitcoind.exe: Permission denied
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi
n/ld.exe: final link failed: Permission denied
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [bitcoind.exe] Error 1


On that last long line I see it making vcoind.exe?  Then the batch file looks for bitcoind.exe?  So one or the other (or both) are wrong?

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!