Post
Topic
Board Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
altcoinex
on 27/04/2015, 18:44:56 UTC
Code:
checking for QtDBus... no
./configure: line 21329: syntax error near unexpected token `QTPLATFORM,'
./configure: line 21329: `        PKG_CHECK_MODULES(QTPLATFORM, Qt5PlatformSuppo
rt, QT_LIBS="$QTPLATFORM_LIBS $QT_LIBS")'

Pierre-Louis@Bellatrix /f/dev/Worldcoin_core/1rc3/bitcoin
$ pkg-config --version
0.28

I tried copying the files from pkg-config dev/tool, compiled/installed pkg-config-lite, reran autogen.sh, started another msys, rebooted even, but still configure gives me this error (0.10.1rc3).  Is it possible there's an environment variable missing (like qtplatform_libs or something)?

Running pkg-config gives me the right version number so I'm assuming it's installed correctly.  Any suggestions? Thanks. Smiley


It is hard to think of what might be the case. I can tell you that I had pkg-config installed and giving me the right version as well and it was still not working. I then removed it and installed JUST pkg-config-lite in msys, reran autogen.sh, closed all open cmd/msys windows, and then it worked. Also make sure the mingw, and toolchain bin paths are BOTH in your PATH variable(for me, C:\MinGW\bin and C:\MinGW\mingw32\bin), although im sure if you got this far already they likely are.