Pages:
Author

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

legendary
Activity: 1946
Merit: 1427
Not sure what i am doing wrong, and if this an error i should care about, when i try to "make" berkeley, see


Quote
2.2 Berkeley DB: http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
We'll use version 4.8 to preserve binary wallet compatibility.
From a MinGW shell unpack the source archive, configure and make:








I get this error. Does anyone knows what i am doing wrong, and how i could resolve it?

I've set this

Quote
1.3. Ensure that mingw-builds bin folder is set in your PATH environment variable. On Windows 7 your path should look something like:
Code:

Code:
C:\mingw32\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

As my path in environment variables, is that correct? Or?

It looks like this,



I've simply pasted it in there, i am not sure if that is the right thing to do?

member
Activity: 93
Merit: 10
hi
dose anyone here know how to compile windows qt wallet for altcoins or can someone point me a link to some guide. It would be a huge help. thanks
legendary
Activity: 1762
Merit: 1010
Here are my steps that work. I'm pretty sure that some of the following steps are unnecessary, but I know that it works.

If anyone can help cut out the stuff that's superfluous, that'd be great.

Steps to compile Bitcoin Core 64-bit using "Bash on Ubuntu on Windows":

//To run this on your system, change the user directory of "mmortal03" in the steps below to whatever your bash user name is.

sudo apt-get update
sudo apt-get upgrade
//restart bash to be safe

sudo apt-get install -y build-essential libtool autotools-dev autoconf automake curl
sudo apt-get install -y libqt5gui5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev
sudo apt-get install -y libqt5core5a pkg-config git libdb4.8-dev libdb4.8++-dev
sudo apt-get install -y g++-mingw-w64-i686 mingw-w64-i686-dev g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
//restart bash to be safe

git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
git checkout v0.14.0
//or git checkout master
//or git checkout f8a709161f3710fe62e05988a9101933944489fb .

cd /home/mmortal03/bitcoin/depends
make HOST=x86_64-w64-mingw32 -j4

cd /home/mmortal03/bitcoin/src/secp256k1
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=$PWD/depends/x86_64-w64-mingw32
make HOST=x86_64-w64-mingw32 -j4

cd /home/mmortal03/bitcoin/src/univalue
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=$PWD/depends/x86_64-w64-mingw32
make HOST=x86_64-w64-mingw32 -j4

cd /home/mmortal03/bitcoin
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=$PWD/depends/x86_64-w64-mingw32 --with-gui=qt5 --enable-tests=no --disable-gui-tests --disable-bench
make -k HOST=x86_64-w64-mingw32 -j4
//ignore any invalid pointer errors here, as the clean in next step should fix it

make clean
make HOST=x86_64-w64-mingw32 -j4

You can browse to C:\Users\mmortal03\AppData\Local\lxss\home\mmortal03\bitcoin,
and search for *.exe to pull up the executables. Copy them elsewhere and you should be good to go.
legendary
Activity: 1762
Merit: 1010
I may have found a solution. I ran "make clean" to try things again, then added "--with-gnu-ld" to the configure line, and finally ran make, and the executables were built. Now I've got to test the executables, and test all of this on a fresh machine to see if it works from scratch.

make clean
./configure --prefix=$PWD/depends/x86_64-w64-mingw32 --with-gui=qt5 --enable-tests=no --with-gnu-ld
make HOST=x86_64-w64-mingw32

Edit: Nope, "--with-gnu-ld" doesn't solve it on a fresh machine, so it must've been something additional. I had continued the make process all the way through by running make multiple times, then ran "make clean", then making again; that got me to the executables, for whatever reason. Testing more now. Possibly using the "-k" parameter on make will get you to the point where you can "make clean" and make it again, which would be absurd if that's what it takes.

Edit 2: Yep, that seems to be the trick. I'm going to test it all again without using "--with-gnu-ld" and see what happens.

so are you testing this with the latest bitcoin on git? ... or some other coin? ...

seems you are starting to get some success here ...

#crysx

