Pages:
Author

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

sr. member
Activity: 444
Merit: 250
I prefer evolution to revolution.
and my entire ambercoin .pro file (minus the +input parts)
...
if anyone could skim through and help it would be greatly appreciated.
Didn't Ron's post help last time?

no i tried a 'make clean' to delete all the files and start fresh, same error.
I mean this advice, not my own:
Hello Chinook

The line above:
n/ld.exe: cannot find -lssl

suggests strongly that either the file libssl.a ain't where you told the linker/loader it was, that is, the LIBPATHS= ... argument, or any combination of something being wrong! It isn't there, or the library path isn't correct, it is there with the wrong name or the library path isn't there or is the wrong path, etc. etc.

Similarly for all the boost libraries, libboost_chrono-mgw44-mt-1_53.a, etc.

Also, it is curious and may be of concern that it appears you are compiling a versoin of gcc 4.9.2 and linking it with a boost 1.53  that was built with a gcc 4.4-ish

I don't know how to read the -w64- in your gcc path:
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.ex1
since I don't run on a 64bit version of windows.  It may or may not have some bearing on the final result?

That's about all I can see, hope it helps...

Ron

newbie
Activity: 28
Merit: 0
and my entire ambercoin .pro file (minus the +input parts)
...
if anyone could skim through and help it would be greatly appreciated.
Didn't Ron's post help last time?

try 'make clean' delete all the files and start fresh
legendary
Activity: 1400
Merit: 1000
if anyone could skim through and help it would be greatly appreciated.
I can.
My .pro file
Code:
# x13 version

TEMPLATE = app
TARGET = AmberCoin-qt
VERSION = 2.1.0.1
INCLUDEPATH += src src/json src/qt
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += no_include_pwd
CONFIG += thread
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
lessThan(QT_MAJOR_VERSION, 5): CONFIG += static
QMAKE_CXXFLAGS = -fpermissive

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += widgets
    DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
}

win32 {
BOOST_LIB_SUFFIX=-mgw49-mt-s-1_57
BOOST_THREAD_LIB_SUFFIX = $$BOOST_LIB_SUFFIX
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.2a/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.2a
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
}

# for boost 1.37, add -mt to the boost libraries
# use: qmake BOOST_LIB_SUFFIX=-mt
# for boost thread win32 with _win32 sufix
# use: BOOST_THREAD_LIB_SUFFIX=_win32-...
# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8

# Dependency library locations can be customized with:
#    BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
#    BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively

OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build

# use: qmake "RELEASE=1"
contains(RELEASE, 1) {
    macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    macx:QMAKE_CFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    macx:QMAKE_LFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

    !windows:!macx {
        # Linux: static link
        # LIBS += -Wl,-Bstatic
    }
}

!win32 {
# for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection
QMAKE_CXXFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
# We need to exclude this for Windows cross compile with MinGW 4.2.x, as it will result in a non-working executable!
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x.
}
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat,--large-address-aware -static
win32:QMAKE_LFLAGS += -static-libgcc -static-libstdc++
lessThan(QT_MAJOR_VERSION, 5): win32: QMAKE_LFLAGS *= -static

USE_QRCODE=1
# use: qmake "USE_QRCODE=1"
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
contains(USE_QRCODE, 1) {
    message(Building with QRCode support)
    DEFINES += USE_QRCODE
    macx:LIBS += -lqrencode
    win32:INCLUDEPATH +=$$QRENCODE_INCLUDE_PATH
    win32:LIBS += $$join(QRENCODE_LIB_PATH,,-L) -lqrencode
    !win32:!macx:LIBS += -lqrencode
}

# use: qmake "USE_UPNP=1" ( enabled by default; default)
#  or: qmake "USE_UPNP=0" (disabled by default)
#  or: qmake "USE_UPNP=-" (not supported)
# miniupnpc (http://miniupnp.free.fr/files/) must be installed for support
USE_UPNP=1
contains(USE_UPNP, -) {
    message(Building without UPNP support)
} else {
    message(Building with UPNP support)
    count(USE_UPNP, 0) {
        USE_UPNP=1
    }
    DEFINES += USE_UPNP=$$USE_UPNP STATICLIB MINIUPNP_STATICLIB
    INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
    LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
    win32:LIBS += -liphlpapi
}

# use: qmake "USE_DBUS=1"
contains(USE_DBUS, 1) {
    message(Building with DBUS (Freedesktop notifications) support)
    DEFINES += USE_DBUS
    QT += dbus
}

# use: qmake "USE_IPV6=1" ( enabled by default; default)
#  or: qmake "USE_IPV6=0" (disabled by default)
#  or: qmake "USE_IPV6=-" (not supported)
contains(USE_IPV6, -) {
    message(Building without IPv6 support)
} else {
    message(Building with IPv6 support)
    count(USE_IPV6, 0) {
        USE_IPV6=1
    }
    DEFINES += USE_IPV6=$$USE_IPV6
}

contains(BITCOIN_NEED_QT_PLUGINS, 1) {
    DEFINES += BITCOIN_NEED_QT_PLUGINS
    QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets
}

INCLUDEPATH += src/leveldb/include src/leveldb/helpers
LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
SOURCES += src/txdb-leveldb.cpp \
    src/bloom.cpp \
    src/hash.cpp \
    src/aes_helper.c \
    src/blake.c \
    src/bmw.c \
    src/cubehash.c \
    src/echo.c \
    src/groestl.c \
    src/jh.c \
    src/keccak.c \
    src/luffa.c \
    src/shavite.c \
    src/simd.c \
    src/skein.c \
    src/fugue.c \
    src/hamsi.c
NO_LEVELDB=1
!contains(NO_LEVELDB, 1) {
    !win32 {
        # we use QMAKE_CXXFLAGS_RELEASE even without RELEASE=1 because we use RELEASE to indicate linking preferences not -O preferences
        genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a
    } else {
        # make an educated guess about what the ranlib command is called
        isEmpty(QMAKE_RANLIB) {
            QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
        }
        LIBS += -lshlwapi
        genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
    }
    genleveldb.target = $$PWD/src/leveldb/libleveldb.a
    genleveldb.depends = FORCE
    PRE_TARGETDEPS += $$PWD/src/leveldb/libleveldb.a
    QMAKE_EXTRA_TARGETS += genleveldb
    # Gross ugly hack that depends on qmake internals, unfortunately there is no other way to do it.
    QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean
}
# regenerate src/build.h
!windows|contains(USE_BUILD_INFO, 1) {
    genbuild.depends = FORCE
    genbuild.commands = cd $$PWD; /bin/sh share/genbuild.sh $$OUT_PWD/build/build.h
    genbuild.target = $$OUT_PWD/build/build.h
    PRE_TARGETDEPS += $$OUT_PWD/build/build.h
    QMAKE_EXTRA_TARGETS += genbuild
    DEFINES += HAVE_BUILD_INFO
}

contains(USE_O3, 1) {
    message(Building O3 optimization flag)
    QMAKE_CXXFLAGS_RELEASE -= -O2
    QMAKE_CFLAGS_RELEASE -= -O2
    QMAKE_CXXFLAGS += -O3
    QMAKE_CFLAGS += -O3
}

*-g++-32 {
    message("32 platform, adding -msse2 flag")

    QMAKE_CXXFLAGS += -msse2
    QMAKE_CFLAGS += -msse2
}

greaterThan(QT_MAJOR_VERSION, 4) {
    win32:QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
    macx:QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
}
lessThan(QT_MAJOR_VERSION, 5) {
    QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
}

# Input
DEPENDPATH += src src/json src/qt
HEADERS += src/qt/bitcoingui.h \
    src/qt/transactiontablemodel.h \
    src/qt/addresstablemodel.h \
    src/qt/optionsdialog.h \
    src/qt/coincontroldialog.h \
    src/qt/coincontroltreewidget.h \
    src/qt/sendcoinsdialog.h \
    src/qt/addressbookpage.h \
    src/qt/signverifymessagedialog.h \
    src/qt/aboutdialog.h \
    src/qt/editaddressdialog.h \
    src/qt/bitcoinaddressvalidator.h \
    src/alert.h \
    src/addrman.h \
    src/base58.h \
    src/bignum.h \
    src/checkpoints.h \
    src/compat.h \
    src/coincontrol.h \
    src/sync.h \
    src/util.h \
    src/uint256.h \
    src/uint256_t.h \
    src/kernel.h \
    src/scrypt.h \
    src/pbkdf2.h \
    src/serialize.h \
    src/strlcpy.h \
    src/main.h \
    src/miner.h \
    src/net.h \
    src/key.h \
    src/db.h \
    src/txdb.h \
    src/walletdb.h \
    src/script.h \
    src/init.h \
    src/irc.h \
    src/mruset.h \
    src/json/json_spirit_writer_template.h \
    src/json/json_spirit_writer.h \
    src/json/json_spirit_value.h \
    src/json/json_spirit_utils.h \
    src/json/json_spirit_stream_reader.h \
    src/json/json_spirit_reader_template.h \
    src/json/json_spirit_reader.h \
    src/json/json_spirit_error_position.h \
    src/json/json_spirit.h \
    src/qt/clientmodel.h \
    src/qt/guiutil.h \
    src/qt/transactionrecord.h \
    src/qt/guiconstants.h \
    src/qt/optionsmodel.h \
    src/qt/monitoreddatamapper.h \
    src/qt/transactiondesc.h \
    src/qt/transactiondescdialog.h \
    src/qt/bitcoinamountfield.h \
    src/wallet.h \
    src/keystore.h \
    src/qt/transactionfilterproxy.h \
    src/qt/transactionview.h \
    src/qt/walletmodel.h \
    src/bitcoinrpc.h \
    src/qt/overviewpage.h \
    src/qt/csvmodelwriter.h \
    src/crypter.h \
    src/qt/sendcoinsentry.h \
    src/qt/qvalidatedlineedit.h \
    src/qt/bitcoinunits.h \
    src/qt/qvaluecombobox.h \
    src/qt/askpassphrasedialog.h \
    src/protocol.h \
    src/qt/notificator.h \
    src/qt/qtipcserver.h \
    src/allocators.h \
    src/ui_interface.h \
    src/qt/rpcconsole.h \
    src/version.h \
    src/netbase.h \
    src/clientversion.h \
    src/bloom.h \
    src/checkqueue.h \
    src/hash.h \
    src/hashblock.h \
    src/limitedmap.h \
    src/sph_blake.h \
    src/sph_bmw.h \
    src/sph_cubehash.h \
    src/sph_echo.h \
    src/sph_groestl.h \
    src/sph_jh.h \
    src/sph_keccak.h \
    src/sph_luffa.h \
    src/sph_shavite.h \
    src/sph_simd.h \
    src/sph_skein.h \
    src/sph_fugue.h \
    src/sph_hamsi.h \
    src/sph_types.h \
    src/threadsafety.h \
    src/txdb-leveldb.h

SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
    src/qt/transactiontablemodel.cpp \
    src/qt/addresstablemodel.cpp \
    src/qt/optionsdialog.cpp \
    src/qt/sendcoinsdialog.cpp \
    src/qt/coincontroldialog.cpp \
    src/qt/coincontroltreewidget.cpp \
    src/qt/addressbookpage.cpp \
    src/qt/signverifymessagedialog.cpp \
    src/qt/aboutdialog.cpp \
    src/qt/editaddressdialog.cpp \
    src/qt/bitcoinaddressvalidator.cpp \
    src/alert.cpp \
    src/version.cpp \
    src/sync.cpp \
    src/util.cpp \
    src/netbase.cpp \
    src/key.cpp \
    src/script.cpp \
    src/main.cpp \
    src/miner.cpp \
    src/init.cpp \
    src/net.cpp \
    src/irc.cpp \
    src/checkpoints.cpp \
    src/addrman.cpp \
    src/db.cpp \
    src/walletdb.cpp \
    src/qt/clientmodel.cpp \
    src/qt/guiutil.cpp \
    src/qt/transactionrecord.cpp \
    src/qt/optionsmodel.cpp \
    src/qt/monitoreddatamapper.cpp \
    src/qt/transactiondesc.cpp \
    src/qt/transactiondescdialog.cpp \
    src/qt/bitcoinstrings.cpp \
    src/qt/bitcoinamountfield.cpp \
    src/wallet.cpp \
    src/keystore.cpp \
    src/qt/transactionfilterproxy.cpp \
    src/qt/transactionview.cpp \
    src/qt/walletmodel.cpp \
    src/bitcoinrpc.cpp \
    src/rpcdump.cpp \
    src/rpcnet.cpp \
    src/rpcmining.cpp \
    src/rpcwallet.cpp \
    src/rpcblockchain.cpp \
    src/rpcrawtransaction.cpp \
    src/qt/overviewpage.cpp \
    src/qt/csvmodelwriter.cpp \
    src/crypter.cpp \
    src/qt/sendcoinsentry.cpp \
    src/qt/qvalidatedlineedit.cpp \
    src/qt/bitcoinunits.cpp \
    src/qt/qvaluecombobox.cpp \
    src/qt/askpassphrasedialog.cpp \
    src/protocol.cpp \
    src/qt/notificator.cpp \
    src/qt/qtipcserver.cpp \
    src/qt/rpcconsole.cpp \
    src/noui.cpp \
    src/kernel.cpp \
    src/scrypt-arm.S \
    src/scrypt-x86.S \
    src/scrypt-x86_64.S \
    src/scrypt.cpp \
    src/pbkdf2.cpp \

RESOURCES += \
    src/qt/bitcoin.qrc

FORMS += \
    src/qt/forms/coincontroldialog.ui \
    src/qt/forms/sendcoinsdialog.ui \
    src/qt/forms/addressbookpage.ui \
    src/qt/forms/signverifymessagedialog.ui \
    src/qt/forms/aboutdialog.ui \
    src/qt/forms/editaddressdialog.ui \
    src/qt/forms/transactiondescdialog.ui \
    src/qt/forms/overviewpage.ui \
    src/qt/forms/sendcoinsentry.ui \
    src/qt/forms/askpassphrasedialog.ui \
    src/qt/forms/rpcconsole.ui \
    src/qt/forms/optionsdialog.ui

contains(USE_QRCODE, 1) {
HEADERS += src/qt/qrcodedialog.h
SOURCES += src/qt/qrcodedialog.cpp
FORMS += src/qt/forms/qrcodedialog.ui
}

CODECFORTR = UTF-8

# for lrelease/lupdate
# also add new translations to src/qt/bitcoin.qrc under translations/
TRANSLATIONS = $$files(src/qt/locale/bitcoin_*.ts)

isEmpty(QMAKE_LRELEASE) {
    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
isEmpty(QM_DIR):QM_DIR = $$PWD/src/qt/locale
# automatically build translations, so they can be included in resource file
TSQM.name = lrelease ${QMAKE_FILE_IN}
TSQM.input = TRANSLATIONS
TSQM.output = $$QM_DIR/${QMAKE_FILE_BASE}.qm
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
TSQM.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += TSQM

# "Other files" to show in Qt Creator
OTHER_FILES += \
    doc/*.rst doc/*.txt doc/README README.md res/bitcoin-qt.rc

# platform specific defaults, if not overridden on command line
isEmpty(BOOST_LIB_SUFFIX) {
    macx:BOOST_LIB_SUFFIX = -mt
    win32:BOOST_LIB_SUFFIX = -mgw49-mt-s-1_57
}

isEmpty(BOOST_THREAD_LIB_SUFFIX) {
    BOOST_THREAD_LIB_SUFFIX = $$BOOST_LIB_SUFFIX
}

isEmpty(BDB_LIB_PATH) {
    macx:BDB_LIB_PATH = /opt/local/lib/db48
}

isEmpty(BDB_LIB_SUFFIX) {
    macx:BDB_LIB_SUFFIX = -4.8
}

isEmpty(BDB_INCLUDE_PATH) {
    macx:BDB_INCLUDE_PATH = /opt/local/include/db48
}

isEmpty(BOOST_LIB_PATH) {
    macx:BOOST_LIB_PATH = /opt/local/lib
}

isEmpty(BOOST_INCLUDE_PATH) {
    macx:BOOST_INCLUDE_PATH = /opt/local/include
}

isEmpty(QRENCODE_LIB_PATH) {
    macx:QRENCODE_LIB_PATH = /opt/local/lib
}

isEmpty(QRENCODE_INCLUDE_PATH) {
    macx:QRENCODE_INCLUDE_PATH = /opt/local/include
}

windows:DEFINES += WIN32
windows:RC_FILE = src/qt/res/bitcoin-qt.rc

windows:!contains(MINGW_THREAD_BUGFIX, 0) {
    # At least qmake's win32-g++-cross profile is missing the -lmingwthrd
    # thread-safety flag. GCC has -mthreads to enable this, but it doesn't
    # work with static linking. -lmingwthrd must come BEFORE -lmingw, so
    # it is prepended to QMAKE_LIBS_QT_ENTRY.
    # It can be turned off with MINGW_THREAD_BUGFIX=0, just in case it causes
    # any problems on some untested qmake profile now or in the future.
    DEFINES += _MT BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN
    QMAKE_LIBS_QT_ENTRY = -lmingwthrd $$QMAKE_LIBS_QT_ENTRY
}

!windows:!macx {
    DEFINES += LINUX
    LIBS += -lrt
}

macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
macx:ICON = src/qt/res/icons/bitcoin.icns
macx:TARGET = "AmberCoin-Qt"
macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread
macx:QMAKE_CXXFLAGS_THREAD += -pthread

# Set libraries and includes at end, to use platform-defined defaults if not overridden
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH $$QRENCODE_INCLUDE_PATH
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
# -lgdi32 has to happen after -lcrypto (see  #681)
windows:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
LIBS += -lboost_system$$BOOST_LIB_SUFFIX \
    -lboost_filesystem$$BOOST_LIB_SUFFIX \
    -lboost_program_options$$BOOST_LIB_SUFFIX \
    -lboost_thread$$BOOST_THREAD_LIB_SUFFIX \
    -lboost_date_time$$BOOST_THREAD_LIB_SUFFIX \
    -lboost_chrono$$BOOST_LIB_SUFFIX

contains(RELEASE, 1) {
    !windows:!macx {
        # Linux: turn dynamic linking back on for c/c++ runtime libraries
        LIBS += -Wl,-Bdynamic
    }
}

system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)

If my .pro file doesn't help, I can help via TeamViewer

My btc address: 1LqXE9xzjLS3HcoRe6AvxAw9zhMimDWCjP
sr. member
Activity: 444
Merit: 250
I prefer evolution to revolution.
and my entire ambercoin .pro file (minus the +input parts)
...
if anyone could skim through and help it would be greatly appreciated.
Didn't Ron's post help last time?
member
Activity: 92
Merit: 10
and my entire ambercoin .pro file (minus the +input parts)
Code:
# x13 version

TEMPLATE = app
TARGET = AmberCoin-qt
VERSION = 2.1.0.1
INCLUDEPATH += src src/json src/qt
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += no_include_pwd
CONFIG += thread
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
lessThan(QT_MAJOR_VERSION, 5): CONFIG += static
QMAKE_CXXFLAGS = -fpermissive

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += widgets
    DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
}

win32 {
    LIBS += -lshlwapi
    LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
    LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX -lcrypt32
    LIBS += -lws2_32 -lole32 -loleaut32 -luuid -lgdi32
    LIBS += -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
    LIBS += -L"C:/deps/MinGW/msys/1.0/local/lib"
    LIBS += -L"C:/deps/libcommuni-3.2.0/lib"

    INCLUDEPATH += "C:/deps/MinGW/msys/1.0/local/include"

    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.2a/include
    OPENSSL_LIB_PATH=C:/deps/openssl-1.0.2a
    MINIUPNPC_INCLUDE_PATH=C:/deps/
    MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
    QRENCODE_INCLUDE_PATH=C:/deps/qrcode-win32-3.1.1/include
    QRENCODE_LIB_PATH=C:/deps/qrcode-win32-3.1.1/dll
}

# for boost 1.37, add -mt to the boost libraries
# use: qmake BOOST_LIB_SUFFIX=-mt
# for boost thread win32 with _win32 sufix
# use: BOOST_THREAD_LIB_SUFFIX=_win32-...
# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8

# Dependency library locations can be customized with:
#    BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
#    BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively

OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build

# use: qmake "RELEASE=1"
contains(RELEASE, 1) {
    macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    macx:QMAKE_CFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    macx:QMAKE_LFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

    !windows:!macx {
        # Linux: static link
        # LIBS += -Wl,-Bstatic
    }
}

!win32 {
# for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection
QMAKE_CXXFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
# We need to exclude this for Windows cross compile with MinGW 4.2.x, as it will result in a non-working executable!
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x.
}
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat,--large-address-aware -static
win32:QMAKE_LFLAGS += -static-libgcc -static-libstdc++
lessThan(QT_MAJOR_VERSION, 5): win32: QMAKE_LFLAGS *= -static

USE_QRCODE=1
# use: qmake "USE_QRCODE=1"
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
contains(USE_QRCODE, 1) {
    message(Building with QRCode support)
    DEFINES += USE_QRCODE
    macx:LIBS += -lqrencode
    win32:INCLUDEPATH +=$$QRENCODE_INCLUDE_PATH
    win32:LIBS += $$join(QRENCODE_LIB_PATH,,-L) -lqrcodelib
    !win32:!macx:LIBS += -lqrencode
}

# use: qmake "USE_UPNP=1" ( enabled by default; default)
#  or: qmake "USE_UPNP=0" (disabled by default)
#  or: qmake "USE_UPNP=-" (not supported)
# miniupnpc (http://miniupnp.free.fr/files/) must be installed for support
USE_UPNP=1
contains(USE_UPNP, -) {
    message(Building without UPNP support)
} else {
    message(Building with UPNP support)
    count(USE_UPNP, 0) {
        USE_UPNP=1
    }
    DEFINES += USE_UPNP=$$USE_UPNP STATICLIB MINIUPNP_STATICLIB
    INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
    LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
    win32:LIBS += -liphlpapi
}

# use: qmake "USE_DBUS=1"
contains(USE_DBUS, 1) {
    message(Building with DBUS (Freedesktop notifications) support)
    DEFINES += USE_DBUS
    QT += dbus
}

# use: qmake "USE_IPV6=1" ( enabled by default; default)
#  or: qmake "USE_IPV6=0" (disabled by default)
#  or: qmake "USE_IPV6=-" (not supported)
contains(USE_IPV6, -) {
    message(Building without IPv6 support)
} else {
    message(Building with IPv6 support)
    count(USE_IPV6, 0) {
        USE_IPV6=1
    }
    DEFINES += USE_IPV6=$$USE_IPV6
}

contains(BITCOIN_NEED_QT_PLUGINS, 1) {
    DEFINES += BITCOIN_NEED_QT_PLUGINS
    QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets
}

INCLUDEPATH += src/leveldb/include src/leveldb/helpers
LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a
SOURCES += src/txdb-leveldb.cpp \
    src/bloom.cpp \
    src/hash.cpp \
    src/aes_helper.c \
    src/blake.c \
    src/bmw.c \
    src/cubehash.c \
    src/echo.c \
    src/groestl.c \
    src/jh.c \
    src/keccak.c \
    src/luffa.c \
    src/shavite.c \
    src/simd.c \
    src/skein.c \
    src/fugue.c \
    src/hamsi.c
NO_LEVELDB=1
!contains(NO_LEVELDB, 1) {
    !win32 {
        # we use QMAKE_CXXFLAGS_RELEASE even without RELEASE=1 because we use RELEASE to indicate linking preferences not -O preferences
        genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a
    } else {
        # make an educated guess about what the ranlib command is called
        isEmpty(QMAKE_RANLIB) {
            QMAKE_RANLIB = $$replace(QMAKE_STRIP, strip, ranlib)
        }
        LIBS += -lshlwapi
        genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\" libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a
    }
    genleveldb.target = $$PWD/src/leveldb/libleveldb.a
    genleveldb.depends = FORCE
    PRE_TARGETDEPS += $$PWD/src/leveldb/libleveldb.a
    QMAKE_EXTRA_TARGETS += genleveldb
    # Gross ugly hack that depends on qmake internals, unfortunately there is no other way to do it.
    QMAKE_CLEAN += $$PWD/src/leveldb/libleveldb.a; cd $$PWD/src/leveldb ; $(MAKE) clean
}
# regenerate src/build.h
!windows|contains(USE_BUILD_INFO, 1) {
    genbuild.depends = FORCE
    genbuild.commands = cd $$PWD; /bin/sh share/genbuild.sh $$OUT_PWD/build/build.h
    genbuild.target = $$OUT_PWD/build/build.h
    PRE_TARGETDEPS += $$OUT_PWD/build/build.h
    QMAKE_EXTRA_TARGETS += genbuild
    DEFINES += HAVE_BUILD_INFO
}

contains(USE_O3, 1) {
    message(Building O3 optimization flag)
    QMAKE_CXXFLAGS_RELEASE -= -O2
    QMAKE_CFLAGS_RELEASE -= -O2
    QMAKE_CXXFLAGS += -O3
    QMAKE_CFLAGS += -O3
}

*-g++-32 {
    message("32 platform, adding -msse2 flag")

    QMAKE_CXXFLAGS += -msse2
    QMAKE_CFLAGS += -msse2
}

greaterThan(QT_MAJOR_VERSION, 4) {
    win32:QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
    macx:QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
}
lessThan(QT_MAJOR_VERSION, 5) {
    QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
}


}

CODECFORTR = UTF-8

# for lrelease/lupdate
# also add new translations to src/qt/bitcoin.qrc under translations/
TRANSLATIONS = $$files(src/qt/locale/bitcoin_*.ts)

isEmpty(QMAKE_LRELEASE) {
    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
isEmpty(QM_DIR):QM_DIR = $$PWD/src/qt/locale
# automatically build translations, so they can be included in resource file
TSQM.name = lrelease ${QMAKE_FILE_IN}
TSQM.input = TRANSLATIONS
TSQM.output = $$QM_DIR/${QMAKE_FILE_BASE}.qm
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
TSQM.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += TSQM

# "Other files" to show in Qt Creator
OTHER_FILES += \
    doc/*.rst doc/*.txt doc/README README.md res/bitcoin-qt.rc

# platform specific defaults, if not overridden on command line
isEmpty(BOOST_LIB_SUFFIX) {
    macx:BOOST_LIB_SUFFIX = -mt
    win32:BOOST_LIB_SUFFIX = -mgw49-mt-s-1_57
}

isEmpty(BOOST_THREAD_LIB_SUFFIX) {
    BOOST_THREAD_LIB_SUFFIX = $$BOOST_LIB_SUFFIX
}

isEmpty(BDB_LIB_PATH) {
    macx:BDB_LIB_PATH = /opt/local/lib/db48
}

isEmpty(BDB_LIB_SUFFIX) {
    macx:BDB_LIB_SUFFIX = -4.8
}

isEmpty(BDB_INCLUDE_PATH) {
    macx:BDB_INCLUDE_PATH = /opt/local/include/db48
}

isEmpty(BOOST_LIB_PATH) {
    macx:BOOST_LIB_PATH = /opt/local/lib
}

isEmpty(BOOST_INCLUDE_PATH) {
    macx:BOOST_INCLUDE_PATH = /opt/local/include
}

isEmpty(QRENCODE_LIB_PATH) {
    macx:QRENCODE_LIB_PATH = /opt/local/lib
}

isEmpty(QRENCODE_INCLUDE_PATH) {
    macx:QRENCODE_INCLUDE_PATH = /opt/local/include
}

windows:DEFINES += WIN32
windows:RC_FILE = src/qt/res/bitcoin-qt.rc

windows:!contains(MINGW_THREAD_BUGFIX, 0) {
    # At least qmake's win32-g++-cross profile is missing the -lmingwthrd
    # thread-safety flag. GCC has -mthreads to enable this, but it doesn't
    # work with static linking. -lmingwthrd must come BEFORE -lmingw, so
    # it is prepended to QMAKE_LIBS_QT_ENTRY.
    # It can be turned off with MINGW_THREAD_BUGFIX=0, just in case it causes
    # any problems on some untested qmake profile now or in the future.
    DEFINES += _MT BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN
    QMAKE_LIBS_QT_ENTRY = -lmingwthrd $$QMAKE_LIBS_QT_ENTRY
}

!windows:!macx {
    DEFINES += LINUX
    LIBS += -lrt
}

macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
macx:ICON = src/qt/res/icons/bitcoin.icns
macx:TARGET = "AmberCoin-Qt"
macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread
macx:QMAKE_CXXFLAGS_THREAD += -pthread

# Set libraries and includes at end, to use platform-defined defaults if not overridden
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH $$QRENCODE_INCLUDE_PATH
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
# -lgdi32 has to happen after -lcrypto (see  #681)
windows:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32
LIBS += -lboost_system$$BOOST_LIB_SUFFIX \
    -lboost_filesystem$$BOOST_LIB_SUFFIX \
    -lboost_program_options$$BOOST_LIB_SUFFIX \
    -lboost_thread$$BOOST_THREAD_LIB_SUFFIX \
    -lboost_date_time$$BOOST_THREAD_LIB_SUFFIX \
    -lboost_chrono$$BOOST_LIB_SUFFIX

contains(RELEASE, 1) {
    !windows:!macx {
        # Linux: turn dynamic linking back on for c/c++ runtime libraries
        LIBS += -Wl,-Bdynamic
    }
}

system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)
[code/]

if anyone could skim through and help it would be greatly appreciated.
legendary
Activity: 1148
Merit: 1018
It's about time -- All merrit accepted !!!
boost suffix match version ?? mgw48 or mgw49 ?  Grin
sr. member
Activity: 638
Merit: 250
Anyone can help
try to build windows wallet from https://github.com/bananabits/bananabits

This error drive me crazy.

http://pastebin.com/4xGMJce6

Code:
BOOST_CONCEPT_ASSERT((
             ^
In file included from ..\deps\boost_1_55_0/boost/date_time/period_parser.hpp:15:
0,
                 from ..\deps\boost_1_55_0/boost/date_time/date_facet.hpp:23,
                 from ..\deps\boost_1_55_0/boost/date_time/gregorian/gregorian_i
o.hpp:16,
                 from ..\deps\boost_1_55_0/boost/date_time/gregorian/gregorian.h
pp:31,
                 from ..\deps\boost_1_55_0/boost/date_time/posix_time/time_forma
tters.hpp:12,
                 from ..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time
.hpp:24,
                 from src\util.cpp:16:
..\deps\boost_1_55_0/boost/date_time/string_convert.hpp: In function 'std::basic
_string boost::date_time::convert_string_type(const std::basic_string<_CharT>
&)':
..\deps\boost_1_55_0/boost/date_time/string_convert.hpp:24:39: warning: typedef
'input_type' locally defined but not used [-Wunused-local-typedefs]
     typedef std::basic_string input_type;
                                       ^
In file included from ..\deps\boost_1_55_0/boost/date_time/format_date_parser.hp
p:16:0,
                 from ..\deps\boost_1_55_0/boost/date_time/date_generator_parser
.hpp:20,
                 from ..\deps\boost_1_55_0/boost/date_time/date_facet.hpp:25,
                 from ..\deps\boost_1_55_0/boost/date_time/gregorian/gregorian_i
o.hpp:16,
                 from ..\deps\boost_1_55_0/boost/date_time/gregorian/gregorian.h
pp:31,
                 from ..\deps\boost_1_55_0/boost/date_time/posix_time/time_forma
tters.hpp:12,
                 from ..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time
.hpp:24,
                 from src\util.cpp:16:
..\deps\boost_1_55_0/boost/date_time/strings_from_facet.hpp: In function 'std::v
ector > boost::date_time::gather_month_strings(const s
td::locale&, bool)':
..\deps\boost_1_55_0/boost/date_time/strings_from_facet.hpp:38:43: warning: type
def 'ostream_type' locally defined but not used [-Wunused-local-typedefs]
   typedef std::basic_ostringstream ostream_type;
                                           ^
..\deps\boost_1_55_0/boost/date_time/strings_from_facet.hpp: In function 'std::v
ector > boost::date_time::gather_weekday_strings(const
 std::locale&, bool)':
..\deps\boost_1_55_0/boost/date_time/strings_from_facet.hpp:89:43: warning: type
def 'ostream_type' locally defined but not used [-Wunused-local-typedefs]
   typedef std::basic_ostringstream ostream_type;
                                           ^
In file included from ..\deps\boost_1_55_0/boost/date_time/gregorian/parsers.hpp
:13:0,
                 from ..\deps\boost_1_55_0/boost/date_time/gregorian/gregorian.h
pp:34,
                 from ..\deps\boost_1_55_0/boost/date_time/posix_time/time_forma
tters.hpp:12,
                 from ..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time
.hpp:24,
                 from src\util.cpp:16:
..\deps\boost_1_55_0/boost/date_time/date_parsing.hpp: In function 'date_type bo
ost::date_time::parse_date(const string&, int)':
..\deps\boost_1_55_0/boost/date_time/date_parsing.hpp:116:45: warning: typedef '
year_type' locally defined but not used [-Wunused-local-typedefs]
       typedef typename date_type::year_type year_type;
                                             ^
..\deps\boost_1_55_0/boost/date_time/date_parsing.hpp: In function 'date_type bo
ost::date_time::parse_undelimited_date(const string&)':
..\deps\boost_1_55_0/boost/date_time/date_parsing.hpp:163:45: warning: typedef '
year_type' locally defined but not used [-Wunused-local-typedefs]
       typedef typename date_type::year_type year_type;
                                             ^
In file included from ..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time
.hpp:31:0,
                 from src\util.cpp:16:
..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time_io.hpp: In function '
std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_os
tream<_CharT, _Traits>&, const boost::posix_time::ptime&)':
..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time_io.hpp:50:51: warning
: typedef 'std_ptime_facet' locally defined but not used [-Wunused-local-typedef
s]
     typedef std::time_put                  std_ptime_facet;
                                                   ^
..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time_io.hpp: In function '
std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_os
tream<_CharT, _Traits>&, const time_period&)':
..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time_io.hpp:117:51: warnin
g: typedef 'std_time_facet' locally defined but not used [-Wunused-local-typedef
s]
     typedef std::time_put                  std_time_facet;
                                                   ^
..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time_io.hpp: In function '
std::basic_ostream<_CharT, _Traits>& boost::posix_time::operator<<(std::basic_os
tream<_CharT, _Traits>&, const boost::posix_time::time_duration&)':
..\deps\boost_1_55_0/boost/date_time/posix_time/posix_time_io.hpp:183:51: warnin
g: typedef 'std_ptime_facet' locally defined but not used [-Wunused-local-typede
fs]
     typedef std::time_put                  std_ptime_facet;
                                                   ^
g++ -c -pipe -fno-keep-inline-dllexport -DUSE_SECP256K1 -O2 -frtti -fdiagnostics
-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -W
no-unused-parameter -Wstack-protector -fexceptions -mthreads -DUNICODE -DENABLE_
WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_
BEFORE=0 -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_
NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -D
QT_CORE_LIB -DQT_NEEDS_QMAIN -I"src" -I"src\json" -I"src\qt" -I"src\qt\plugins\m
richtexteditor" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\secp256k1\
include" -I"..\deps\boost_1_55_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps
\openssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\5.3.2\include" -I".
.\Qt\5.3.2\include\QtPrintSupport" -I"..\Qt\5.3.2\include\QtWidgets" -I"..\Qt\5.
3.2\include\QtNetwork" -I"..\Qt\5.3.2\include\QtGui" -I"..\Qt\5.3.2\include\QtCo
re" -I"build" -I"build" -I"..\Qt\5.3.2\mkspecs\win32-g++" -o build\hash.o src\ha
sh.cpp
In file included from ..\deps\boost_1_55_0/boost/tuple/tuple.hpp:33:0,
                 from src\serialize.h:20,
                 from src\hash.h:9,
                 from src\hash.cpp:1:
..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp: In function 'typename b
oost::tuples::access_traitsns >::type>::const_type boost::tuples::get(const boost::tuples::cons TT>&)':
..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef
 'cons_element' locally defined but not used [-Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
g++ -c -pipe -fno-keep-inline-dllexport -DUSE_SECP256K1 -O2 -frtti -fdiagnostics
-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -W
no-unused-parameter -Wstack-protector -fexceptions -mthreads -DUNICODE -DENABLE_
WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_
BEFORE=0 -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_
NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -D
QT_CORE_LIB -DQT_NEEDS_QMAIN -I"src" -I"src\json" -I"src\qt" -I"src\qt\plugins\m
richtexteditor" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\secp256k1\
include" -I"..\deps\boost_1_55_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps
\openssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\5.3.2\include" -I".
.\Qt\5.3.2\include\QtPrintSupport" -I"..\Qt\5.3.2\include\QtWidgets" -I"..\Qt\5.
3.2\include\QtNetwork" -I"..\Qt\5.3.2\include\QtGui" -I"..\Qt\5.3.2\include\QtCo
re" -I"build" -I"build" -I"..\Qt\5.3.2\mkspecs\win32-g++" -o build\netbase.o src
\netbase.cpp
In file included from ..\deps\boost_1_55_0/boost/tuple/tuple.hpp:33:0,
                 from src\serialize.h:20,
                 from src\netbase.h:10,
                 from src\netbase.cpp:6:
..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp: In function 'typename b
oost::tuples::access_traitsns >::type>::const_type boost::tuples::get(const boost::tuples::cons TT>&)':
..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef
 'cons_element' locally defined but not used [-Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
In file included from ..\deps\boost_1_55_0/boost/bind/bind.hpp:29:0,
                 from ..\deps\boost_1_55_0/boost/bind.hpp:22,
                 from ..\deps\boost_1_55_0/boost/thread/detail/thread.hpp:29,
                 from ..\deps\boost_1_55_0/boost/thread/thread_only.hpp:22,
                 from ..\deps\boost_1_55_0/boost/thread/thread.hpp:12,
                 from ..\deps\boost_1_55_0/boost/thread.hpp:13,
                 from src\util.h:24,
                 from src\netbase.cpp:7:
..\deps\boost_1_55_0/boost/bind/arg.hpp: In constructor 'boost::arg::arg(cons
t T&)':
..\deps\boost_1_55_0/boost/bind/arg.hpp:37:22: warning: typedef 'T_must_be_place
holder' locally defined but not used [-Wunused-local-typedefs]
         typedef char T_must_be_placeholder[ I == is_placeholder::value? 1: -
1 ];
                      ^
In file included from ..\deps\boost_1_55_0/boost/mpl/aux_/integral_wrapper.hpp:2
2:0,
                 from ..\deps\boost_1_55_0/boost/mpl/int.hpp:20,
                 from ..\deps\boost_1_55_0/boost/type_traits/detail/template_ari
ty_spec.hpp:10,
                 from ..\deps\boost_1_55_0/boost/type_traits/detail/bool_trait_d
ef.hpp:14,
                 from ..\deps\boost_1_55_0/boost/type_traits/is_integral.hpp:15,

                 from ..\deps\boost_1_55_0/boost/type_traits/is_arithmetic.hpp:1
3,
                 from ..\deps\boost_1_55_0/boost/type_traits/is_fundamental.hpp:
12,
                 from src\serialize.h:19,
                 from src\netbase.h:10,
                 from src\netbase.cpp:6:
..\deps\boost_1_55_0/boost/concept_check.hpp: In function 'void boost::function_
requires(Model*)':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check45' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:45:7: note: in expansion of macro '
BOOST_CONCEPT_ASSERT'
       BOOST_CONCEPT_ASSERT((Model));
       ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::AdaptableGen
erator::~AdaptableGenerator()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check453' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:453:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::AdaptableUna
ryFunction::~AdaptableUnaryFunction()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check465' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:465:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible));
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check466' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:466:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::AdaptableBin
aryFunction::~AdaptableBinaryFunction()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check484' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:484:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible));
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check485' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:485:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible));
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check486' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:486:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::InputIterato
r::~InputIterator()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check517' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:517:9: note: in expansion of macro
'BOOST_CONCEPT_ASSERT'
         BOOST_CONCEPT_ASSERT((SignedInteger));
         ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check518' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:518:9: note: in expansion of macro
'BOOST_CONCEPT_ASSERT'
         BOOST_CONCEPT_ASSERT((Convertibler_tag>));
         ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::ForwardItera
tor::~ForwardIterator()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check551' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:548:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible<
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::Bidirectiona
lIterator::~BidirectionalIterator()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check579' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:576:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible<
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::RandomAccess
Iterator::~RandomAccessIterator()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check609' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:606:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Convertible<
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::Container
::~Container()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check653' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:653:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((InputIterator));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::Mutable_Cont
ainer::~Mutable_Container()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check681' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:680:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check683' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:683:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((InputIterator));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::ForwardConta
iner::~ForwardContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check703' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:700:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::Mutable_Forw
ardContainer::~Mutable_ForwardContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check716' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:713:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::ReversibleCo
ntainer::~ReversibleContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check731' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:729:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check733' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:733:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((BidirectionalIterator))
;
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::Mutable_Reve
rsibleContainer::~Mutable_ReversibleContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check755' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:755:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Mutable_BidirectionalIterator));
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check756' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:756:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Mutable_BidirectionalIterator
));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::RandomAccess
Container::~RandomAccessContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check776' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:773:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::Mutable_Rand
omAccessContainer::~Mutable_RandomAccessContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check800' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:800:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Mutable_RandomAccessIteratorrator>));
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check801' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:801:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((Mutable_RandomAccessIteratorerse_iterator>));
           ^
..\deps\boost_1_55_0/boost/concept_check.hpp: In destructor 'boost::AssociativeC
ontainer::~AssociativeContainer()':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check905' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:905:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((BinaryPredicate)
);
           ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check908' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/concept_check.hpp:908:11: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
           BOOST_CONCEPT_ASSERT((BinaryPredicate_type_>));
           ^
..\deps\boost_1_55_0/boost/range/algorithm/equal.hpp: In function 'bool boost::r
ange::equal(const SinglePassRange1&, const SinglePassRange2&)':
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check172' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/range/concepts.hpp:92:45: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
..\deps\boost_1_55_0/boost/range/algorithm/equal.hpp:172:13: note: in expansion
of macro 'BOOST_RANGE_CONCEPT_ASSERT'
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConceptsRange1> ));
             ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check173' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/range/concepts.hpp:92:45: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
..\deps\boost_1_55_0/boost/range/algorithm/equal.hpp:173:13: note: in expansion
of macro 'BOOST_RANGE_CONCEPT_ASSERT'
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConceptsRange2> ));
             ^
..\deps\boost_1_55_0/boost/range/algorithm/equal.hpp: In function 'bool boost::r
ange::equal(const SinglePassRange1&, const SinglePassRange2&, BinaryPredicate)':

..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check185' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/range/concepts.hpp:92:45: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
..\deps\boost_1_55_0/boost/range/algorithm/equal.hpp:185:13: note: in expansion
of macro 'BOOST_RANGE_CONCEPT_ASSERT'
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConceptsRange1> ));
             ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:20: warning: typedef 'b
oost_concept_check186' locally defined but not used [-Wunused-local-typedefs]
       BOOST_PP_CAT(boost_concept_check,__LINE__)
                    ^
..\deps\boost_1_55_0/boost/preprocessor/cat.hpp:29:34: note: in definition of ma
cro 'BOOST_PP_CAT_I'
 #    define BOOST_PP_CAT_I(a, b) a ## b
                                  ^
..\deps\boost_1_55_0/boost/concept/detail/general.hpp:71:7: note: in expansion o
f macro 'BOOST_PP_CAT'
       BOOST_PP_CAT(boost_concept_check,__LINE__)
       ^
..\deps\boost_1_55_0/boost/concept/assert.hpp:44:5: note: in expansion of macro
'BOOST_CONCEPT_ASSERT_FN'
     BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
     ^
..\deps\boost_1_55_0/boost/range/concepts.hpp:92:45: note: in expansion of macro
 'BOOST_CONCEPT_ASSERT'
     #define BOOST_RANGE_CONCEPT_ASSERT( x ) BOOST_CONCEPT_ASSERT( x )
                                             ^
..\deps\boost_1_55_0/boost/range/algorithm/equal.hpp:186:13: note: in expansion
of macro 'BOOST_RANGE_CONCEPT_ASSERT'
             BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConceptsRange2> ));
             ^
g++ -c -pipe -fno-keep-inline-dllexport -DUSE_SECP256K1 -O2 -frtti -fdiagnostics
-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -W
no-unused-parameter -Wstack-protector -fexceptions -mthreads -DUNICODE -DENABLE_
WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_
BEFORE=0 -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_
NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -D
QT_CORE_LIB -DQT_NEEDS_QMAIN -I"src" -I"src\json" -I"src\qt" -I"src\qt\plugins\m
richtexteditor" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\secp256k1\
include" -I"..\deps\boost_1_55_0" -I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps
\openssl-1.0.1j\include" -I"..\deps\qrencode-3.4.4" -I"..\Qt\5.3.2\include" -I".
.\Qt\5.3.2\include\QtPrintSupport" -I"..\Qt\5.3.2\include\QtWidgets" -I"..\Qt\5.
3.2\include\QtNetwork" -I"..\Qt\5.3.2\include\QtGui" -I"..\Qt\5.3.2\include\QtCo
re" -I"build" -I"build" -I"..\Qt\5.3.2\mkspecs\win32-g++" -o build\key.o src\key
.cpp
In file included from ..\deps\boost_1_55_0/boost/tuple/tuple.hpp:33:0,
                 from src\serialize.h:20,
                 from src\key.h:11,
                 from src\key.cpp:14:
..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp: In function 'typename b
oost::tuples::access_traitsns >::type>::const_type boost::tuples::get(const boost::tuples::cons TT>&)':
..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef
 'cons_element' locally defined but not used [-Wunused-local-typedefs]
   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
                                             ^
src\key.cpp: At global scope:
src\key.cpp:29:5: error: 'secp256k1_context_t' does not name a type
     secp256k1_context_t* ctx;
     ^
src\key.cpp: In constructor '{anonymous}::CSecp256k1Init::CSecp256k1Init()':
src\key.cpp:31:9: error: 'ctx' was not declared in this scope
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
         ^
src\key.cpp:31:40: error: 'SECP256K1_CONTEXT_SIGN' was not declared in this scop
e
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
                                        ^
src\key.cpp:31:62: error: 'secp256k1_context_create' was not declared in this sc
ope
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
                                                              ^
src\key.cpp: In destructor '{anonymous}::CSecp256k1Init::~CSecp256k1Init()':
src\key.cpp:34:35: error: 'ctx' was not declared in this scope
         secp256k1_context_destroy(ctx);
                                   ^
src\key.cpp:34:38: error: 'secp256k1_context_destroy' was not declared in this s
cope
         secp256k1_context_destroy(ctx);
                                      ^
src\key.cpp: In member function 'bool CKey::SetPrivKey(const CPrivKey&, bool)':
src\key.cpp:471:61: error: 'class {anonymous}::CSecp256k1Init' has no member nam
ed 'ctx'
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char
*)begin(), &privkey[0], privkey.size()))
                                                             ^
src\key.cpp: In member function 'CPrivKey CKey::GetPrivKey() const':
src\key.cpp:490:66: error: 'class {anonymous}::CSecp256k1Init' has no member nam
ed 'ctx'
     int ret = secp256k1_ec_privkey_export(instance_of_csecp256k1.ctx, begin(),
(unsigned char*)&privkey[0], &privkeylen, fCompressed);
                                                   
legendary
Activity: 1148
Merit: 1018
It's about time -- All merrit accepted !!!
yes , SHE just saw the issue was a large file size, sorry i thought the wallet was working normally
To ftc-c , if your wallet works .... see if you can just strip it ...  :-)

Code:
strip src\qt\bitcoin-qt.exe

But I still can not start qt-wallet. debug.log not been wirted any and no been changed. It broken Embarrassed

Striping just makes the filesize smaller by removing symbol and other data used for debugging, I am not sure why he suggested that as a potential solution -- he probably just saw the part where you said it was 179MB and didn't see the part about it crashing...

You should try running the non qt regular daemon and cli before the qt. It may crash the same, but it might give you output in the console that isn't making it to a log prior to the crash. If not and it proceeds to run, then there should be a debug.log file and/in the directory now. (Not that this will likely fix the problem with the qt, but can at least help to rule out things like permissions in the directory etc).

Does the data directory Exist? (C:\Users\YourUserName\Appdata\Roaming\Bitcoin)
The client should automatically create the directory when you first run it. If it isn't then that is where the crash is probably occurring: Possibly crashing because it cannot create it, or does not have access to it. If thats the case, what's stopping it, is it a permissions issue, etc?

If the data directory does exsist, is there a conf file inside of it?
The client automatically closes and tells you that you need to add rpc username and pass to the conf file, if it isn't there or if the conf file isn't present. Unlike the data directory, it does not create this for you. If the data directory is there, and the conf file isn't, this might be a candidate -- although like most issues, it should be telling you the problem, and if Im not mistaken debug.log should already be generated at this point.





sr. member
Activity: 444
Merit: 250
I prefer evolution to revolution.
ok thanks, started fresh on a ambercoin clone, made sure deps are all right, now im getting

Code:
-1_57 -l boost_thread-mgw48-mt-s-1_57 -l boost_chrono-mgw48-mt-s-1_57 -l db_cxx
-l ssl -l crypto -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 ws
2_32 -l mswsock -l shlwapi /C/AMBER/src/leveldb/libleveldb.a /C/AMBER/src/leveld
b/libmemenv.a
obj/rpcrawtransaction.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
make: *** [AmberCoind.exe] Error 1

anyone have any ideas?
That seems like something that can happen if the compiler you used to make rpcrawtransaction.o is from a different toolchain than the linker you're using.  That could be because the object file was already there.  If you delete it and retry, you'll probably get the same error about a different file.  try a `make clean` first to delete all the intermediate files.
member
Activity: 92
Merit: 10
ok thanks, started fresh on a ambercoin clone, made sure deps are all right, now im getting

Code:
-1_57 -l boost_thread-mgw48-mt-s-1_57 -l boost_chrono-mgw48-mt-s-1_57 -l db_cxx
-l ssl -l crypto -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 ws
2_32 -l mswsock -l shlwapi /C/AMBER/src/leveldb/libleveldb.a /C/AMBER/src/leveld
b/libmemenv.a
obj/rpcrawtransaction.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
make: *** [AmberCoind.exe] Error 1

anyone have any ideas?
sr. member
Activity: 260
Merit: 251
ok im trying to compile ARCHcoin, and getting the following, any help would be appreciated.


Code:
omctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock
-l shlwapi /c/ARCH/src/leveldb/libleveldb.a /c/ARCH/src/leveldb/libmemenv.a
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_system-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_filesystem-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_program_options-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_thread-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_chrono-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
[b]n/ld.exe: cannot find -lssl[/b]
collect2.exe: error: ld returned 1 exit status
make: *** [archcoind.exe] Error 1

Crypto@Crypto-PC /c/ARCH/src
$
Hello Chinook

The line above:
n/ld.exe: cannot find -lssl

suggests strongly that either the file libssl.a ain't where you told the linker/loader it was, that is, the LIBPATHS= ... argument, or any combination of something being wrong! It isn't there, or the library path isn't correct, it is there with the wrong name or the library path isn't there or is the wrong path, etc. etc.

Similarly for all the boost libraries, libboost_chrono-mgw44-mt-1_53.a, etc.

Also, it is curious and may be of concern that it appears you are compiling a versoin of gcc 4.9.2 and linking it with a boost 1.53  that was built with a gcc 4.4-ish

I don't know how to read the -w64- in your gcc path:
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.ex1
since I don't run on a 64bit version of windows.  It may or may not have some bearing on the final result?

That's about all I can see, hope it helps...

Ron
member
Activity: 92
Merit: 10
ok im trying to compile ARCHcoin, and getting the following, any help would be appreciated.


Code:
omctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock
-l shlwapi /c/ARCH/src/leveldb/libleveldb.a /c/ARCH/src/leveldb/libmemenv.a
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_system-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_filesystem-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_program_options-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_thread-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lboost_chrono-mgw44-mt-1_53
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: cannot find -lssl
collect2.exe: error: ld returned 1 exit status
make: *** [archcoind.exe] Error 1

Crypto@Crypto-PC /c/ARCH/src
$
sr. member
Activity: 293
Merit: 251
Director - www.cubeform.io
To ftc-c , if your wallet works .... see if you can just strip it ...  :-)

Code:
strip src\qt\bitcoin-qt.exe

But I still can not start qt-wallet. debug.log not been wirted any and no been changed. It broken Embarrassed

Striping just makes the filesize smaller by removing symbol and other data used for debugging, I am not sure why he suggested that as a potential solution -- he probably just saw the part where you said it was 179MB and didn't see the part about it crashing...

You should try running the non qt regular daemon and cli before the qt. It may crash the same, but it might give you output in the console that isn't making it to a log prior to the crash. If not and it proceeds to run, then there should be a debug.log file and/in the directory now. (Not that this will likely fix the problem with the qt, but can at least help to rule out things like permissions in the directory etc).

Does the data directory Exist? (C:\Users\YourUserName\Appdata\Roaming\Bitcoin)
The client should automatically create the directory when you first run it. If it isn't then that is where the crash is probably occurring: Possibly crashing because it cannot create it, or does not have access to it. If thats the case, what's stopping it, is it a permissions issue, etc?

If the data directory does exsist, is there a conf file inside of it?
The client automatically closes and tells you that you need to add rpc username and pass to the conf file, if it isn't there or if the conf file isn't present. Unlike the data directory, it does not create this for you. If the data directory is there, and the conf file isn't, this might be a candidate -- although like most issues, it should be telling you the problem, and if Im not mistaken debug.log should already be generated at this point.




newbie
Activity: 31
Merit: 0
To ftc-c , if your wallet works .... see if you can just strip it ...  :-)

Code:
strip src\qt\bitcoin-qt.exe

But I still can not start qt-wallet. debug.log not been wirted any and no been changed. It broken Embarrassed
legendary
Activity: 1148
Merit: 1018
It's about time -- All merrit accepted !!!
To ftc-c , if your wallet works .... see if you can just strip it ...  :-)

To chinook, the guide & thread is designed for bitcoin but on the first page nitrogenetics gives in the lower section directions for building older (8.x ) bitcoin & this is what you can use to make most alt-coins.

It really depends on the coin. Most alt coins do not require some of the tools : i.e. protobuf

Some coins depending on what they were cloned from may not even need leveldb.

A 'few' alts (i.e. Novacoin uses a newer version of BerkleyDb) require different versions of things.

I suggest using the most recent openssl available on the openssl project homepage for builds.

Current version is openssl-1.0.2a


newbie
Activity: 31
Merit: 0
I  have download bitcoin-0.10.2.tar.gz, then I  have compiled client 0.10.2 succee. But I double-click bitcoin-qt.exe , It automatic quit without warning or error message.
I need your help ,thank you in advance .

My development environment
Windows 7.1 32bit and mingw4.9,
boost1.58
db-4.8.30.NC
openssl-1.0.1i
protobuf-2.5.0
qrencode-3.4.4
gmp-6.0.0
QT5.3.1

my bitcoin-qt.exe size is 179MB.

Code:
CPPFLAGS="-I/D/BTC/Dev/miniupnpc \
-I/D/BTC/Dev/boost_1_58_0 \
-I/D/FTC/dev/db-4.8.30.NC/build_unix \
-I/D/BTC/Dev/openssl-1.0.1i/include \
-I/D/BTC/Dev \
-I/D/BTC/Dev/protobuf-2.5.0/src \
-I/D/BTC/Dev/libpng-1.6.12 \
-I/D/BTC/Dev/qrencode-3.4.4 \
-I/D/FTC/dev/ZebraCrossing-master/src/libsrc \
-I/D/BTC/Dev/gmp-6.0.0 \
-DSTATICLIB " \
LDFLAGS="-L/D/BTC/Dev/boost_1_58_0/stage/lib \
-L/D/FTC/dev/db-4.8.30.NC/build_unix \
-L/D/BTC/Dev/openssl-1.0.1i \
-L/D/BTC/Dev/miniupnpc \
-L/D/BTC/Dev/protobuf-2.5.0/src/.libs \
-L/D/BTC/Dev/libpng-1.6.12/.libs \
-L/D/BTC/Dev/qrencode-3.4.4/.libs \
-L/D/BTC/Dev/gmp-6.0.0/.libs \
-L/D/FTC/dev/ZebraCrossing-master/build32/Release " \
BOOST_ROOT=/D/BTC/Dev/boost_1_58_0 \
./configure \
--disable-upnp-default \
--disable-tests \
--with-qt-incdir=/D/BTC/Dev/QT/5.3.1/include \
--with-qt-libdir=/D/BTC/Dev/QT/5.3.1/lib \
--with-qt-bindir=/D/BTC/Dev/QT/5.3.1/bin \
--with-qt-plugindir=/D/BTC/Dev/QT/5.3.1/plugins \
--with-boost-system=mgw49-mt-s-1_58 \
--with-boost-filesystem=mgw49-mt-s-1_58 \
--with-boost-program-options=mgw49-mt-s-1_58 \
--with-boost-thread=mgw49-mt-s-1_58 \
--with-boost-chrono=mgw49-mt-s-1_58 \
--with-protoc-bindir=/D/BTC/Dev/protobuf-2.5.0/src \
--with-boost=/D/BTC/Dev/boost_1_58_0/stage \
--with-boost-libdir=/D/BTC/Dev/boost_1_58_0/stage/lib
legendary
Activity: 1148
Merit: 1018
It's about time -- All merrit accepted !!!
Posts here should really be for building bitcoin.

If you want help building alt coins start a thread in the proper section.

If/ when i have time I or others may try and help you.
sr. member
Activity: 293
Merit: 251
Director - www.cubeform.io
Can anyone telling me how to deal with secp256k1 when building these alts with MNs on windows?

building in mingw like other deps is not working

Please consider when posting to spend an extra minute to be elaborate in your post, and clearly define what you mean. Clearly state what the problem you are having is, and what steps you have taken so far. As you see from the posts before this, most people arn't going to assume what you mean by 'Deal with secp256k1'. Also, most people won't assume what MNs are, since that is not a standard acronym. I say this not to be rude but to encourage posting traits that will lead you to actually getting an answer, as most people are going to overlook your post and others who will just not bother to answer.

Assumeably, MN refers to MasterNodes, the feature implemented by DarkCoin that is the current trending feature in clonecoins.

For these coins, like other dependencies, you need to manually build secp256k1:
https://github.com/bitcoin/secp256k1
sr. member
Activity: 260
Merit: 251
Can anyone telling me how to deal with secp256k1 when building these alts with MNs
What is MNs?
Quote
on windows?

building in mingw like other deps is not working
The SHA256 hash is done by (at least in most of the versions of Bitcoin and other *coins) by the OpenSSL libraries.

If the auto-make facilities are just too specialized for your hardware to stomach and you would like a change of pace, at least in building daemons of any coin, see my videos:
https://www.youtube.com/channel/UCytoaHvG3H1y9CnxZS819eQ Grin

And see messages
https://bitcointalksearch.org/topic/m.4453618
and
https://bitcointalksearch.org/topic/m.5937160

Ron
legendary
Activity: 882
Merit: 1000
Can anyone telling me how to deal with secp256k1 when building these alts with MNs on windows?

building in mingw like other deps is not working
Pages:
Jump to:
© 2020, Bitcointalksearch.org