Post
Topic
Board Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
old c coder
on 21/02/2017, 20:17:25 UTC
Hello guys and girls :-)

Trying to build my own core with blackjack.
Base is 0.13.2 or latest from GitHub, does not matter.

I have some issue on stage when configure is checking Qt5PlatformSupport and lqwindows(Checking for lqwindows...no...bitcoin-qt frontend will no be build), log looks like :

Quote
configure:23592: checking for static Qt plugins: -lqwindows
configure:23610: g++ -std=c++11 -o conftest.exe  -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -w -I/c/deps/src/qtbase/include -I/c/deps/src/qtbase/include/QtCore -I/c/deps/src/qtbase/include/QtGui -I/c/deps/src/qtbase/include/QtWidgets -I/c/deps/src/qtbase/include/QtNetwork -I/c/deps/src/qtbase/include/QtTest -I/c/deps/src/qtbase/include/QtDBus -I/c/deps/db-4.8.30.NC/build_unix -I/c/deps/openssl-1.0.1l/include -I/c/deps -I/c/deps/src -I/c/deps/protobuf-2.6.1/src -I/c/deps/libevent-2.1.8-stable/include -I/c/deps/libpng-1.6.16 -I/c/deps/qrencode-3.4.4 -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_FILE_OFFSET_BITS=64 -L/c/deps/db-4.8.30.NC/build_unix -L/c/deps/openssl-1.0.1l -L/c/deps -L/c/deps/src
-L/c/deps/src/qtbase/lib
-L/c/deps/miniupnpc -L/c/deps/libevent-2.1.8-stable/.libs -L/c/deps/libpng-1.6.16/.libs -L/c/deps/protobuf-2.6.1/src/.libs -L/c/deps/qrencode-3.4.4/.libs conftest.cpp -lqwindows -lQt5Widgets -lQt5Network -lQt5Gui     -lQt5Core    -lqtharfbuzzng -lqtpcre -lpng  -lz  -limm32  -L/c/deps/src/qtbase/lib -L/c/deps/src/qtbase/plugins/platforms -lQt5PlatformSupport -lssp -lcrypt32 -liphlpapi -lshlwapi -lmswsock -lws2_32 -ladvapi32 -lrpcrt4 -luuid -loleaut32 -lole32 -lcomctl32 -lshell32 -lwinmm -lwinspool -lcomdlg32 -lgdi32 -luser32 -lkernel32 -lmingwthrd  >&5
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qbasicfontdatabase.o):qbasicfontdatabase.cpp:(.text+0x8e5): undefined reference to `FT_New_Memory_Face'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qbasicfontdatabase.o):qbasicfontdatabase.cpp:(.text+0x99d): undefined reference to `FT_Get_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qbasicfontdatabase.o):qbasicfontdatabase.cpp:(.text+0xc15): undefined reference to `FT_Done_Face'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qbasicfontdatabase.o):qbasicfontdatabase.cpp:(.text+0xc9f): undefined reference to `FT_New_Face'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x237): undefined reference to `FT_Load_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x297): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x2c4): undefined reference to `FT_Set_Charmap'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x2ce): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x2e3): undefined reference to `FT_Set_Charmap'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x319): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x328): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x421): undefined reference to `FT_Load_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x501): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x51c): undefined reference to `FT_Set_Charmap'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x527): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x53e): undefined reference to `FT_Set_Charmap'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6bd): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6f0): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x716): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x7a4): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x7d0): undefined reference to `FT_Get_Char_Index'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x9d4): undefined reference to `FT_Init_FreeType'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x9fd): undefined reference to `FT_Get_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0xa30): undefined reference to `FT_Load_Glyph'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0xac1): undefined reference to `FT_Done_Face'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0xb64): undefined reference to `FT_Done_FreeType'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0xd93): undefined reference to `FT_Set_Char_Size'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0xeef): undefined reference to `FT_Get_Postscript_Name'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0xf07): undefined reference to `FT_Get_PS_Font_Info'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x120a): undefined reference to `FT_Load_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1297): undefined reference to `FT_MulDiv'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x12b0): undefined reference to `FT_MulDiv'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x12dc): undefined reference to `FT_MulFix'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x12e9): undefined reference to `FT_MulFix'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1ace): undefined reference to `FT_Set_Char_Size'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1b16): undefined reference to `FT_Set_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1b69): undefined reference to `FT_Set_Char_Size'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1bbc): undefined reference to `FT_Set_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1bcd): undefined reference to `FT_Load_Glyph'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1c2c): undefined reference to `FT_Set_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1cfa): undefined reference to `FT_Load_Glyph'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1d84): undefined reference to `FT_GlyphSlot_Oblique'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1d94): undefined reference to `FT_GlyphSlot_Embolden'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1f24): undefined reference to `FT_Get_PS_Font_Info'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x1ffe): undefined reference to `FT_Set_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x204d): undefined reference to `FT_MulFix'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x2066): undefined reference to `FT_MulFix'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x210b): undefined reference to `FT_Select_Size'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x214b): undefined reference to `FT_Set_Char_Size'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x21dc): undefined reference to `FT_Get_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x2295): undefined reference to `FT_Get_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x2ef6): undefined reference to `FT_Done_FreeType'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3424): undefined reference to `FT_Set_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x348c): undefined reference to `FT_Load_Glyph'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x363f): undefined reference to `FT_Vector_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x367d): undefined reference to `FT_Vector_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x36f2): undefined reference to `FT_Vector_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x372f): undefined reference to `FT_Vector_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3b7d): undefined reference to `FT_Load_Glyph'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3bf5): undefined reference to `FT_Load_Glyph'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3c55): undefined reference to `FT_GlyphSlot_Oblique'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3c93): undefined reference to `FT_Matrix_Multiply'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3ca5): undefined reference to `FT_GlyphSlot_Embolden'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3e81): undefined reference to `FT_Outline_Transform'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3ebf): undefined reference to `FT_Outline_Translate'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x3ed3): undefined reference to `FT_Outline_Get_Bitmap'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x60dc): undefined reference to `FT_Matrix_Multiply'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x65fc): undefined reference to `FT_New_Memory_Face'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x671b): undefined reference to `FT_Set_Char_Size'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6727): undefined reference to `FT_Set_Charmap'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6952): undefined reference to `FT_New_Face'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6999): undefined reference to `FT_Init_FreeType'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6d09): undefined reference to `FT_Get_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x6de9): undefined reference to `FT_Get_Sfnt_Table'
c:/deps/src/qtbase/lib/libQt5PlatformSupport.a(qfontengine_ft.o):qfontengine_ft.cpp:(.text+0x70d6): undefined reference to `FT_Load_Glyph'
collect2.exe: error: ld returned 1 exit status

Basicly i built Qt5.6.1 with Mingw32 4.9.2, basic configure:
Quote
configure.bat -release -opensource -confirm-license -static -make libs -no-opengl -platform win32-g++

So, does anybody have any ideas?




Looks like Qt can't find any of the fonts it thinks it needs.  Why is for you to discover.  They're not where they should be, because they're elsewhere or nowhere?

Ron