ARM compiler misconfigured?



  • Hi,

    I developed ARM executables for mini2440 device using QtCreator with no difficulties no much time ago, but now I have problems to compile for it (don't for x86 processors). I think I have installed everything correctly (Tslib, Qt, etc), or at least I had!, so it seems it is a misconfiguration problem, QtCreator don't find libraries or something like that, here is the compile output for a default program:

    @In file included from /usr/local/Qt/include/QtCore/qstring.h:46,
    from /usr/local/Qt/include/QtCore/qobject.h:48,
    from /usr/local/Qt/include/QtCore/qcoreapplication.h:45,
    from /usr/local/Qt/include/QtGui/qapplication.h:45,
    from /usr/local/Qt/include/QtGui/QApplication:1,
    from ../untitled2/main.cpp:1:
    /usr/local/Qt/include/QtCore/qbytearray.h:48:20: error: string.h: No such file or directory
    In file included from /usr/local/Qt/include/QtCore/qobject.h:48,
    from /usr/local/Qt/include/QtCore/qcoreapplication.h:45,
    from /usr/local/Qt/include/QtGui/qapplication.h:45,
    from /usr/local/Qt/include/QtGui/QApplication:1,
    from ../untitled2/main.cpp:1:
    /usr/local/Qt/include/QtCore/qstring.h:60:22: error: string: No such file or directory
    In file included from /usr/local/Qt/include/QtCore/qobject.h:50,
    from /usr/local/Qt/include/QtCore/qcoreapplication.h:45,
    from /usr/local/Qt/include/QtGui/qapplication.h:45,
    from /usr/local/Qt/include/QtGui/QApplication:1,
    from ../untitled2/main.cpp:1:
    /usr/local/Qt/include/QtCore/qlist.h:50:20: error: iterator: No such file or directory
    /usr/local/Qt/include/QtCore/qlist.h:51:16: error: list: No such file or directory
    /usr/local/Qt/include/QtCore/qlist.h:54:15: error: new: No such file or directory
    In file included from /usr/local/armv4t/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/include/syslimits.h:7,
    from /usr/local/armv4t/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/include/limits.h:11,
    from /usr/local/Qt/include/QtCore/qlist.h:55,
    from /usr/local/Qt/include/QtCore/qobject.h:50,
    from /usr/local/Qt/include/QtCore/qcoreapplication.h:45,
    from /usr/local/Qt/include/QtGui/qapplication.h:45,
    from /usr/local/Qt/include/QtGui/QApplication:1,
    from ../untitled2/main.cpp:1:
    /usr/local/armv4t/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.2.4/include/limits.h:122:61: error: limits.h: No such file or directory
    In file included from /usr/local/Qt/include/QtGui/qbrush.h:47,
    from /usr/local/Qt/include/QtGui/qpalette.h:47,
    from /usr/local/Qt/include/QtGui/qwidget.h:49,
    from /usr/local/Qt/include/QtGui/qmainwindow.h:45,
    from /usr/local/Qt/include/QtGui/QMainWindow:1,
    from ../untitled2/mainwindow.h:4,
    from ../untitled2/main.cpp:2:
    /usr/local/Qt/include/QtCore/qvector.h:52:18: error: vector: No such file or directory
    /usr/local/Qt/include/QtCore/qvector.h:54:20: error: stdlib.h: No such file or directory
    In file included from /usr/local/Qt/include/QtCore/qstring.h:46,
    from /usr/local/Qt/include/QtCore/qobject.h:48,
    from /usr/local/Qt/include/QtCore/qcoreapplication.h:45,
    from /usr/local/Qt/include/QtGui/qapplication.h:45,
    from /usr/local/Qt/include/QtGui/QApplication:1,
    from ../untitled2/main.cpp:1:
    ...
    ...
    ...
    make: Leaving directory `/home/minde/untitled2-build-desktop-Qt_4_7_0_OpenSource_Debug'
    make: *** [main.o] Error 1
    13:13:40: The process "/usr/bin/make" exited with code 2.
    Error while building project untitled2 (target: Desktop)
    When executing build step 'Make'@

    Any help?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.