خرید بک لینک

Vote count: 0

I am cross compiling qt 5.7.0 to armv7 linux target on raspberry pi using a toolchain I generated with crosstool-ng on cygwin.

I downloaded and extracted qt 5.7.0 tarball and extracted it under the cygwin directory structure from within the cygwin shell (i.e I didnt use winzip/7zip to extract the files).

configure command:

~/qtpi]$ ./configure -prefix /cygdrive/c/qt5pi -debug-and-release -no-accessibility -device
linux-rpi3-g++ -opensource -confirm-license -make libs -platform cygwin-g++ 
-device-option CROSS_COMPILE=/cygdrive/c/cygwin64/home/admin/x-tools/armv7-rpi2-linux-gnueabihf/bin/armv7-rpi2-linux-gnueabihf-
-sysroot /cygdrive/c/cygwin64/home/admin/x-tools/armv7-rpi2-linux-gnueabihf/armv7-rpi2-linux-gnueabihf/sysroot -v

configure completes as follows...

   ...
   ...
   xkbcommon-x11........... no
   xkbcommon-evdev......... no
   zlib ................... yes (bundled copy)


NOTE: Qt is using double for qreal on this system. This is binary
incompatible against Qt 5.1. Configure with '-qreal float' to create a build 
that is binary compatible with 5.1.

Qt is now configured for building. Just run 'make'. Once everything is 
built, you must run 'make install'. Qt will be installed into 
/cygdrive/c/qt5pi

Prior to reconfiguration, make sure you remove any leftovers from the 
previous build.

At this point ruing make give the following error:

~/qtpi]$ make
cd qtbase/ && ( test -e Makefile || /home/admin/qtpi/qtbase/bin/qmake /home/admin/qtpi/qtbase/qtbase.pro -qtconf /home/admin/qtpi/qtbase/bin/qt.conf -o Makefile ) && /usr/bin/make -f Makefile
make[1]: Entering directory '/home/admin/qtpi/qtbase'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [Makefile:43: sub-src-make_first] Error 1
make[1]: Leaving directory '/home/admin/qtpi/qtbase'
make: *** [Makefile:78: module-qtbase-make_first] Error 2

I am stuck here for half a day. ASAIK this does not seem to be related to dos-unix line endings or mingw shell ( I get the same error via mingw too)

Please help me get past this!

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 17 مرداد 1395 ساعت: 17:11

صفحه بندی