Yeah, the latest on github. I'm pretty certain I've got it to work now. I've tested the bitcoin-qt.exe that I built, and it seems to be working, downloading the blockchain. I've also tested compiling it this way on another fresh machine, and that seemed to work, too. I'll post a revised set of steps once I'm finished with some final testing.
legendary
Activity: 2814
Merit: 1091
--- ChainWorks Industries ---
I may have found a solution. I ran "make clean" to try things again, then added "--with-gnu-ld" to the configure line, and finally ran make, and the executables were built. Now I've got to test the executables, and test all of this on a fresh machine to see if it works from scratch.

make clean
./configure --prefix=$PWD/depends/x86_64-w64-mingw32 --with-gui=qt5 --enable-tests=no --with-gnu-ld
make HOST=x86_64-w64-mingw32

Edit: Nope, "--with-gnu-ld" doesn't solve it on a fresh machine, so it must've been something additional. I had continued the make process all the way through by running make multiple times, then ran "make clean", then making again; that got me to the executables, for whatever reason. Testing more now. Possibly using the "-k" parameter on make will get you to the point where you can "make clean" and make it again, which would be absurd if that's what it takes.

Edit 2: Yep, that seems to be the trick. I'm going to test it all again without using "--with-gnu-ld" and see what happens.

so are you testing this with the latest bitcoin on git? ... or some other coin? ...

seems you are starting to get some success here ...

#crysx
legendary
Activity: 1762
Merit: 1010
I may have found a solution. I ran "make clean" to try things again, then added "--with-gnu-ld" to the configure line, and finally ran make, and the executables were built. Now I've got to test the executables, and test all of this on a fresh machine to see if it works from scratch.

make clean
./configure --prefix=$PWD/depends/x86_64-w64-mingw32 --with-gui=qt5 --enable-tests=no --with-gnu-ld
make HOST=x86_64-w64-mingw32

Edit: Nope, "--with-gnu-ld" doesn't solve it on a fresh machine, so it must've been something additional. I had continued the make process all the way through by running make multiple times, then ran "make clean", then making again; that got me to the executables, for whatever reason. Testing more now. Possibly using the "-k" parameter on make will get you to the point where you can "make clean" and make it again, which would be absurd if that's what it takes.

Edit 2: Yep, that seems to be the trick. I'm going to test it all again without using "--with-gnu-ld" and see what happens.

Edit 3: Yeah, "--with-gnu-ld" was just a coincidence. It seems to be unnecessary here. The solution was to continue to run make past the errors, then run make clean, and then make again. Will post an updated set of steps once I test a few more things.
legendary
Activity: 1762
Merit: 1010
Ok, I'm giving this a shot again after seven months. The following steps have gotten me the furthest, but I end up getting the following invalid pointer error when it starts to build the executables. My steps can likely be cleaned up, but I'm not going to try to do that until we know what works. Obviously, to run it on your system, change the user directory of "mmortal03" to your user name.

The invalid pointer error that I get is:
Code:
  CXXLD    bitcoind.exe
*** Error in `/usr/bin/x86_64-w64-mingw32-ld': free(): invalid pointer: 0x0000000001acce08 ***
collect2: error: ld terminated with signal 6 [Aborted], core dumped
make[2]: *** [bitcoind.exe] Error 1
make[2]: Leaving directory `/home/mmortal03/bitcoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mmortal03/bitcoin/src'
make: *** [all-recursive] Error 1


My steps to compile 64-bit Bitcoin Core on bash for Windows:

sudo apt-get update
sudo apt-get install -y build-essential libtool autotools-dev autoconf automake
sudo apt-get install -y libqt5gui5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev
sudo apt-get install -y libqt5core5a pkg-config git
sudo apt-get install -y g++-mingw-w64-i686 mingw-w64-i686-dev g++-mingw-w64-x86-64 mingw-w64-x86-64-dev curl
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin/depends
make HOST=x86_64-w64-mingw32

cd /home/mmortal03/bitcoin/src/secp256k1
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=$PWD/depends/x86_64-w64-mingw32
make HOST=x86_64-w64-mingw32

cd /home/mmortal03/bitcoin/src/univalue
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=$PWD/depends/x86_64-w64-mingw32
make HOST=x86_64-w64-mingw32

