Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. ARM compiler misconfigured?
Qt 6.11 is out! See what's new in the release blog

ARM compiler misconfigured?

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aureliocano
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved