Windows Cross compile for Raspberry Pi 3 make && install error
CrazyCreepy last edited by A Former User
Hi I follow the instruction of this topic a tutoriel for cross-compilation and i use this configure command line:
../qt-everywhere-opensource-src-5.8.0/qt-everywhere-opensource-src-5.8.0/configure -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -device linux-rpi3-g++ -sysroot C:/SysGcc/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5 -device-option CROSS_COMPILE=C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf- -qt-xcb
and everything got fine, but when i make i have this error.
Error I got:
-# error "Not supported ARM architecture"
JSRegExp* re = reinterpret_cast<JSRegExp*>(new char[size]);
make: *** [Makefile:2452: obj/release/pcre_compile.obj] Error 1
make: Leaving directory '/c/SystGcc/qt-build/qtscript/src/script'
make: *** [Makefile:68: sub-script-install_subtargets-ordered] Error 2
make: Leaving directory '/c/SystGcc/qt-build/qtscript/src'
make: *** [Makefile:57: sub-src-install_subtargets] Error 2
make: Leaving directory '/c/SystGcc/qt-build/qtscript'
make: *** [Makefile:1006: module-qtscript-install_subtargets] Error 2
if you can help me to know what it's the problemes and how to fix it it's very appreciate.
thanks for your anwser
Hi and welcome to devnet,
Looks like the backend of qtscript doesn't like ARM but in any case, that module has been deprecated in 5.5 and removed in 5.6 so the best course of action in your case is to just not build it.
While it's a good news from a build point of view and thanks for sharing your findings, please keep in mind that the module has been obsoleted.
@SGaist do you know how to skip it ?
Either on the config line or by delete/moving the sources of the module.
@SGaist the module that you talk about it's qtscript or it's ARM? that not clear for me.
ARM is an architecture