cd /home/mmortal03/bitcoin
libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure --prefix=$PWD/depends/x86_64-w64-mingw32 --with-gui=qt5 --enable-tests=no
make HOST=x86_64-w64-mingw32
jr. member
Activity: 41
Merit: 10
2 option compile

1.1 Install msys shell:
http[Suspicious link removed]/download
From MinGW installation manager -> All packages -> MSYS
mark the following for installation:

compile in MSYS 1.0

don't forget this

make livedb msys
cd /C/coinfoldername/src/leveldb
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a

d /c/coinfoldername

./autogen.sh

CPPFLAGS="-I/c/deps/db-4.8.30.NC/build_unix \
-I/c/deps/openssl-1.0.1l/include \
-I/c/deps \
-I/c/deps/protobuf-2.6.1/src \
-I/c/deps/libpng-1.6.16 \
-I/c/deps/qrencode-3.4.4" \
LDFLAGS="-L/c/deps/db-4.8.30.NC/build_unix \
-L/c/deps/openssl-1.0.1l \
-L/c/deps/miniupnpc \
-L/c/deps/protobuf-2.6.1/src/.libs \
-L/c/deps/libpng-1.6.16/.libs \
-L/c/deps/qrencode-3.4.4/.libs" \
BOOST_ROOT=/c/deps/boost_1_57_0 \
./configure \
--disable-upnp-default \
--disable-tests \
--with-qt-incdir=/c/Qt/5.3.2/include \
--with-qt-libdir=/c/Qt/5.3.2/lib \
--with-qt-plugindir=/c/Qt/5.3.2/plugins \
--with-qt-bindir=/c/Qt/5.3.2/bin \
--with-protoc-bindir=/c/deps/protobuf-2.6.1/src

make


jr. member
Activity: 41
Merit: 10
How does one build qt 4.8 projects on qt 5?
I use the greaterThan(QT_MAJOR_VERSION, 4): QT += widgets and added -static but the compiled file throws runtime errors on opening or sometimes closing. Is there anything else to do?
I don't know about building a 4.8.x bitcoinQt on a Qt 5.x system?  But when I build 4.8.x on a 4.8.x (Windows 8.1) system, I found I got similar errors if I didn't delete all the .obj & other files in the build directory.  The make file isn't too bright about what needs to be compiled and what doesn't.

Ron


My build dir is already clean. I compiled a clean source. No luck so far. I think this runtime has to do with how qt is not statically linking libs. I pasted some dlls into the coins release folder but no dice.
Looking at http://www.qtcentre.org/threads/27729-statically-link-Qt-libraries-%28not-build-static-library%29 I tried the suggestions there and I still ended up with a dynamically linked bitcoin-qt.exe or *coin-qt.exe

If you look at message #1 in this forum it is not clear what Qt is created on one's system.  I did read, but can't find the link now, that one needs to build a set of libraries for Qt that are dynamic for the use of Qt creator and Qt designer (if you use them) and a set that is static for building one's applications.  I don't know if that is so, nor how one would keep the environment straight Huh Smiley

Ron

I still haven't figured this one out. And I stopped hacking at it for now. Did you find anything helpful?

I use this and it works fine

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

if you have errors, post them here, so people can help you.


my QT version 5.3.2 working fine

example CMD

set PATH=%PATH%;C:\Qt\5.3.2\bin
cd C:\coin folder name
qmake USE_UPNP=- coinname-qt.pro
mingw32-make -f Makefile.Release


 Wink
legendary
Activity: 2814
Merit: 1091
--- ChainWorks Industries ---
this is an interesting and informative guide ...

and experience Smiley ...

#crysx
legendary
Activity: 1762
Merit: 1010
I am surprised that people still want to compile Qt and daemons on windows, it is far more easy to do it on linux, cross compiling using gittian or mxe, now for the deps, you are true, it may ease the job for many people yet it must be provided with detailled informations about the build, and this only for boost, i don't really know about bdb and miniupnpc, for the others, i guess they are prebuilt.

I guess that is true, but sometimes users want to compile their own yet do not have access to a *nix system.

It also ties in to the importance of the open source nature of Bitcoin and its security, that people don't have to trust someone else to be able to compile the client and run it.
sr. member
Activity: 260
Merit: 250
newbie
Activity: 17
Merit: 1
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?



