QtRpi - Fatal error: features.h



  • Hello,
    I followed the tutorial on this page in order to compile my app for my RPi3: http://www.qtrpi.com/faq#howtoinstall

    Unfortunatly, when I use make command, I got this error:

    /opt/qtrpi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -pipe -Os -mthumb -std=c++11 -mfloat-abi=hard --sysroot=/opt/qtrpi/raspbian/sysroot -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/qtrpi/raspbian/sysroot/opt/vc/include -I/opt/qtrpi/raspbian/sysroot/opt/vc/include/interface/vcos -I/opt/qtrpi/raspbian/sysroot/opt/vc/include/interface/vcos/pthreads -I/opt/qtrpi/raspbian/sysroot/opt/vc/include/interface/vmcs_host/linux -I/opt/qtrpi/raspi/qt5pi/include -I/opt/qtrpi/raspi/qt5pi/include/QtQuickControls2 -I/opt/qtrpi/raspi/qt5pi/include/QtQuick -I/opt/qtrpi/raspi/qt5pi/include/QtGui -I/opt/qtrpi/raspi/qt5pi/include/QtQml -I/opt/qtrpi/raspi/qt5pi/include/QtNetwork -I/opt/qtrpi/raspi/qt5pi/include/QtCore -I. -I=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I/opt/qtrpi/raspi/qt5/mkspecs/devices/linux-rpi3-g++ -o main.o main.cpp
    In file included from /opt/qtrpi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c++/4.8.3/arm-linux-gnueabihf/bits/c++config.h:426:0,
                     from /opt/qtrpi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c++/4.8.3/cstddef:41,
                     from /opt/qtrpi/raspi/qt5pi/include/QtCore/qglobal.h:45,
                     from /opt/qtrpi/raspi/qt5pi/include/QtCore/qcoreapplication.h:43,
                     from /opt/qtrpi/raspi/qt5pi/include/QtGui/qguiapplication.h:43,
                     from /opt/qtrpi/raspi/qt5pi/include/QtGui/QGuiApplication:1,
                     from main.cpp:1:
    /opt/qtrpi/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/include/c++/4.8.3/arm-linux-gnueabihf/bits/os_defines.h:39:22: fatal error: features.h : Aucun fichier ou dossier de ce type
     #include <features.h>
                          ^
    compilation terminated.
    make: *** [main.o] Erreur 1
    

    Aucun fichier ou dossier de ce type means "No such files or directory".

    I follow all the tuto without errors, so I do not understand what is wrong.

    Could you help me?
    Thanks in advance!



  • This post is deleted!


  • Check your sysroot path .


Log in to reply