Page 1 of 1

Trouble building with bash on windows

Posted: 30 Aug 2016, 23:04
by Vincent
I followed the instruction here http://developer.wz2100.net/wiki/Compil ... dows/Cross to build wz2100 using bash on Windows (which ships a basic Ubuntu system file).
Building mxe works (although it takes a lot of time) however I can't get the configure script to work. It complains about missing qt5. I tried "PKG_CONFIG_PATH=~/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig ./configure ..." without success.

Re: Trouble building with bash on windows

Posted: 31 Aug 2016, 19:04
by Vincent
It looks like QtWidgets (requested by PKG_CHECK_MODULES(QT5, Qt5Core Qt5Gui Qt5Widgets Qt5Script,,[:]) ) is not available with the given instructions.
And Qt5Core is QtCore, Qt5Gui is QtGui and so on.

Re: Trouble building with bash on windows

Posted: 31 Aug 2016, 19:29
by Vincent
configure also complains about missing sdl 2, but "make sdl2" in mxe fixes the issue. Otherwise the script works.
Make fails however because of header not found : QtCore/QJsonParseError

I think the Ubuntu version shipped with bash on Windows is too old for the instructions (it uses Ubuntu Trusty 14.10)