hero member
Activity: 882
Merit: 533
Has anyone encountered this :-

Code:
checking QtPlugin usability... no
checking QtPlugin presence... no
checking for QtPlugin... no
configure: WARNING: QtCore headers missing; bitcoin-qt frontend will not be built
checking whether to build Bitcoin Core GUI... no (Qt)


Any work arounds ?

Can you check the paths to the qt libraries ? maybe something is missing, or, you have to check your dependencies.
Are you compiling a wallet ? on what os ? what target ?
hero member
Activity: 994
Merit: 500
Has anyone encountered this :-

Code:
checking QtPlugin usability... no
checking QtPlugin presence... no
checking for QtPlugin... no
configure: WARNING: QtCore headers missing; bitcoin-qt frontend will not be built
checking whether to build Bitcoin Core GUI... no (Qt)


Any work arounds ?

The wallet gui are qt based. It's needed so no workarounds. do you have qt4/5 core dev installed? are your paths set right?
full member
Activity: 380
Merit: 103
Developer and Consultant
Has anyone encountered this :-

Code:
checking QtPlugin usability... no
checking QtPlugin presence... no
checking for QtPlugin... no
configure: WARNING: QtCore headers missing; bitcoin-qt frontend will not be built
checking whether to build Bitcoin Core GUI... no (Qt)


Any work arounds ?
full member
Activity: 380
Merit: 103
Developer and Consultant
I am surprised that people still want to compile Qt and daemons on windows, it is far more easy to do it on linux, cross compiling using gittian or mxe, now for the deps, you are true, it may ease the job for many people yet it must be provided with detailled informations about the build, and this only for boost, i don't really know about bdb and miniupnpc, for the others, i guess they are prebuilt.

I guess that is true, but sometimes users want to compile their own yet do not have access to a *nix system.
hero member
Activity: 882
Merit: 533
I am surprised that people still want to compile Qt and daemons on windows, it is far more easy to do it on linux, cross compiling using gittian or mxe, now for the deps, you are true, it may ease the job for many people yet it must be provided with detailled informations about the build, and this only for boost, i don't really know about bdb and miniupnpc, for the others, i guess they are prebuilt.
sr. member
Activity: 260
Merit: 250
Just wondering if someone has the deps pre-built for x86 and x64.

If a repo was created and these files hosted there, or even just a download link to a deps.7z file , it would simplify this process so much more.
True, but wouldn't the "build" have to be documented, as to which gcc version (& maybe? which Windows OS version), with which compiler options, built each library.   Then one would still have to "jigger" one's own build environment, i.e. gcc version and options for ones coin's sources to match?  And perhaps the rest of the tools that come along "for the ride", and their OS & whatever else requirements?  Seems like a "tangled web we weave" when we chase the latest and greatest "tool-set".  Or is it my imagination?

And don't linux versions have innate "affinity" to a gcc version.  What if that isn't the one you now need?  Can you have separate "build environments" so that you can have different gcc's on your machine?

The tough one, I'm told, is the Qt libraries so that one can build a "static" Qt coin, and still have Qt designer &/or Qt creator on one's machine, since I believe, though I'm not sure, that they "like" the dynamic Qt libraries?  nitrogenetics, what say you?  Grin

I don't know about gcc forward-backward compatibility and debug-release and static-dynamic nuances as I am a Windows fan, where we have our own peccadilloes about static (/MT-/MTD) dynamic (/MD-/MDd) build options and d and sd .lib & .dll lib suffixes for static-dynamic debug-release versions, and some ABI changes between MSVC++ versions, though not between the two I use:)

That's why I built my (MS & gcc) Windows libraries once and have used them to make many a (static) daemon and (dynamic) Qt version, as demonstrated in my videos.  And those were on a WinXPSP2 machine!!  I use Win 8.1 now in exactly the same way.

Ron
full member
Activity: 380
Merit: 103
Developer and Consultant
Just wondering if someone has the deps pre-built for x86 and x64.

If a repo was created and these files hosted there, or even just a download link to a deps.7z file , it would simplify this process so much more.
Pages:
Jump to: