1
votes

I recently started a project on my new Pi2 and Qt. A few hours ago I started to prepare the cross-compiler following this tutorial, but when It came the moment of running the configuration script it told me:

$ ../qt-everywhere-opensource-src-5.5.0/configure -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -opengl es2 -device linux-rasp-pi2-g++ -sysroot C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5 + cd qtbase + /c/Users/Carlos Xammar/Desktop/qt-everywhere-opensource-src-5.5.0/qt-everywhere-opensource-src-5.5.0/qtbase/configure -top-level -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -opengl es2 -device linux-rasp-pi2-g++ -sysroot C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5 dirname: extra operand Xammar/Desktop/qt-everywhere-opensource-src-5.5.0/qt-everywhere-opensource-src-5.5.0/qtbase/configure' Trydirname --help' for more information. You don't seem to have 'make' or 'gmake' in your PATH. Cannot proceed.

I made all the steps ok but I don't know what I'm doing wrong... Thanks in advance.

1

1 Answers

1
votes

Try to export MAKE environment variable, like this: export MAKE="mingw32-make"