Pages:
Author

Topic: Building headless Bitcoin and Bitcoin-qt on Windows - page 17. (Read 419390 times)

hero member
Activity: 597
Merit: 500
Hey I'm getting this:

Code:
g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -static-l
ibgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\monet
aryunit-qt.exe object_script.monetaryunit-qt.Release  -L"c:\Qt\4.8.6\lib" -lming
wthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -lshlwapi -lssl -lcrypto -ldb_cx
x -lboost_system-mgw49-mt-s-1_57 -lboost_filesystem-mgw49-mt-s-1_57 -lboost_prog
ram_options-mgw49-mt-s-1_57 -lboost_thread-mgw49-mt-s-1_57 -lqrencode -LC:/deps/
miniupnpc -lminiupnpc -liphlpapi C:/Wallet-Qt/MUE/src/leveldb/libleveldb.a C:/Wa
llet-Qt/MUE/src/leveldb/libmemenv.a -lshlwapi -LC:/deps/boost_1_57_0/stage/lib -
LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4
.4/.libs -lssl -lcrypto -ldb_cxx -lshlwapi -lmswsock -lboost_system-mgw49-mt-s-1
_57 -lboost_filesystem-mgw49-mt-s-1_57 -lboost_program_options-mgw49-mt-s-1_57 -
lboost_thread-mgw49-mt-s-1_57 -lboost_chrono-mgw49-mt-s-1_57 -lQtGui -lQtNetwork
 -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lo
le32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lssl
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lcrypto
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_system-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_filesystem-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_program_options-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_thread-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lssl
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lcrypto
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_system-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_filesystem-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_program_options-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_thread-mgw49-mt-s-1_57
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_chrono-mgw49-mt-s-1_57
collect2.exe: error: ld returned 1 exit status
Makefile.Release:297: recipe for target 'release\monetaryunit-qt.exe' failed
mingw32-make: *** [release\monetaryunit-qt.exe] Error 1

C:\Wallet-Qt\MUE>�

Followed everything to the dot, compiling MonetaryUnit with Qt 4.8.6.

The qt-pro has the correct links.

All the files are there, I don't know why mingw can't see them:
legendary
Activity: 910
Merit: 1000
getting some errors with 10.99 master(windows), last time it was fine to compile(2 weeks ago..)

./configure: line 16350: PKG_PROG_PKG_CONFIG: command not found

./configure: line 21247: syntax error near unexpected token `QTPLATFORM,'
./configure: line 21247: `        PKG_CHECK_MODULES(QTPLATFORM, Qt5PlatformSuppo
rt, QT_LIBS="$QTPLATFORM_LIBS $QT_LIBS")'

