apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 08:12:30 AM Last edit: March 09, 2014, 07:14:05 AM by apple_talk |
|
mingw32-make -f makefile.mingw Here is cleanup error:- ... txdb.cpp g++ -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/leveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static -o bitcoind.exe -L"C:/bitcoin-0.8.6/src/leveldb" -L"c:/deps/boost_1_55_0/stage/lib" -L"c:/deps/db-4.8.30.NC/build_unix" -L"c:/deps/openssl-1.0.1e" leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/checkpointsync.o obj/txdb.o -l leveldb -l memenv -l boost_system-mgw48-mt-s-1_55 -l boost_filesystem-mgw48-mt-s-1_55 -l boost_program_options-mgw48-mt-s-1_55 -l boost_thread-mgw48-mt-s-1_55 -l boost_chrono-mgw48-mt-s-1_55 -l db_cxx -l ssl -l crypto -l mingwthrd -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi makefile.mingw:138: recipe for target 'bitcoind.exe' failed
c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi n/ld.exe: reopening bitcoind.exe: Permission denied c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi n/ld.exe: final link failed: Permission denied collect2.exe: error: ld returned 1 exit status mingw32-make: *** [bitcoind.exe] Error 1 On that last long line I see it making .exe? Then the batch file looks for bitcoind.exe? So one or the other (or both) are wrong? Ron Thanks Ron Running the last lines of Guide... set PATH=%PATH%;C:\Qt\5.2.1\bin cd C:\bitcoin-0.8.6\ qmake bitcoin-qt.pro mingw32-make -f Makefile.Release (ERRORS DURING THIS) C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release cd C:/bitcoin-0.8.6/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMP ILE mingw32-make OPT="-pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libleveldb.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:319: recipe for target 'C:/bitcoin-0.8.6/src/leveldb/libleveldb .a' failed mingw32-make: *** [C:/bitcoin-0.8.6/src/leveldb/libleveldb.a] Error 1INV SET VALUES:- C:\bitcoin-0.8.6>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\XXX\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=PC ComSpec=C:\Windows\SysWOW64\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\XXX INCLUDE=C:\deps\libpng-1.6.8;C:\deps\openssl-1.0.1e\include LIB=C:\deps\libpng-1.6.8\.libs;C:\deps\openssl-1.0.1e LOCALAPPDATA=C:\Users\XXX\AppData\Local LOGONSERVER=\\PC NUMBER_OF_PROCESSORS=6 OS=Windows_NT Path=C:\mingw32\bin;C:\Python33\;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\sys tem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\ v1.0\;C:\Qt\5.2.1\bin;C:\Qt\5.2.1\bin;C:\Qt\5.2.1\bin;C:\Qt\5.2.1\bin;C:\Qt\5.2. 1\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=2d07 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public QTDIR=C:\Qt\5.2.1 QTSRC=C:\Qt\5.2.1\ SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\XXX\AppData\Local\Temp TMP=C:\Users\XXX\AppData\Local\Temp toolset=msvc USERDOMAIN=PC USERNAME=XXX USERPROFILE=C:\Users\XXX windir=C:\Windows
|
|
|
|
nitrogenetics (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 01:52:25 PM |
|
now i have a new error
What source is your coin based on? I gave a try at litecoin 0.6.3 branch ( https://github.com/litecoin-project/litecoin/tree/ltc-0.6.3) and it at least compiles fine after patching. .pro file attached for reference TEMPLATE = app TARGET = VERSION = 0.6.3 INCLUDEPATH += src src/json src/qt DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE CONFIG += no_include_pwd CONFIG += static
# 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 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 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.1e/include OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1e MINIUPNPC_INCLUDE_PATH=C:/deps/ MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
OBJECTS_DIR = build MOC_DIR = build UI_DIR = build
# use: qmake "RELEASE=1" contains(RELEASE, 1) { # Mac: compile for maximum compatibility (10.5, 32-bit) macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_LFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
!win32:!macx { # Linux: static link LIBS += -Wl,-Bstatic } } # for extra security (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 # for extra security on Windows: enable ASLR and DEP via GCC linker flags win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat # on Windows: enable GCC large address aware linker flag win32:QMAKE_LFLAGS *= -Wl,--large-address-aware # i686-w64-mingw32 win32:QMAKE_LFLAGS *= -static
# 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 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 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 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 "FIRST_CLASS_MESSAGING=1" contains(FIRST_CLASS_MESSAGING, 1) { message(Building with first-class messaging) DEFINES += FIRST_CLASS_MESSAGING }
contains(BITCOIN_NEED_QT_PLUGINS, 1) { DEFINES += BITCOIN_NEED_QT_PLUGINS QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets }
!win32 { # for extra security against potential buffer overflows QMAKE_CXXFLAGS += -fstack-protector QMAKE_LFLAGS += -fstack-protector # do not enable this on windows, as it will result in a non-working executable! }
# regenerate src/build.h !win32|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 }
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter
# 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/sendcoinsdialog.h \ src/qt/addressbookpage.h \ src/qt/messagepage.h \ src/qt/aboutdialog.h \ src/qt/editaddressdialog.h \ src/qt/bitcoinaddressvalidator.h \ src/addrman.h \ src/base58.h \ src/bignum.h \ src/checkpoints.h \ src/compat.h \ src/sync.h \ src/util.h \ src/uint256.h \ src/serialize.h \ src/strlcpy.h \ src/main.h \ src/net.h \ src/key.h \ src/db.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/qt/verifymessagedialog.h \ src/scrypt.h \ src/qt/miningpage.h \ src/version.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/addressbookpage.cpp \ src/qt/messagepage.cpp \ src/qt/aboutdialog.cpp \ src/qt/editaddressdialog.cpp \ src/qt/bitcoinaddressvalidator.cpp \ src/version.cpp \ src/sync.cpp \ src/util.cpp \ src/netbase.cpp \ src/key.cpp \ src/script.cpp \ src/main.cpp \ src/init.cpp \ src/net.cpp \ src/irc.cpp \ src/checkpoints.cpp \ src/addrman.cpp \ src/db.cpp \ src/walletdb.cpp \ src/json/json_spirit_writer.cpp \ src/json/json_spirit_value.cpp \ src/json/json_spirit_reader.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/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/qt/verifymessagedialog.cpp \ src/scrypt.c \ src/qt/miningpage.cpp \ src/noui.cpp
RESOURCES += \ src/qt/bitcoin.qrc
FORMS += \ src/qt/forms/sendcoinsdialog.ui \ src/qt/forms/addressbookpage.ui \ src/qt/forms/messagepage.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/verifymessagedialog.ui \ src/qt/forms/miningpage.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 }
contains(BITCOIN_QT_TEST, 1) { SOURCES += src/qt/test/test_main.cpp \ src/qt/test/uritests.cpp HEADERS += src/qt/test/uritests.h DEPENDPATH += src/qt/test QT += testlib TARGET = bitcoin-qt_test DEFINES += BITCOIN_QT_TEST }
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 += \ contrib/gitian-descriptors/* doc/*.rst doc/*.txt doc/README README.md res/bitcoin-qt.rc \ share/setup.nsi
# platform specific defaults, if not overridden on command line isEmpty(BOOST_LIB_SUFFIX) { macx:BOOST_LIB_SUFFIX = -mt win32:BOOST_LIB_SUFFIX = -mgw44-mt-1_43 }
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 }
win32:LIBS += -lws2_32 -lshlwapi -lmswsock win32:DEFINES += WIN32 win32:RC_FILE = src/qt/res/bitcoin-qt.rc
win32:!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 QMAKE_LIBS_QT_ENTRY = -lmingwthrd $$QMAKE_LIBS_QT_ENTRY }
!win32:!mac { DEFINES += LINUX LIBS += -lrt }
macx:HEADERS += src/qt/macdockiconhandler.h macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0 macx:ICON = src/qt/res/icons/bitcoin.icns macx:TARGET = "Litecoin-Qt"
# 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) win32:LIBS += -lole32 -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
contains(RELEASE, 1) { !win32:!macx { # Linux: turn dynamic linking back on for c/c++ runtime libraries LIBS += -Wl,-Bdynamic } }
system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)
C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release cd C:/bitcoin-0.8.6/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMP ILE mingw32-make OPT="-pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libleveldb.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libmemenv.a 'CC' is not recognized as an internal or external command, operable program or batch file. Makefile.Release:319: recipe for target 'C:/bitcoin-0.8.6/src/leveldb/libleveldb .a' failed mingw32-make: *** [C:/bitcoin-0.8.6/src/leveldb/libleveldb.a] Error 1
You should build leveldb and comment out genleveldb command in your .pro file before compiling.
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 03:53:24 PM Last edit: March 07, 2014, 05:26:45 PM by apple_talk |
|
" You should build leveldb and comment out genleveldb command in your .pro file before compiling." comment out genleveldb command - CONFIRMED build leveldb - How to confirm? just ran again... XXX@PC /C/bitcoin-0.8.6/src/leveldb $ TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a make: `libleveldb.a' is up to date. make: `libmemenv.a' is up to date.
FILE: bitcoin-qt.pro greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TEMPLATE = app TARGET = bitcoin-qt macx:TARGET = "bitcoin-Qt" VERSION = 0.8.6.1 INCLUDEPATH += src src/json src/qt QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE CONFIG += no_include_pwd CONFIG += thread CONFIG += static
# 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 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 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.1e/include OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1e MINIUPNPC_INCLUDE_PATH=C:/deps/ MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
OBJECTS_DIR = build MOC_DIR = build UI_DIR = build
# use: qmake "RELEASE=1" contains(RELEASE, 1) { # Mac: compile for maximum compatibility (10.5, 32-bit) macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
!win32:!macx { # Linux: static link and extra security (see: https://wiki.debian.org/Hardening) LIBS += -Wl,-Bstatic -Wl,-z,relro -Wl,-z,now } }
!win32 { # for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection QMAKE_CXXFLAGS *= -fstack-protector-all QMAKE_LFLAGS *= -fstack-protector-all # Exclude on 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 (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 # for extra security on Windows: enable ASLR and DEP via GCC linker flags win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat # 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++
# 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 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 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 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 { 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 !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 !win32|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 }
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -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/sendcoinsdialog.h \ src/qt/coincontroldialog.h \ src/qt/coincontroltreewidget.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/coincontrol.h \ src/compat.h \ src/sync.h \ src/util.h \ src/hash.h \ src/uint256.h \ src/serialize.h \ src/main.h \ src/net.h \ src/key.h \ src/db.h \ src/walletdb.h \ src/script.h \ src/init.h \ src/bloom.h \ src/mruset.h \ src/checkqueue.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/qt/walletview.h \ src/qt/walletstack.h \ src/qt/walletframe.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/paymentserver.h \ src/allocators.h \ src/ui_interface.h \ src/qt/rpcconsole.h \ src/scrypt.h \ src/version.h \ src/netbase.h \ src/clientversion.h \ src/txdb.h \ src/leveldb.h \ src/threadsafety.h \ src/checkpointsync.h \ src/limitedmap.h \ src/qt/macnotificationhandler.h \ src/qt/splashscreen.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/hash.cpp \ src/netbase.cpp \ src/key.cpp \ src/script.cpp \ src/main.cpp \ src/init.cpp \ src/net.cpp \ src/bloom.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/qt/walletview.cpp \ src/qt/walletstack.cpp \ src/qt/walletframe.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/paymentserver.cpp \ src/qt/rpcconsole.cpp \ src/scrypt.cpp \ src/noui.cpp \ src/leveldb.cpp \ src/checkpointsync.cpp \ src/txdb.cpp \ src/qt/splashscreen.cpp
RESOURCES += src/qt/bitcoin.qrc
FORMS += src/qt/forms/sendcoinsdialog.ui \ src/qt/forms/coincontroldialog.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 }
contains(BITCOIN_QT_TEST, 1) { SOURCES += src/qt/test/test_main.cpp \ src/qt/test/uritests.cpp HEADERS += src/qt/test/uritests.h DEPENDPATH += src/qt/test QT += testlib TARGET = bitcoin-qt_test DEFINES += BITCOIN_QT_TEST macx: CONFIG -= app_bundle }
contains(USE_SSE2, 1) { DEFINES += USE_SSE2 gccsse2.input = SOURCES_SSE2 gccsse2.output = $$PWD/build/${QMAKE_FILE_BASE}.o gccsse2.commands = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME} -msse2 -mstackrealign QMAKE_EXTRA_COMPILERS += gccsse2 SOURCES_SSE2 += src/scrypt-sse2.cpp }
# Todo: Remove this line when switching to Qt5, as that option was removed 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 += README.md \ doc/*.rst \ doc/*.txt \ doc/*.md \ src/qt/res/bitcoin-qt.rc \ src/test/*.cpp \ src/test/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h
# platform specific defaults, if not overridden on command line isEmpty(BOOST_LIB_SUFFIX) { macx:BOOST_LIB_SUFFIX = -mt win32:BOOST_LIB_SUFFIX = -mgw44-mt-s-1_50 }
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 }
win32:DEFINES += WIN32 win32:RC_FILE = src/qt/res/bitcoin-qt.rc
win32:!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 QMAKE_LIBS_QT_ENTRY = -lmingwthrd $$QMAKE_LIBS_QT_ENTRY }
!win32:!macx { DEFINES += LINUX LIBS += -lrt # _FILE_OFFSET_BITS=64 lets 32-bit fopen transparently support large files. DEFINES += _FILE_OFFSET_BITS=64 }
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:QMAKE_CFLAGS_THREAD += -pthread macx:QMAKE_LFLAGS_THREAD += -pthread macx:QMAKE_CXXFLAGS_THREAD += -pthread macx:QMAKE_INFO_PLIST = share/qt/Info.plist
# 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) win32: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 win32:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX macx:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX
contains(RELEASE, 1) { !win32:!macx { # Linux: turn dynamic linking back on for c/c++ runtime libraries LIBS += -Wl,-Bdynamic } }
system($$QMAKE_LRELEASE -silent $$TRANSLATIONS)
Earlier Error was fixed C:\deps\boost_1_55_0\libs\thread\src\win32\tss_pe.cpp change extern "C" const IMAGE_TLS_DIRECTORY32 _tls_used __attribute__ ((section(".rdata$T"))) = To #extern "C" const IMAGE_TLS_DIRECTORY32 _tls_used __attribute__ ((section(".rdata$T"))) = As reported: http://stackoverflow.com/questions/21951721/compiling-dogecoind-exe-mingw32-errorqmake bitcoin-qt.pro (OUTPUT) C:\bitcoin-0.8.6>qmake bitcoin-qt.pro Project MESSAGE: Building with UPNP support Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Project MESSAGE: Building with UPNP support Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Project MESSAGE: Building with UPNP support Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element
|
|
|
|
Danglebee
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 03:55:30 PM |
|
what mean headless build ?
|
|
|
|
apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 03:59:53 PM |
|
what mean headless build ?
bitcoind.exe is called headless.
|
|
|
|
silidons
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 06:30:49 PM |
|
now i have a new error
What source is your coin based on? I gave a try at litecoin 0.6.3 branch ( https://github.com/litecoin-project/litecoin/tree/ltc-0.6.3) and it at least compiles fine after patching. .pro file attached for reference TEMPLATE = app TARGET = VERSION = 0.6.3 INCLUDEPATH += src src/json src/qt DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE CONFIG += no_include_pwd CONFIG += static
# 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 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 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.1e/include OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1e MINIUPNPC_INCLUDE_PATH=C:/deps/ MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
OBJECTS_DIR = build MOC_DIR = build UI_DIR = build
# use: qmake "RELEASE=1" contains(RELEASE, 1) { # Mac: compile for maximum compatibility (10.5, 32-bit) macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_LFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
!win32:!macx { # Linux: static link LIBS += -Wl,-Bstatic } } # for extra security (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 # for extra security on Windows: enable ASLR and DEP via GCC linker flags win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat # on Windows: enable GCC large address aware linker flag win32:QMAKE_LFLAGS *= -Wl,--large-address-aware # i686-w64-mingw32 win32:QMAKE_LFLAGS *= -static
# 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 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 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 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 "FIRST_CLASS_MESSAGING=1" contains(FIRST_CLASS_MESSAGING, 1) { message(Building with first-class messaging) DEFINES += FIRST_CLASS_MESSAGING }
contains(BITCOIN_NEED_QT_PLUGINS, 1) { DEFINES += BITCOIN_NEED_QT_PLUGINS QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets }
!win32 { # for extra security against potential buffer overflows QMAKE_CXXFLAGS += -fstack-protector QMAKE_LFLAGS += -fstack-protector # do not enable this on windows, as it will result in a non-working executable! }
# regenerate src/build.h !win32|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 }
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter
# 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/sendcoinsdialog.h \ src/qt/addressbookpage.h \ src/qt/messagepage.h \ src/qt/aboutdialog.h \ src/qt/editaddressdialog.h \ src/qt/bitcoinaddressvalidator.h \ src/addrman.h \ src/base58.h \ src/bignum.h \ src/checkpoints.h \ src/compat.h \ src/sync.h \ src/util.h \ src/uint256.h \ src/serialize.h \ src/strlcpy.h \ src/main.h \ src/net.h \ src/key.h \ src/db.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/qt/verifymessagedialog.h \ src/scrypt.h \ src/qt/miningpage.h \ src/version.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/addressbookpage.cpp \ src/qt/messagepage.cpp \ src/qt/aboutdialog.cpp \ src/qt/editaddressdialog.cpp \ src/qt/bitcoinaddressvalidator.cpp \ src/version.cpp \ src/sync.cpp \ src/util.cpp \ src/netbase.cpp \ src/key.cpp \ src/script.cpp \ src/main.cpp \ src/init.cpp \ src/net.cpp \ src/irc.cpp \ src/checkpoints.cpp \ src/addrman.cpp \ src/db.cpp \ src/walletdb.cpp \ src/json/json_spirit_writer.cpp \ src/json/json_spirit_value.cpp \ src/json/json_spirit_reader.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/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/qt/verifymessagedialog.cpp \ src/scrypt.c \ src/qt/miningpage.cpp \ src/noui.cpp
RESOURCES += \ src/qt/bitcoin.qrc
FORMS += \ src/qt/forms/sendcoinsdialog.ui \ src/qt/forms/addressbookpage.ui \ src/qt/forms/messagepage.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/verifymessagedialog.ui \ src/qt/forms/miningpage.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 }
contains(BITCOIN_QT_TEST, 1) { SOURCES += src/qt/test/test_main.cpp \ src/qt/test/uritests.cpp HEADERS += src/qt/test/uritests.h DEPENDPATH += src/qt/test QT += testlib TARGET = bitcoin-qt_test DEFINES += BITCOIN_QT_TEST }
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 += \ contrib/gitian-descriptors/* doc/*.rst doc/*.txt doc/README README.md res/bitcoin-qt.rc \ share/setup.nsi
# platform specific defaults, if not overridden on command line isEmpty(BOOST_LIB_SUFFIX) { macx:BOOST_LIB_SUFFIX = -mt win32:BOOST_LIB_SUFFIX = -mgw44-mt-1_43 }
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 }
win32:LIBS += -lws2_32 -lshlwapi -lmswsock win32:DEFINES += WIN32 win32:RC_FILE = src/qt/res/bitcoin-qt.rc
win32:!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 QMAKE_LIBS_QT_ENTRY = -lmingwthrd $$QMAKE_LIBS_QT_ENTRY }
!win32:!mac { DEFINES += LINUX LIBS += -lrt }
macx:HEADERS += src/qt/macdockiconhandler.h macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0 macx:ICON = src/qt/res/icons/bitcoin.icns macx:TARGET = "Litecoin-Qt"
# 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) win32:LIBS += -lole32 -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
contains(RELEASE, 1) { !win32:!macx { # Linux: turn dynamic linking back on for c/c++ runtime libraries LIBS += -Wl,-Bdynamic } }
system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)
It's based on one called SmallChange, which was the same coin the guide was based on as well. Not sure why that one, but that's the one. Should I just rebuild the whole damn thing with a newer version? https://github.com/bfroemel/smallchange there it is.
|
|
|
|
apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 06:56:00 PM |
|
mine is based on 8.6.1, but got bitcoind.exe build fine & tested it. However still stuck in bitcoin-qt.exe build. Once I get this working maybe will help you out with these hiccups.
|
|
|
|
silidons
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 09:01:39 PM |
|
I will probably just re-build from a newer coin running a newer version. The guide that I am following is not very good, I had to troubleshoot a HELL OF A LOT. The guy is so full of shit that it worked fine if you followed his steps. I had to install a lot more shit than he called for, and a lot of different problems throughout the way that I was able to find by reading through various forums lol. For example, when compiling the coin from the mingw shell, he says the command is ...you have to use mingw32-make. make is not recognized at all. i don't know if that is just a problem on my end, but various forum posts from other sites say otherwise. Also, from the guide itself, it says I only need to do (from a mingw shell, command prompt, or whatever you call it) qmake "USE_UPNP=- mycoin-qt.pro well that does not do anything, it just brings up the options menu for me. Like I said maybe it's all my end...I don't know.
|
|
|
|
apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 07, 2014, 10:19:01 PM |
|
when running mingw32-make -f Makefile.Release it fails inbetween. C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -frtti -fdiagnos tics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fexceptions -mthreads -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_L IB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT _NEEDS_QMAIN -I"src" -I"src\json" -I"src\qt" -I"..\deps" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\deps\boost_1_55_0" -I"..\deps\db-4.8.30.NC\build_ unix" -I"..\deps\openssl-1.0.1e\include" -I"..\Qt\5.2.1\include" -I"..\Qt\5.2.1\ include\QtWidgets" -I"..\Qt\5.2.1\include\QtNetwork" -I"..\Qt\5.2.1\include\QtGu i" -I"..\Qt\5.2.1\include\QtCore" -I"build" -I"build" -I"..\Qt\5.2.1\mkspecs\win 32-g++" -o build\coincontroldialog.o src\qt\coincontroldialog.cpp 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/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_0/boost/bind/arg.hpp: In constructor 'boost::arg<I>::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<T>::value? 1: - 1 ]; ^ In file included from ..\deps\boost_1_55_0/boost/tuple/tuple.hpp:33:0, from ..\deps\boost_1_55_0/boost/thread/detail/async_func.hpp:37 , from ..\deps\boost_1_55_0/boost/thread/future.hpp:22, from ..\deps\boost_1_55_0/boost/thread.hpp:24, from src/util.h:24, from src/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp: In function 'typename b oost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::co ns<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, 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\qt\coincontroldialog.cpp: In constructor 'CoinControlDialog::CoinControlDial og(QWidget*)': src\qt\coincontroldialog.cpp:99:31: error: 'class QHeaderView' has no member nam ed 'setClickable' ui->treeWidget->header()->setClickable(true); ^ In file included from ..\deps\boost_1_55_0/boost/thread/shared_mutex.hpp:18:0, from ..\deps\boost_1_55_0/boost/thread/detail/thread_group.hpp: 9, from ..\deps\boost_1_55_0/boost/thread/thread.hpp:13, from ..\deps\boost_1_55_0/boost/thread.hpp:13, from src/util.h:24, from src/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_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_55_0/boost/thread/win32/shared_mutex.hpp:124:103: required fro m here ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast <long*>(&comparand));
^ ..\deps\boost_1_55_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_55_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<T const*>(&res); ^ ..\deps\boost_1_55_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_55_0/boost/system/system_error.hpp:14:0, from ..\deps\boost_1_55_0/boost/thread/exceptions.hpp:22, from ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives. hpp:16, from ..\deps\boost_1_55_0/boost/thread/win32/thread_data.hpp:11 , from ..\deps\boost_1_55_0/boost/thread/thread_only.hpp:15, 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/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope: ..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system ::posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system ::errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system ::native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Makefile.Release:21959: recipe for target 'build/coincontroldialog.o' failed mingw32-make: *** [build/coincontroldialog.o] Error 1
|
|
|
|
apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2014, 06:31:21 AM |
|
I tried building from Step 1 again, same result stuck on last line... Turn On debug this time, hope to see some feedback. ..\deps\boost_1_55_0/boost/bind/arg.hpp: In constructor 'boost::arg<I>::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<T>::value? 1: - 1 ]; ^ In file included from ..\deps\boost_1_55_0/boost/tuple/tuple.hpp:33:0, from ..\deps\boost_1_55_0/boost/thread/detail/async_func.hpp:37 , from ..\deps\boost_1_55_0/boost/thread/future.hpp:22, from ..\deps\boost_1_55_0/boost/thread.hpp:24, from src/util.h:24, from src/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_0/boost/tuple/detail/tuple_basic.hpp: In function 'typename b oost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::co ns<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, 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\qt\coincontroldialog.cpp: In constructor 'CoinControlDialog::CoinControlDial og(QWidget*)': src\qt\coincontroldialog.cpp:99:31: error: 'class QHeaderView' has no member nam ed 'setClickable' ui->treeWidget->header()->setClickable(true); ^ In file included from ..\deps\boost_1_55_0/boost/thread/shared_mutex.hpp:18:0, from ..\deps\boost_1_55_0/boost/thread/detail/thread_group.hpp: 9, from ..\deps\boost_1_55_0/boost/thread/thread.hpp:13, from ..\deps\boost_1_55_0/boost/thread.hpp:13, from src/util.h:24, from src/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_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_55_0/boost/thread/win32/shared_mutex.hpp:124:103: required fro m here ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reinterpret_cast <long*>(&comparand));
^ ..\deps\boost_1_55_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_55_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<T const*>(&res); ^ ..\deps\boost_1_55_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_55_0/boost/system/system_error.hpp:14:0, from ..\deps\boost_1_55_0/boost/thread/exceptions.hpp:22, from ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives. hpp:16, from ..\deps\boost_1_55_0/boost/thread/win32/thread_data.hpp:11 , from ..\deps\boost_1_55_0/boost/thread/thread_only.hpp:15, 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/bignum.h:12, from src/main.h:8, from src/wallet.h:13, from src/init.h:8, from src\qt\coincontroldialog.cpp:4: ..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope: ..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system ::posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system ::errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system ::native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Reaping losing child 021A3B50 PID 37047520 Makefile.Release:21959: recipe for target 'build/coincontroldialog.o' failed mingw32-make: *** [build/coincontroldialog.o] Error 1 Removing child 021A3B50 PID 37047520 from chain.
|
|
|
|
apple242
Newbie
Offline
Activity: 5
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2014, 12:24:11 PM Last edit: March 08, 2014, 02:25:11 PM by apple242 |
|
I compile and make qt but I have an error.....
Makefile.Release:684: recipe for target 'build/bitcoin.o' failed mingw32-make: *** [build/bitcoin.o] Error 1
and bitcoin.o is missing(i haved but now not...) how I solve the error? help me,please.
|
|
|
|
nitrogenetics (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2014, 04:44:48 PM |
|
I tried building from Step 1 again, same result stuck on last line... Turn On debug this time, hope to see some feedback. src\qt\coincontroldialog.cpp: In constructor 'CoinControlDialog::CoinControlDial og(QWidget*)': src\qt\coincontroldialog.cpp:99:31: error: 'class QHeaderView' has no member nam ed 'setClickable' ui->treeWidget->header()->setClickable(true); ^
setClickable has been deprecated in qt5. Use QHeaderView::setSectionsClickable instead. https://qt-project.org/doc/qt-5.0/qtdoc/sourcebreaks.html
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
apple_talk
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 473
Merit: 250
"Proof-of-Asset Protocol"
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2014, 08:50:04 PM Last edit: March 09, 2014, 07:06:41 AM by apple_talk |
|
Thanks nitrogenetics.
|
|
|
|
silidons
Newbie
Offline
Activity: 42
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 09, 2014, 06:16:05 AM |
|
Lol well now I tried to clone DogeCoin (to get a newer version of bitcoin-qt) and lo-and-behold! The merkel hash is nowhere to be found. Nowhere in the .coin folder. Thanks for the thread, but I keep on running into stupid problems. I'm not even trying to create a shit-coin, I was trying to create a coin for my own use entirely just to say that I could do it. I guess fuck windows compiling, the coin I made worked fine on linux just couldn't get the wallet to work. But now these new versions work differently it seems, like I said merkel hash = nowhere to be found.
Sorry for off-topic.
|
|
|
|
baokychen
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 09, 2014, 09:43:08 AM |
|
I have some issue building leveldb
Administrator@WIN-B05AF0ITD67 /c/deps/mycoin-master/src/leveldb $ TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a make: Nothing to be done for `libleveldb.a'. make: Nothing to be done for `libmemenv.a'.
I get the error message of nothing to be done. Is there something I miss out here for leveldb
|
|
|
|
pttinh
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 10, 2014, 02:16:37 PM |
|
could you write a guide to build a scrypt-jane or Keccak wallet. I'm sick with this.
|
|
|
|
Unicus
Newbie
Offline
Activity: 16
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 10, 2014, 07:28:36 PM |
|
Hey, thanks for the great write up. I seem to be having some issues with the last step of compiling on windows. When attempting to compile an altcoin wallet (based on litecoin), I keep receiving the following error
C:\testcoin\src>mingw32-make -f makefile.mingw g++ -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parame ter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -IC:/testcoin/src/leveldb/include -IC:/testcoin/src/leveldb/helpers - I"C:/testcoin/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4.8.30.NC/build_unix" -I "c:/deps/openssl-1.0.1e/include" -I"c:/deps/libpng-1.6.8" -I"c:/deps/qrencode-3. 4.3" -I"c:/deps/protobuf-2.5.0/src" -I"/usr/local/include" -I"c:/testcoin/src/leve ldb/include" -I"c:/testcoin/src/leveldb/" -Wl,--dynamicbase -Wl,--nxcompat -Wl,--l arge-address-aware -static -o testcoind.exe -L"C:/testcoin/src/leveldb" -L"c:/deps/b oost_1_55_0/stage/lib" -L"c:/deps/db-4.8.30.NC/build_unix" -L"c:/deps/openssl-1. 0.1e" -L"c:/deps/libpng-1.6.8/libs" -L"c:/deps/qrencode-3.4.3/libs" -L"c:/deps/p rotobuf-2.5.0/src/libs" leveldb/libleveldb.a obj/alert.o obj/version.o obj/chec kpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init. o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdum p.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawt ransaction.o obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/wa lletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o -l boost_sys tem-mgw48-mt-s-1_55 -l boost_filesystem-mgw48-mt-s-1_55 -l boost_program_options -mgw48-mt-s-1_55 -l boost_thread-mgw48-mt-s-1_55 -l db_cxx -l leveldb -l boost_c hrono-mgw48-mt-s-1_55 -l ssl -l crypto -l mingwthrd -l kernel32 -l user32 -l gdi 32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi obj/leveldb.o: In function `ZN8CLevelDBC2ERKN5boost10filesystem4pathEjbb': c:\testcoin\src/leveldb.cpp:46: undefined reference to `leveldb::NewMemEnv(leveldb ::Env*)' collect2.exe: error: ld returned 1 exit status makefile.mingw:144: recipe for target 'testcoind.exe' failed mingw32-make: *** [testcoind.exe] Error 1
This is on a windows virtual machine in which I followed the directions exactly as typed. Thanks for your time and any help is greatly appreciated.
|
|
|
|
old c coder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 13, 2014, 07:35:29 PM |
|
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Flostabout.com%2Fbtc%2Fmsvc1.gif&t=665&c=RclGx-ORHOmtBA) Ron Congratz! Do you have available any guide or instructions to make Bitcoin compile with MSVC? Hello kr105 Not yet, but it does compile. The real question is does it run? The levelDB windows (static debug) library I built "stumbles" in the 12th loop in VerifyDB() at level 3. It passes at level 0,1,2 and the exe goes all the way to running. Even connects to clients, but can't store the first new block it obtains, yet. I believe it is related to the LRU cache problem I'm seeing in VerifyDB() level 2. I am testing on a copy of the block chain that starts(or is it ends) at 272233. This blockchain starts up fine using a "normal" version of bitcoind.exe ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) The levelDB code thinks it needs a chainstate/604027.sst file and tries to open it, finding that it is already open! So either it thought it closed it but it didn't. Or it didn't think it had it, but it did. I built my .lib from the 1.13 release since that was the latest when I began ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I see that bitcoin 0.8.5 uses levelDB 1.12. So should I use that version or try for the latest 1.15 ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) The hardest parts are creating the libraries needed for MSVC++ and configuring the IDE for the project, the files, the include and library directories. Once that's done, it's a cake walk to compile test, build, debug, etc. Since the IDE has "intellisense" on all the classes, etc. it is really nice, especially in debug mode. And it "knows" about the include file relationships, which is worth it in time on rebuilding. Since there was so little reaction to the pix, I went off MSVC++ porting some other *coin. And it went much faster since I had done the tough work on the bitcoin sources. I am trying to find (and fix) this levelDB caching problem, and when I have and the code works, I will clean up the sources and "github" them. I will say the there are very few changes done to the source. It is mostly in the arrangement of the includes ![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif) Ron Hello all, It has been over 3 months, and three *coind.exe's later and finally fixing a bug in the MSVC windows version of the leveldb code, I can say that bitcoind.exe is a full, pure MSVC++ product (again?). Much more to follow... Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
Stygian0708
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 84
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 13, 2014, 10:26:28 PM |
|
I am unable to get boost installed I have followed this guide and still when I run the command to install boost it cannot find gcc any ideas 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.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org Please attach bootstrap.log in that case.
C:\deps\boost_1_55_0>
|
|
|
|
GivecoinDan
Newbie
Offline
Activity: 13
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 14, 2014, 06:05:29 AM |
|
I am unable to get boost installed I have followed this guide and still when I run the command to install boost it cannot find gcc any ideas 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.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org Please attach bootstrap.log in that case.
C:\deps\boost_1_55_0>
Traverse to: $BOOSTDIR/tools/build/v2/engine/build.bat and at like line 93 before :Guess_Toolset put 3 spaces(new lines) in then after that, type out cmd /c 'bootstrap.bat mingw' There ya go.
|
|
|
|
|