Trouble building with bash on windows

For code related discussions and questions
Post Reply
Vincent
Trained
Trained
Posts: 103
Joined: 06 Aug 2016, 17:24

Trouble building with bash on windows

Post by Vincent » 30 Aug 2016, 23:04

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.

Vincent
Trained
Trained
Posts: 103
Joined: 06 Aug 2016, 17:24

Re: Trouble building with bash on windows

Post by Vincent » 31 Aug 2016, 19:04

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.

Vincent
Trained
Trained
Posts: 103
Joined: 06 Aug 2016, 17:24

Re: Trouble building with bash on windows

Post by Vincent » 31 Aug 2016, 19:29

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)

Post Reply