Build Error on Building the Qt for Rpi3

  • Re: Qt Cross-Compilation Build Make Error
    i was trying to build Qt 5.15 for my Rpi 3.
    i succesfully configured it but when i tried to build it with "make" command it was throwing some errors.

    global/qt_pch.h:55:20: fatal error: stdlib.h: No such file or directory
    #include <stdlib.h>
    compilation terminated.
    make[3]: *** [Makefile:1838: .pch/Qt5Core.gch/c++] Error 1
    make[3]: Leaving directory '/home/electron/Qt/5.15.0/Src/qtbase/src/corelib'
    make[2]: *** [Makefile:226: sub-corelib-make_first] Error 2
    make[2]: Leaving directory '/home/electron/Qt/5.15.0/Src/qtbase/src'
    make[1]: *** [Makefile:51: sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/electron/Qt/5.15.0/Src/qtbase'
    make: *** [Makefile:88: module-qtbase-make_first] Error 2

    can anyone help?Thanks in Advance.

Log in to reply