solution, roll back: 
Remove custom pkg.m4 script.
master    (#5688)
legendary
Activity: 1400
Merit: 1000
Has anyone been able to build under MXE on Ubuntu?

Code:
export PATH=$PWD/libjl777/mxe/usr/bin:$PATH
echo ">>>>>>>>>>>>>>>>>>building"
$PWD/libjl777/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake "USE_UPNP=-"
make CXX=$PWD/libjl777/mxe/usr/bin/i686-w64-mingw32.static-g++
echo '>>>>>>>>>>>>>>>>>>finished'

I have built libleveldb.a and libmemenv.a using

Code:
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=/home/matthew/Desktop/coins/orig-btcddev/btcd/libjl777/mxe/usr/bin/i686-w64-mingw32.static-gcc CXX=/home/matthew/Desktop/coins/orig-btcddev/btcd/libjl777/mxe/usr/bin/i686-w64-mingw32.static-g++

But getting leveldb errors:

Code:
        ^
src/walletdb.h:156:73: error: 'Write' was not declared in this scope
         return Write(std::make_pair(std::string("pool"), nPool), keypool);
                                                                         ^
src/walletdb.h: In member function 'bool CWalletDB::ErasePool(int64_t)':
src/walletdb.h:161:9: error: 'nWalletDBUpdated' was not declared in this scope
         nWalletDBUpdated++;
         ^
src/walletdb.h:162:64: error: 'Erase' was not declared in this scope
         return Erase(std::make_pair(std::string("pool"), nPool));

Makefile.Release shows src/leveldb/include in the INCPATH, I wonder what's wrong?
I have built novacoin-qt under MXE on Linux Mint 17.1....
But it seems you're doing everything right...
Meanwhile
Code:
export PATH=/home/fsb400/mxe/usr/bin:$PATH
fsb400@fsb400-VirtualBox ~/bitcoindark-master $  i686-w64-mingw32.static-qmake-qt5 "USE_QRCODE=1" "USE_UPNP=1" "USE_IPV6=1"  BitcoinDark-qt.pro
fsb400@fsb400-VirtualBox ~/bitcoindark-master $ make -j 2 -f Makefile.Release
sr. member
Activity: 255
Merit: 251
Has anyone been able to build under MXE on Ubuntu?

Code:
export PATH=$PWD/libjl777/mxe/usr/bin:$PATH
echo ">>>>>>>>>>>>>>>>>>building"
$PWD/libjl777/mxe/usr/i686-w64-mingw32.static/qt5/bin/qmake "USE_UPNP=-"
make CXX=$PWD/libjl777/mxe/usr/bin/i686-w64-mingw32.static-g++
echo '>>>>>>>>>>>>>>>>>>finished'

I have built libleveldb.a and libmemenv.a using

Code:
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=/home/matthew/Desktop/coins/orig-btcddev/btcd/libjl777/mxe/usr/bin/i686-w64-mingw32.static-gcc CXX=/home/matthew/Desktop/coins/orig-btcddev/btcd/libjl777/mxe/usr/bin/i686-w64-mingw32.static-g++

But getting leveldb errors:

Code:
        ^
src/walletdb.h:156:73: error: 'Write' was not declared in this scope
         return Write(std::make_pair(std::string("pool"), nPool), keypool);
                                                                         ^
src/walletdb.h: In member function 'bool CWalletDB::ErasePool(int64_t)':
src/walletdb.h:161:9: error: 'nWalletDBUpdated' was not declared in this scope
         nWalletDBUpdated++;
         ^
src/walletdb.h:162:64: error: 'Erase' was not declared in this scope
         return Erase(std::make_pair(std::string("pool"), nPool));

Makefile.Release shows src/leveldb/include in the INCPATH, I wonder what's wrong?
full member
Activity: 131
Merit: 108
Hi Anyone know where I can get a tutorial on compiling a wallet ( not constructing one ) from source code on windows 8.  thx

See first post.


Error at "autogen.sh"

Can you paste the error message?
sr. member
Activity: 448
Merit: 250
Oh thanks !  you helped me a lot, i higly apreciate that. Do you want a btc tip ?
You replied to my massage " Hi Anyone know where I can get a tutorial on compiling a wallet ( not constructing one ) from source code on windows 8.  thx "
Read back.
Sorry, it was a mistake, fixed that already.
sr. member
Activity: 448
Merit: 250
sr. member
Activity: 448
Merit: 250

hi, i have managed to compile Bitcoin wallet from source bitcoin-0.9.0rc3 provided in the first post, but i cannot compile other coins, like Darkcoin for example.

Error at "autogen.sh" or if i skip that then error: "sh: ./configure: No such file or directory"
Help ?


Code:
$ CPPFLAGS="-I/c/deps/boost_1_55_0 \
> -I/c/deps/db-4.8.30.NC/build_unix \
> -I/c/deps/openssl-1.0.1f/include \
> -I/c/deps \
> -I/c/deps/protobuf-2.5.0/src \
> -I/c/deps/libpng-1.6.9 \
> -I/c/deps/qrencode-3.4.3" \
> LDFLAGS="-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.1f \
> -L/c/deps/miniupnpc \
> -L/c/deps/protobuf-2.5.0/src/.libs \
> -L/c/deps/libpng-1.6.9/.libs \
> -L/c/deps/qrencode-3.4.3/.libs" \
> ./configure \
> --disable-upnp-default \
> --disable-tests \
> --with-qt-incdir=/c/Qt/5.2.1/include \
> --with-qt-libdir=/c/Qt/5.2.1/lib \
> --with-qt-bindir=/c/Qt/5.2.1/bin \
> --with-qt-plugindir=/c/Qt/5.2.1/plugins \
> --with-boost-system=mgw48-mt-s-1_55 \
> --with-boost-filesystem=mgw48-mt-s-1_55 \
> --with-boost-program-options=mgw48-mt-s-1_55 \
> --with-boost-thread=mgw48-mt-s-1_55 \
> --with-boost-chrono=mgw48-mt-s-1_55 \
> --with-protoc-bindir=/c/deps/protobuf-2.5.0/src
sh: ./configure: No such file or directory
legendary
Activity: 3164
Merit: 1003
Hi Anyone know where I can get a tutorial on compiling a wallet ( not constructing one ) from source code on windows 8.  thx
RJX
legendary
Activity: 1078
Merit: 1003
I did it.

I'm proud.

Thank you.
RJX
legendary
Activity: 1078
Merit: 1003

'gcc' is not recognized as an internal or external command,


Did you uncheck everything but

automake
autoconf
autolib
base?

Then you probably unchecked that as well. Just start the mingw installer and check the 4 bins specified and then apply changes, leave the rest be. I think that solved it for me 15000 tries ago, but then again...

Maybe copy the path from OP as well, don't know if that matters.

 Grin
newbie
Activity: 4
Merit: 0
Well I suck -

I keep getting this error:

C:\deps\boost_1_55_0>bootstrap.bat mingw
Building Boost.Build engine
'gcc' is not recognized as an internal or external command,
operable program or batch file.

Failed to build Boost.Build engine.
Please consult bootstrap.log for furter diagnostics.

My Path is this:
C:\mingw32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Perl64\site\bin;C:\Perl

so... any ideas?

Thanks in advance for help

legendary
Activity: 1820
Merit: 1001
Too much work for me to even build. Ill just stick to simple download install job done.
RJX
legendary
Activity: 1078
Merit: 1003

patched has_binary_operator.hpp (first manually added #endif at end of line 25 with a space between .hpp and #endif, then patched)
Not sure what you mean, but as I said you need to wrap has_binary_operator.hpp in a #ifndef Q_MOC_RUN. Just insert #ifndef Q_MOC_RUN at line 8 and #endif at the end of the file:


I'm not sure what to do with the patching situations, do I:

a) edit manually and patch?

b) edit manually or patch?

They're the same thing right?

This:
Quote
(first manually added #endif at end of line 25 with a space between .hpp and #endif, then patched)

was confusion from a post on page 29 I think it was, forget that.

newbie
Activity: 30
Merit: 0
Unfortunately I never tried building the qt client, I'll see if I can have a look at it and report back if I manage to build it successfully Wink

can help with creating the wallet
full member
Activity: 131
Merit: 108
patched has_binary_operator.hpp (first manually added #endif at end of line 25 with a space between .hpp and #endif, then patched)
Not sure what you mean, but as I said you need to wrap has_binary_operator.hpp in a #ifndef Q_MOC_RUN. Just insert #ifndef Q_MOC_RUN at line 8 and #endif at the end of the file:

Code:
--- has_binary_operator.hpp Thu Oct 30 11:47:21 2014
+++ has_binary_operator.hpp Mon Jan 05 23:58:51 2015
@@ -6,6 +6,7 @@
 //
 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
 
+#ifndef Q_MOC_RUN
 #include
 #include
 #include
@@ -227,3 +228,4 @@
 #endif
 
 #include
+#endif

Tuxcoin compiles fine after patching has_binary_operator.hpp. See tuxcoin-qt.pro diff:
Code:
--- tuxcoin-qt.pro Fri Jan 02 22:11:31 2015
+++ tuxcoin-qt.pro Sun Jan 11 16:54:29 2015
@@ -8,6 +8,7 @@
 DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
 CONFIG += no_include_pwd
 CONFIG += thread
+CONFIG += static
 
 
 
@@ -38,15 +39,17 @@
 
 
 win32 {
-    BOOST_LIB_SUFFIX=-mgw48-mt-s-1_55
-    BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
-    BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
+    BOOST_LIB_SUFFIX=-mgw49-mt-s-1_57
+    BOOST_INCLUDE_PATH=C:/deps/boost_1_57_0
+    BOOST_LIB_PATH=C:/deps/boost_1_57_0/stage/lib
     BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
     BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
-    OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1g/include
-    OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1g
+    OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1j/include
+    OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1j
     MINIUPNPC_INCLUDE_PATH=C:/deps/
     MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
+    QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4
+    QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
 }
 OBJECTS_DIR = build
 MOC_DIR = build
@@ -79,7 +82,7 @@
 # on Windows: enable GCC large address aware linker flag
 win32:QMAKE_LFLAGS *= -Wl,--large-address-aware -static
 # i686-w64-mingw32
-win32:QMAKE_LFLAGS *= -static-libgcc -static-libstdc++
+#win32:QMAKE_LFLAGS *= -static-libgcc -static-libstdc++
 
 # use: qmake "USE_QRCODE=1"
 # libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
@@ -100,7 +103,7 @@
     count(USE_UPNP, 0) {
         USE_UPNP=1
     }
-    DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
+    DEFINES += USE_UPNP=$$USE_UPNP MINIUPNP_STATICLIB
     INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
     LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
     win32:LIBS += -liphlpapi

RJX
legendary
Activity: 1078
Merit: 1003
I think I finally have a decent question:

Using the first post trying to compile tuxcoin-qt.exe (Qt480/boost157/miniupnp19):

skipped tuxcoind. set libs.

patched has_binary_operator.hpp (first manually added #endif at end of line 25 with a space between .hpp and #endif, then patched)

replaced boost/lexical_cast.hpp to the one found here

replaced boost/type_traits/has_left_shift.hpp to the one found here

I am aware these link to boost 153 files but somewhere deep last night I think I decided they we're good to use, so there may be a problem.

changed -DSTATICLIB into DMINIUPNP_STATICLIB, and tried to qmake with both 'USE_UPNPC=-' and 'USE_=1' (does this manual change require a 'confirmation' via a patch? I'm unclear as to manual changes require 'confirmation' by patches...)

Every time I get stuck with 77 files in the build folder, i delete that and the 5 files one folder up and try again. I'm just not getting past this error and too stubborn to give up this path and try with other Qt and/or Boost.

Code:
                from src\bitcoinrpc.h:16,
                 from src\rpcrawtransaction.cpp:9:
..\deps\boost_1_57_0/boost/spirit/home/classic/core/primitives/primitives.hpp: I
n member function 'typename boost::spirit::classic::parser_resultnerT>::type boost::spirit::classic::char_parser::parse(const ScannerT&)
 const':
..\deps\boost_1_57_0/boost/spirit/home/classic/core/primitives/primitives.hpp:50
:68: warning: typedef 'result_t' locally defined but not used [-Wunused-local-ty
pedefs]
             typedef typename parser_result::type result_t;
                                                                    ^
In file included from ..\deps\boost_1_57_0/boost/spirit/home/classic/core/non_te
rminal/grammar.hpp:21:0,
                 from ..\deps\boost_1_57_0/boost/spirit/home/classic/core.hpp:42
,
                 from ..\deps\boost_1_57_0/boost/spirit/include/classic_core.hpp
:11,
                 from src\json/json_spirit_reader_template.h:19,
                 from src\bitcoinrpc.h:16,
                 from src\rpcrawtransaction.cpp:9:
..\deps\boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ip
p: In function 'void boost::spirit::classic::impl::grammar_destruct(GrammarT*)':

..\deps\boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ip
p:285:68: warning: typedef 'iterator_t' locally defined but not used [-Wunused-l
ocal-typedefs]
         typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;
                                                                    ^
In file included from ..\deps\boost_1_57_0/boost/thread/shared_mutex.hpp:18:0,
                 from ..\deps\boost_1_57_0/boost/thread/detail/thread_group.hpp:
9,
                 from ..\deps\boost_1_57_0/boost/thread/thread.hpp:13,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:13,
                 from src\util.h:24,
                 from src\bignum.h:12,
                 from src\base58.h:21,
                 from src\rpcrawtransaction.cpp:8:
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T
 boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sh
ared_mutex::state_data]':
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:130:103:   required fro
m here
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                                                               *reinterpret_cast
(&comparand));

                   ^
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             return *reinterpret_cast(&res);
                                                    ^
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\qvalidatedlineedi
t.o src\qt\qvalidatedlineedit.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\bitcoinunits.o sr
c\qt\bitcoinunits.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\qvaluecombobox.o
src\qt\qvaluecombobox.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\askpassphrasedial
og.o src\qt\askpassphrasedialog.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\protocol.o src\pr
otocol.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\notificator.o src
\qt\notificator.cpp
g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fexcepti
ons -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security
 -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L
IB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD
_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I
"..\Qt\4.8.6\include\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\inc
lude" -I"src" -I"src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\hel
pers" -I"..\deps\boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\op
enssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt
" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\paymentserver.o s
rc\qt\paymentserver.cpp
C:\Qt\4.8.6\bin\moc.exe -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT
_THREADSAFE -DUSE_QRCODE -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_NO_
DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -D
QT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\Qt\4.8.6\include\QtCore" -I"..\Qt\4.8.6\incl
ude\QtNetwork" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\include" -I"src" -I"
src\json" -I"src\qt" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\deps\
boost_1_57_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\openssl-1.0.1j\incl
ude" -I"..\deps\qrencode-3.4.4" -I"..\Qt\4.8.6\include\ActiveQt" -I"build" -I"bu
ild" -I"..\Qt\4.8.6\mkspecs\default" -D__GNUC__ -DWIN32 src\qt\rpcconsole.cpp -o
 build\rpcconsole.moc
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_plus.hpp:48:0,
                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:23,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src\util.h:24,
                 from src\protocol.cpp:7:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_plus_assign.hpp
:60:0,
                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:24,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src\util.h:24,
                 from src\protocol.cpp:7:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_minus.hpp:54:0,

                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:25,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src\util.h:24,
                 from src\protocol.cpp:7:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_minus_assign.hp
p:59:0,
                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:26,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src\util.h:24,
                 from src\protocol.cpp:7:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_plus.hpp:48:0,
                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:23,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src/util.h:24,
                 from src/ui_interface.h:9,
                 from src\qt\paymentserver.cpp:10:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_plus_assign.hpp
:60:0,
                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:24,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src/util.h:24,
                 from src/ui_interface.h:9,
                 from src\qt\paymentserver.cpp:10:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_minus.hpp:54:0,

                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:25,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src/util.h:24,
                 from src/ui_interface.h:9,
                 from src\qt\paymentserver.cpp:10:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
In file included from ..\deps\boost_1_57_0/boost/type_traits/has_minus_assign.hp
p:59:0,
                 from ..\deps\boost_1_57_0/boost/next_prior.hpp:26,
                 from ..\deps\boost_1_57_0/boost/thread/future.hpp:54,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:24,
                 from src/util.h:24,
                 from src/ui_interface.h:9,
                 from src\qt\paymentserver.cpp:10:
..\deps\boost_1_57_0/boost/type_traits/detail/has_binary_operator.hpp:25:56: war
ning: extra tokens at end of #include directive
 #include #endif
                                                        ^
:/deps/boost_1_57_0/boost/type_traits/detail/has_binary_operator.hp:50: Parse er
ror at "BOOST_JOIN"
Makefile.Release:738: recipe for target 'build/rpcconsole.moc' failed
mingw32-make: *** [build/rpcconsole.moc] Error 1
mingw32-make: *** Waiting for unfinished jobs....
In file included from ..\deps\boost_1_57_0/boost/thread/shared_mutex.hpp:18:0,
                 from ..\deps\boost_1_57_0/boost/thread/detail/thread_group.hpp:
9,
                 from ..\deps\boost_1_57_0/boost/thread/thread.hpp:13,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:13,
                 from src\util.h:24,
                 from src\protocol.cpp:7:
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T
 boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sh
ared_mutex::state_data]':
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:130:103:   required fro
m here
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                                                               *reinterpret_cast
(&comparand));

                   ^
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             return *reinterpret_cast(&res);
                                                    ^
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from ..\deps\boost_1_57_0/boost/thread/shared_mutex.hpp:18:0,
                 from ..\deps\boost_1_57_0/boost/thread/detail/thread_group.hpp:
9,
                 from ..\deps\boost_1_57_0/boost/thread/thread.hpp:13,
                 from ..\deps\boost_1_57_0/boost/thread.hpp:13,
                 from src/util.h:24,
                 from src/ui_interface.h:9,
                 from src\qt\paymentserver.cpp:10:
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T
 boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sh
ared_mutex::state_data]':
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:130:103:   required fro
m here
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                                                               *reinterpret_cast
(&comparand));

                   ^
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             return *reinterpret_cast(&res);
                                                    ^
..\deps\boost_1_57_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer
encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

C:\tuxcoin-master>

Can someone tell me what i'm missing here? After a failed build I only delete mentioned files, I never reinstalled the master because of applied patches to qt.pro and makefile.mingw.

Should I just downgrade boost to 155 or 152 when using Qt 4.8? I say 'just' but really I still don't know what freedom of movement one has in this strange yet interesting environment. It's like a maze!

Anyway, thanks for bearing with me and excuse my previous nervous posts. I'm in the tunnel know, I guess what I see is the end of it and i'm not turning back now.

 Cheesy
RJX
legendary
Activity: 1078
Merit: 1003

When using current 1.9 miniupnpc sources make sure to define -DMINIUPNP_STATICLIB instead of -DSTATICLIB (v1.9 release still needs -DSTATICLIB).


where/how would I change this..?

edit: makefile.mingw right?
full member
Activity: 131
Merit: 108
Assuming you are installing from scratch marking msys-base-bin, msys-autoconf-bin, msys-automake-bin and msys-libtool-bin for installation will provide everything you need.
RJX
legendary
Activity: 1078
Merit: 1003

1.1 Install msys shell:
http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
From MinGW installation manager -> All packages -> MSYS
mark the following for installation:

msys-base-bin
msys-autoconf-bin
msys-automake-bin
msys-libtool-bin


then click on Installation -> Apply changes

1 Make sure no mingw packages are checked for installation or present from a previous install. 2 Only the above msys packages should be installed. Also make sure that msys-gcc and msys-w32api packages are not installed.

1.3. Ensure that mingw-builds bin folder is set in your PATH environment variable. On Windows 7 your path should look something like:
Code:
C:\mingw32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

2.1 OpenSSL: http://www.openssl.org/source/openssl-1.0.1j.tar.gz
From a MinGw shell (C:\MinGW\msys\1.0\msys.bat), 3 unpack the source archive with tar (this will avoid symlink issues) then configure and make:


1 ok noob question: but I do leave the mingw package downloader 'green' right?
2 If only installing specified packages, I dont have bash or tar so what do I do: I installed them when I notice they are missing

3 without tar and shell I cannot continue.

If I follow guide to the letter I get stuck very fast. If I leave the prechecked packages checked, except the gcc and w32api, then I can continue but I'm not sure if this will end up in a positive result.

I have no programming experience whatsoever, I do not recognize things that developers take for granted. I cannot guess what liberty I have to wander off the track of this guide.

I have Perl and python installed as well but that shouldt conflict i read somewhere.

Please clarify.




Pages:
Jump to: