Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error: conflicting declaration 'typedef int32_t ssize_t' (mingw versus berkeley db)

946 views
Skip to first unread message

Skybuck Flying

unread,
Nov 26, 2011, 8:50:07 PM11/26/11
to
Hello,

Building the bitcoin-qt 0.5.0rc7 client for win32 (on windows 7) has a
little problem, qtcreator reports a conflicting type "ssize_t".

So two simple questions I guess:

1. How many bits should ssize_t be for mingw32 (types.h) ?
2. How many bits should ssize_t be for berkeley db (db.h) ?

And finally:

3. What would be a good solution to fix it ? (I could rename the type in
db.h and modify all source code of berkeley db, but maybe there is an easier
way ? Also I am not sure if renaming the type would help, since maybe there
is a size conflict as well, hence questions 1 and 2 to be sure... )

"
Running build steps for project skycoin-qt...
Starting: "C:\Tools\QtSDK\mingw\bin\mingw32-make.exe" clean
C:/Tools/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug clean
mingw32-make[1]: Entering directory `X:/CPP/Applications/SkyCoin/version
0.02 complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
del src\qt\locale\bitcoin_da.qm src\qt\locale\bitcoin_de.qm
src\qt\locale\bitcoin_en.qm src\qt\locale\bitcoin_es.qm
src\qt\locale\bitcoin_es_CL.qm src\qt\locale\bitcoin_nb.qm
src\qt\locale\bitcoin_nl.qm src\qt\locale\bitcoin_ru.qm
src\qt\locale\bitcoin_zh_TW.qm
del build\moc_bitcoingui.cpp build\moc_transactiontablemodel.cpp
build\moc_addresstablemodel.cpp build\moc_optionsdialog.cpp
build\moc_sendcoinsdialog.cpp build\moc_addressbookpage.cpp
build\moc_aboutdialog.cpp build\moc_editaddressdialog.cpp
build\moc_bitcoinaddressvalidator.cpp build\moc_clientmodel.cpp
build\moc_optionsmodel.cpp build\moc_monitoreddatamapper.cpp
build\moc_transactiondesc.cpp build\moc_transactiondescdialog.cpp
build\moc_bitcoinamountfield.cpp build\moc_transactionfilterproxy.cpp
build\moc_transactionview.cpp build\moc_walletmodel.cpp
build\moc_overviewpage.cpp build\moc_csvmodelwriter.cpp
build\moc_sendcoinsentry.cpp build\moc_qvalidatedlineedit.cpp
build\moc_qvaluecombobox.cpp build\moc_askpassphrasedialog.cpp
build\moc_notificator.cpp
del debug\qrc_bitcoin.cpp
del build\optionsdialog.moc build\overviewpage.moc
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\src\qt\locale\bitcoin_da.qm
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\moc_bitcoingui.cpp
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\debug\qrc_bitcoin.cpp
del build\ui_sendcoinsdialog.h build\ui_addressbookpage.h
build\ui_aboutdialog.h build\ui_editaddressdialog.h
build\ui_transactiondescdialog.h build\ui_overviewpage.h
build\ui_sendcoinsentry.h build\ui_askpassphrasedialog.h
del build\bitcoin.o build\bitcoingui.o build\transactiontablemodel.o
build\addresstablemodel.o build\optionsdialog.o build\sendcoinsdialog.o
build\addressbookpage.o build\aboutdialog.o build\editaddressdialog.o
build\bitcoinaddressvalidator.o build\util.o build\script.o build\main.o
build\init.o build\net.o build\irc.o build\db.o build\json_spirit_writer.o
build\json_spirit_value.o build\json_spirit_reader.o build\clientmodel.o
build\guiutil.o build\transactionrecord.o build\optionsmodel.o
build\monitoreddatamapper.o build\transactiondesc.o
build\transactiondescdialog.o build\bitcoinstrings.o
build\bitcoinamountfield.o build\wallet.o build\keystore.o
build\transactionfilterproxy.o build\transactionview.o build\walletmodel.o
build\bitcoinrpc.o build\overviewpage.o build\csvmodelwriter.o
build\crypter.o build\sendcoinsentry.o build\qvalidatedlineedit.o
build\bitcoinunits.o build\qvaluecombobox.o build\askpassphrasedialog.o
build\protocol.o build\notificator.o build\moc_bitcoingui.o
build\moc_transactiontablemodel.o build\moc_addresstablemodel.o
build\moc_optionsdialog.o build\moc_sendcoinsdialog.o
build\moc_addressbookpage.o build\moc_aboutdialog.o
build\moc_editaddressdialog.o build\moc_bitcoinaddressvalidator.o
build\moc_clientmodel.o build\moc_optionsmodel.o
build\moc_monitoreddatamapper.o build\moc_transactiondesc.o
build\moc_transactiondescdialog.o build\moc_bitcoinamountfield.o
build\moc_transactionfilterproxy.o build\moc_transactionview.o
build\moc_walletmodel.o build\moc_overviewpage.o build\moc_csvmodelwriter.o
build\moc_sendcoinsentry.o build\moc_qvalidatedlineedit.o
build\moc_qvaluecombobox.o build\moc_askpassphrasedialog.o
build\moc_notificator.o build\qrc_bitcoin.o
del build\bitcoin-qt_res.o
mingw32-make[1]: Leaving directory `X:/CPP/Applications/SkyCoin/version 0.02
complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
C:/Tools/QtSDK/mingw/bin/mingw32-make -f Makefile.Release clean
mingw32-make[1]: Entering directory `X:/CPP/Applications/SkyCoin/version
0.02 complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
del src\qt\locale\bitcoin_da.qm src\qt\locale\bitcoin_de.qm
src\qt\locale\bitcoin_en.qm src\qt\locale\bitcoin_es.qm
src\qt\locale\bitcoin_es_CL.qm src\qt\locale\bitcoin_nb.qm
src\qt\locale\bitcoin_nl.qm src\qt\locale\bitcoin_ru.qm
src\qt\locale\bitcoin_zh_TW.qm
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\bitcoin-qt_res.o
del build\moc_bitcoingui.cpp build\moc_transactiontablemodel.cpp
build\moc_addresstablemodel.cpp build\moc_optionsdialog.cpp
build\moc_sendcoinsdialog.cpp build\moc_addressbookpage.cpp
build\moc_aboutdialog.cpp build\moc_editaddressdialog.cpp
build\moc_bitcoinaddressvalidator.cpp build\moc_clientmodel.cpp
build\moc_optionsmodel.cpp build\moc_monitoreddatamapper.cpp
build\moc_transactiondesc.cpp build\moc_transactiondescdialog.cpp
build\moc_bitcoinamountfield.cpp build\moc_transactionfilterproxy.cpp
build\moc_transactionview.cpp build\moc_walletmodel.cpp
build\moc_overviewpage.cpp build\moc_csvmodelwriter.cpp
build\moc_sendcoinsentry.cpp build\moc_qvalidatedlineedit.cpp
build\moc_qvaluecombobox.cpp build\moc_askpassphrasedialog.cpp
build\moc_notificator.cpp
del release\qrc_bitcoin.cpp
del build\optionsdialog.moc build\overviewpage.moc
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\src\qt\locale\bitcoin_da.qm
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\moc_bitcoingui.cpp
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\release\qrc_bitcoin.cpp
del build\ui_sendcoinsdialog.h build\ui_addressbookpage.h
build\ui_aboutdialog.h build\ui_editaddressdialog.h
build\ui_transactiondescdialog.h build\ui_overviewpage.h
build\ui_sendcoinsentry.h build\ui_askpassphrasedialog.h
del build\bitcoin.o build\bitcoingui.o build\transactiontablemodel.o
build\addresstablemodel.o build\optionsdialog.o build\sendcoinsdialog.o
build\addressbookpage.o build\aboutdialog.o build\editaddressdialog.o
build\bitcoinaddressvalidator.o build\util.o build\script.o build\main.o
build\init.o build\net.o build\irc.o build\db.o build\json_spirit_writer.o
build\json_spirit_value.o build\json_spirit_reader.o build\clientmodel.o
build\guiutil.o build\transactionrecord.o build\optionsmodel.o
build\monitoreddatamapper.o build\transactiondesc.o
build\transactiondescdialog.o build\bitcoinstrings.o
build\bitcoinamountfield.o build\wallet.o build\keystore.o
build\transactionfilterproxy.o build\transactionview.o build\walletmodel.o
build\bitcoinrpc.o build\overviewpage.o build\csvmodelwriter.o
build\crypter.o build\sendcoinsentry.o build\qvalidatedlineedit.o
build\bitcoinunits.o build\qvaluecombobox.o build\askpassphrasedialog.o
build\protocol.o build\notificator.o build\moc_bitcoingui.o
build\moc_transactiontablemodel.o build\moc_addresstablemodel.o
build\moc_optionsdialog.o build\moc_sendcoinsdialog.o
build\moc_addressbookpage.o build\moc_aboutdialog.o
build\moc_editaddressdialog.o build\moc_bitcoinaddressvalidator.o
build\moc_clientmodel.o build\moc_optionsmodel.o
build\moc_monitoreddatamapper.o build\moc_transactiondesc.o
build\moc_transactiondescdialog.o build\moc_bitcoinamountfield.o
build\moc_transactionfilterproxy.o build\moc_transactionview.o
build\moc_walletmodel.o build\moc_overviewpage.o build\moc_csvmodelwriter.o
build\moc_sendcoinsentry.o build\moc_qvalidatedlineedit.o
build\moc_qvaluecombobox.o build\moc_askpassphrasedialog.o
build\moc_notificator.o build\qrc_bitcoin.o
del build\bitcoin-qt_res.o
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\optionsdialog.moc
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\ui_sendcoinsdialog.h
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\bitcoin.o
mingw32-make[1]: Leaving directory `X:/CPP/Applications/SkyCoin/version 0.02
complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
Could Not Find X:\CPP\Applications\SkyCoin\version 0.02 complete try the qt
creator with the pro
file\skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\build\bitcoin-qt_res.o
The process "C:\Tools\QtSDK\mingw\bin\mingw32-make.exe" exited normally.
Configuration unchanged, skipping qmake step.
Starting: "C:\Tools\QtSDK\mingw\bin\mingw32-make.exe"
C:/Tools/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `X:/CPP/Applications/SkyCoin/version
0.02 complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_da.ts
Updating '..\src\src\qt\locale\bitcoin_da.qm'...
Generated 342 translation(s) (342 finished and 0 unfinished)
Ignored 84 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_de.ts
Updating '..\src\src\qt\locale\bitcoin_de.qm'...
Generated 343 translation(s) (343 finished and 0 unfinished)
Ignored 83 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_en.ts
Updating '..\src\src\qt\locale\bitcoin_en.qm'...
Generated 7 translation(s) (0 finished and 7 unfinished)
Ignored 419 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_es.ts
Updating '..\src\src\qt\locale\bitcoin_es.qm'...
Generated 423 translation(s) (423 finished and 0 unfinished)
Ignored 3 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_es_CL.ts
Updating '..\src\src\qt\locale\bitcoin_es_CL.qm'...
Generated 423 translation(s) (423 finished and 0 unfinished)
Ignored 3 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_nb.ts
Updating '..\src\src\qt\locale\bitcoin_nb.qm'...
Generated 423 translation(s) (423 finished and 0 unfinished)
Ignored 3 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_nl.ts
Updating '..\src\src\qt\locale\bitcoin_nl.qm'...
Generated 423 translation(s) (423 finished and 0 unfinished)
Ignored 3 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_ru.ts
Updating '..\src\src\qt\locale\bitcoin_ru.qm'...
Generated 376 translation(s) (376 finished and 0 unfinished)
Ignored 50 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\lrelease.exe
..\src\src\qt\locale\bitcoin_zh_TW.ts
Updating '..\src\src\qt\locale\bitcoin_zh_TW.qm'...
Generated 423 translation(s) (423 finished and 0 unfinished)
Ignored 3 untranslated source text(s)
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\sendcoinsdialog.ui -o build\ui_sendcoinsdialog.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\addressbookpage.ui -o build\ui_addressbookpage.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\aboutdialog.ui -o build\ui_aboutdialog.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\editaddressdialog.ui -o build\ui_editaddressdialog.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\transactiondescdialog.ui -o
build\ui_transactiondescdialog.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\overviewpage.ui -o build\ui_overviewpage.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\sendcoinsentry.ui -o build\ui_sendcoinsentry.h
c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\uic.exe
..\src\src\qt\forms\askpassphrasedialog.ui -o build\ui_askpassphrasedialog.h
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\bitcoin.o ..\src\src\qt\bitcoin.cpp
In file included from ..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows/db_cxx.h:65,
from ..\src\src/headers.h:42,
from ..\src\src\qt\bitcoin.cpp:9:
..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows/db.h:135:
error: conflicting declaration 'typedef int32_t ssize_t'
c:\tools\qtsdk\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:104:
error: 'ssize_t' has a previous declaration as 'typedef _ssize_t ssize_t'
mingw32-make[1]: Leaving directory `X:/CPP/Applications/SkyCoin/version 0.02
complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
mingw32-make[1]: *** [build/bitcoin.o] Error 1
mingw32-make: *** [debug] Error 2
The process "C:\Tools\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project skycoin-qt (target: Desktop)
When executing build step 'Make'
"

Bye,
Skybuck.

Skybuck Flying

unread,
Nov 26, 2011, 9:04:15 PM11/26/11
to
Also to help make sense of it here are the code sections which are apparently conflicting:
 
// *** Begin of Berkeley DB Snippet ***:
 
// db.h:
 
/*
* Berkeley DB version information.
*/
#define DB_VERSION_MAJOR 4
#define DB_VERSION_MINOR 8
#define DB_VERSION_PATCH 30
#define DB_VERSION_STRING "Berkeley DB 4.8.30: (April 12, 2010)"
 
/*
* !!!
* Berkeley DB uses specifically sized types.  If they're not provided by
* the system, typedef them here.
*
* We protect them against multiple inclusion using __BIT_TYPES_DEFINED__,
* as does BIND and Kerberos, since we don't know for sure what #include
* files the user is using.
*
* !!!
* We also provide the standard u_int, u_long etc., if they're not provided
* by the system.
*/
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
typedef unsigned char u_int8_t;
typedef short int16_t;
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
typedef __int64 int64_t;
typedef unsigned __int64 u_int64_t;
#endif
 
#ifndef _WINSOCKAPI_
typedef unsigned char u_char;
typedef unsigned int u_int;
typedef unsigned long u_long;
#endif
typedef unsigned short u_short;
 
/*
* Missing ANSI types.
*
* uintmax_t --
* Largest unsigned type, used to align structures in memory.  We don't store
* floating point types in structures, so integral types should be sufficient
* (and we don't have to worry about systems that store floats in other than
* power-of-2 numbers of bytes).  Additionally this fixes compilers that rewrite
* structure assignments and ANSI C memcpy calls to be in-line instructions
* that happen to require alignment.
*
* uintptr_t --
* Unsigned type that's the same size as a pointer.  There are places where
* DB modifies pointers by discarding the bottom bits to guarantee alignment.
* We can't use uintmax_t, it may be larger than the pointer, and compilers
* get upset about that.  So far we haven't run on any machine where there's
* no unsigned type the same size as a pointer -- here's hoping.
*/
#if defined(_MSC_VER) && _MSC_VER < 1300
typedef u_int32_t uintmax_t;
#else
typedef u_int64_t uintmax_t;
#endif
#ifdef _WIN64
typedef u_int64_t uintptr_t;
#else
typedef u_int32_t uintptr_t;
#endif
 
/*
* Windows defines off_t to long (i.e., 32 bits).  We need to pass 64-bit
* file offsets, so we declare our own.
*/
#define off_t __db_off_t
typedef int64_t off_t;
typedef int pid_t;
#ifdef _WIN64
typedef int64_t ssize_t;
#else
typedef int32_t ssize_t;
#endif
// *** End of Berkeley DB Snippet ***
 
// *** Begin of MingW Snippet ***:
 
// types.h:
 
#ifndef _SSIZE_T_
#define _SSIZE_T_
typedef long _ssize_t;
 
#ifndef _NO_OLDNAMES
typedef _ssize_t ssize_t;
#endif
#endif /* Not _SSIZE_T_ */
// *** End of MingW Snippet ***
 
Please advise,
 
Bye,
  Skybuck.

Skybuck Flying

unread,
Nov 26, 2011, 9:27:24 PM11/26/11
to
I tried to fix it as follows:
 
#ifndef _SSIZE_T_
#define _SSIZE_T_
//typedef long _ssize_t; // original
typedef int _ssize_t;   // test by Skybuck.
 

#ifndef _NO_OLDNAMES
typedef _ssize_t ssize_t;
#endif
#endif /* Not _SSIZE_T_ */
The build process then goes as follows, and produces some errors, I am not sure if it’s because of a type issue or If the code needs further fixing:
 
Running build steps for project skycoin-qt...
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\bitcoin.o ..\src\src\qt\bitcoin.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\bitcoingui.o ..\src\src\qt\bitcoingui.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\transactiontablemodel.o ..\src\src\qt\transactiontablemodel.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\addresstablemodel.o ..\src\src\qt\addresstablemodel.cpp
C:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\src\src\qt\optionsdialog.cpp -o build\optionsdialog.moc
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\optionsdialog.o ..\src\src\qt\optionsdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\sendcoinsdialog.o ..\src\src\qt\sendcoinsdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\addressbookpage.o ..\src\src\qt\addressbookpage.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\aboutdialog.o ..\src\src\qt\aboutdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\editaddressdialog.o ..\src\src\qt\editaddressdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\bitcoinaddressvalidator.o ..\src\src\qt\bitcoinaddressvalidator.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version 1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version 4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version 1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build" -I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++" -o build\util.o ..\src\src\util.cpp
In file included from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/numeric/conversion/numeric_cast_traits.hpp:28,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/numeric/conversion/cast.hpp:34,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:40,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/value_semantic.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/options_description.hpp:13,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/detail/cmdline.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/parsers.hpp:12,
                 from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version 1.48.0/boost/numeric/conversion/detail/numeric_cast_traits.hpp:10:84: error: boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp: No such file or directory
In file included from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector/vector10.hpp:27,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector/vector20.hpp:18,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector.hpp:36,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/policies/policy.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/special_functions/math_fwd.hpp:28,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/special_functions/sign.hpp:17,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:44,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/value_semantic.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/options_description.hpp:13,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/detail/cmdline.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/parsers.hpp:12,
                 from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector/aux_/include_preprocessed.hpp:49:84: error: boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp: No such file or directory
In file included from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector/vector20.hpp:27,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector.hpp:36,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/policies/policy.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/special_functions/math_fwd.hpp:28,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/special_functions/sign.hpp:17,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:44,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/value_semantic.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/options_description.hpp:13,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/detail/cmdline.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/parsers.hpp:12,
                 from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector/aux_/include_preprocessed.hpp:49:84: error: boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp: No such file or directory
In file included from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/include_preprocessed.hpp:37,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector.hpp:46,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/policies/policy.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/special_functions/math_fwd.hpp:28,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/math/special_functions/sign.hpp:17,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:44,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/value_semantic.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/options_description.hpp:13,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/detail/cmdline.hpp:14,
                 from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/program_options/parsers.hpp:12,
                 from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:43: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:43: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:43: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:55: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:55: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:55: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:67: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:67: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:67: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:79: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:79: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:79: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:91: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:91: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:91: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:104: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:104: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:104: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:117: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:117: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:117: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:130: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:130: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:130: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:143: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:143: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:143: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:156: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:156: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:156: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:170: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:170: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:170: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:184: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:184: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:184: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:198: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:198: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:198: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:212: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:212: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:212: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:226: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:226: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:226: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:243: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:243: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:243: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:261: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:261: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:261: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:279: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:279: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:279: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:297: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:297: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:297: error: expected unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:314: error: expected template-name before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:314: error: expected '{' before '<' token
..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:314: error: expected unqualified-id before '<' token
..\src\src\util.cpp:711: warning: 'dllimport' attribute ignored [-Wattributes]

mingw32-make[1]: Leaving directory `X:/CPP/Applications/SkyCoin/version 0.02 complete try the qt creator with the pro file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
mingw32-make[1]: *** [build/util.o] Error 1

mingw32-make: *** [debug] Error 2
The process "C:\Tools\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project skycoin-qt (target: Desktop)
When executing build step 'Make'
// The following code belongs to error vector.hpp:43:
 
template<
      typename T0
    >
struct vector<
          T0, na, na, na, na, na, na, na, na, na, na, na, na, na, na, na, na
        , na, na, na
        >
    : vector1<T0> //  <- it complains here at the :
{
    typedef typename vector1<T0>::type type;
};
 
Who can make some sense out of this ?
 
I can think of a number of reasons why this build is failing:
 
1. Type problem ?
2. Syntax problem ? Perhaps mingw gets confused ? Perhaps the newlines cause it... ?
3. Support problem ? Perhaps mingw does not support the code ? Perhaps missing C++ features ?
4. Perhaps some other build problem ?
5. Perhaps incompatibility between visual studio build libraries and mingw ?
 
In the first posting it also shows files not being found, not sure if that has anything to do with it ?
 
6. Perhaps mingw has compile issues with spaces in filenames ? and somehow that might be causing problems ?
 
Bye,
  Skybuck.
 

Skybuck Flying

unread,
Nov 26, 2011, 10:01:24 PM11/26/11
to
I tried to fix it as follows:

#ifndef _SSIZE_T_
#define _SSIZE_T_
//typedef long _ssize_t; // original
typedef int _ssize_t; // test by Skybuck.


#ifndef _NO_OLDNAMES
typedef _ssize_t ssize_t;
#endif
#endif /* Not _SSIZE_T_ */

The build process then goes as follows, and produces some errors, I am not
sure if it’s because of a type issue or If the code needs further fixing:


Running build steps for project skycoin-qt...
-o build\bitcoingui.o ..\src\src\qt\bitcoingui.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\transactiontablemodel.o ..\src\src\qt\transactiontablemodel.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\addresstablemodel.o ..\src\src\qt\addresstablemodel.cpp
C:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_GUI -DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-D__GNUC__ -DWIN32 ..\src\src\qt\optionsdialog.cpp -o
build\optionsdialog.moc
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\optionsdialog.o ..\src\src\qt\optionsdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\sendcoinsdialog.o ..\src\src\qt\sendcoinsdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\addressbookpage.o ..\src\src\qt\addressbookpage.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\aboutdialog.o ..\src\src\qt\aboutdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\editaddressdialog.o ..\src\src\qt\editaddressdialog.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\bitcoinaddressvalidator.o
..\src\src\qt\bitcoinaddressvalidator.cpp
g++ -c -g -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wno-strict-aliasing
-Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
-Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI
-DBOOST_THREAD_USE_LIB -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -DQT_DLL -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore"
-I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include"
-I"..\src\src" -I"..\src\src\json" -I"..\src\src\qt" -I"..\..\..\..\Libraries\Boost\version
1.48.0" -I"..\..\..\..\Libraries\Berkeley DB\version
4.8.30.NC\build_windows" -I"..\..\..\..\Libraries\OpenSSL\version
1.0.0e\include" -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"build"
-I"build" -I"." -I"c:\Tools\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
-o build\util.o ..\src\src\util.cpp
In file included from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/numeric/conversion/numeric_cast_traits.hpp:28,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/numeric/conversion/cast.hpp:34,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:40,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/value_semantic.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/options_description.hpp:13,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/detail/cmdline.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/parsers.hpp:12,
from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version
1.48.0/boost/numeric/conversion/detail/numeric_cast_traits.hpp:10:84: error:
boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp: No
such file or directory
In file included from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/vector/vector10.hpp:27,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/vector/vector20.hpp:18,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector.hpp:36,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/policies/policy.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/special_functions/math_fwd.hpp:28,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/special_functions/sign.hpp:17,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:44,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/value_semantic.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/options_description.hpp:13,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/detail/cmdline.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/parsers.hpp:12,
from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/vector/aux_/include_preprocessed.hpp:49:84: error:
boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp: No such file
or directory
In file included from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/vector/vector20.hpp:27,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector.hpp:36,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/policies/policy.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/special_functions/math_fwd.hpp:28,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/special_functions/sign.hpp:17,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:44,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/value_semantic.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/options_description.hpp:13,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/detail/cmdline.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/parsers.hpp:12,
from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/vector/aux_/include_preprocessed.hpp:49:84: error:
boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp: No such file
or directory
In file included from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/include_preprocessed.hpp:37,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/mpl/vector.hpp:46,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/policies/policy.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/special_functions/math_fwd.hpp:28,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/math/special_functions/sign.hpp:17,
from ..\..\..\..\Libraries\Boost\version 1.48.0/boost/lexical_cast.hpp:44,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/value_semantic.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/options_description.hpp:13,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/detail/cmdline.hpp:14,
from ..\..\..\..\Libraries\Boost\version
1.48.0/boost/program_options/parsers.hpp:12,
from ..\src\src\util.cpp:8:
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:43: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:43: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:43: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:55: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:55: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:55: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:67: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:67: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:67: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:79: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:79: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:79: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:91: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:91: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:91: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:104: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:104: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:104: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:117: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:117: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:117: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:130: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:130: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:130: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:143: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:143: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:143: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:156: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:156: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:156: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:170: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:170: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:170: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:184: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:184: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:184: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:198: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:198: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:198: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:212: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:212: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:212: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:226: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:226: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:226: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:243: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:243: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:243: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:261: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:261: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:261: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:279: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:279: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:279: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:297: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:297: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:297: error: expected
unqualified-id before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:314: error: expected
template-name before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:314: error: expected '{'
before '<' token
..\..\..\..\Libraries\Boost\version
1.48.0/boost/mpl/aux_/preprocessed/gcc/vector.hpp:314: error: expected
unqualified-id before '<' token
..\src\src\util.cpp:711: warning: 'dllimport' attribute ignored
[-Wattributes]
mingw32-make[1]: Leaving directory `X:/CPP/Applications/SkyCoin/version 0.02
complete try the qt creator with the pro
file/skycoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug'
mingw32-make[1]: *** [build/util.o] Error 1
mingw32-make: *** [debug] Error 2
The process "C:\Tools\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project skycoin-qt (target: Desktop)
When executing build step 'Make'


// The following code belongs to error vector.hpp:43:


template<
typename T0
>
struct vector<
T0, na, na, na, na, na, na, na, na, na, na, na, na, na, na, na, na
, na, na, na
>
: vector1<T0> // <- it complains here at the :
{
typedef typename vector1<T0>::type type;
};


Who can make some sense out of this ?

I can think of a number of reasons why this build is failing:

1. Type problem ?
2. Syntax problem ? Perhaps mingw gets confused ? Perhaps the newlines cause
it... ?
3. Support problem ? Perhaps mingw does not support the code ? Perhaps
missing C++ features ?
4. Perhaps some other build problem ?
5. Perhaps incompatibility between visual studio build libraries and mingw ?

In the first posting it also shows files not being found, not sure if that
has anything to do with it ?

6. Perhaps mingw has compile issues with spaces in filenames ? and somehow
that might be causing problems ?
Others have noticed this issue as well, in other projects as well, this link
also mentions weird behaviour/bugs, so maybe that’s the cause, maybe mingw
needs to be fixed first ?

http://permalink.gmane.org/gmane.comp.gnu.mingw.announce/3612

https://forums.oracle.com/forums/thread.jspa?threadID=676654

(
Maybe this could help somebody some day, though it's a bit too much info for
my taste, me no unix user, it mention data size neutrality
http://www.unix.org/whitepapers/64bit.html
^ maybe this link is useless I don't know, haven't fully read it yet ;)
)

Bye,
Skybuck.

ImpalerCore

unread,
Nov 29, 2011, 4:07:16 PM11/29/11
to
On Nov 26, 8:50 pm, "Skybuck Flying" <Windows7I...@DreamPC2006.com>
wrote:
> Hello,
>
> Building the bitcoin-qt 0.5.0rc7 client for win32 (on windows 7) has a
> little problem, qtcreator reports a conflicting type "ssize_t".
>
> So two simple questions I guess:
>
> 1. How many bits should ssize_t be for mingw32 (types.h) ?
> 2. How many bits should ssize_t be for berkeley db (db.h) ?

The number of bits for 'ssize_t' should be the same number of bits of
'size_t'.

> And finally:
>
> 3. What would be a good solution to fix it ? (I could rename the type in
> db.h and modify all source code of berkeley db, but maybe there is an easier
> way ? Also I am not sure if renaming the type would help, since maybe there
> is a size conflict as well, hence questions 1 and 2 to be sure... )

One option would be to rely on the detection of a <sys/types.h> file,
a la autoconf and friends.

\code
#if defined(HAVE_SYS_TYPES_H)
/* Let's MinGW or other native OS define 'ssize_t' for you */
# include <sys/types.h>
#else
... Define ssize_t in your own way ...
#endif
\endcode

where '... Define ssize_t in your own way ...' could be

\code snippet db.h
#ifdef _WIN64
typedef int64_t ssize_t;
#else
typedef int32_t ssize_t;
#endif
\endcode

This would require you to manually define -DHAVE_SYS_TYPES_H in the
configuration if the build environment doesn't support run-time
detection of compiler and library features (like whether you can
include <sys/types.h>).

Ideally, defining a proper 'ssize_t' type should also include an
appropriate limit along the lines of 'SSIZE_MAX'. Another option is
to inspect whether the 'SSIZE_MAX' symbol is defined is use that
information to infer whether 'ssize_t' is defined as well. MinGW
defines one in its <limits.h>. YMMV

You can insert a compile-time assertion to verify that "sizeof
(size_t) == sizeof (ssize_t)" if you want to be sure.

#define C_STATIC_ASSERT(name, expr) extern char (name)[(expr) ? 1 :
-1]

C_STATIC_ASSERT( ssize_t_is_compatible_with_size_t,
sizeof (ssize_t) == sizeof (size_t) );

Best regards,
John D.
0 new messages