I'm trying to compile my c++ project with Cross ARM GCC in eclipse.
I click Build All in eclipse and I get:
16:56:22 **** Incremental Build of configuration Release for project TestProject ****
make all
Building file: ../src/main.cpp
Invoking: Cross ARM C++ Compiler
arm-none-eabi-g++ -mcpu=cortex-m3 -mthumb -O2 -g -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -std=gnu++11 -fabi-version=0 -MMD -MP -MF"src/main.d" -MT"src/main.o" -c -o "src/main.o" "../src/main.cpp"
In file included from /usr/include/qt4/QtCore/qnamespace.h:45:0,
from /usr/include/qt4/QtCore/qobjectdefs.h:45,
from /usr/include/qt4/QtGui/qwindowdefs.h:45,
from /usr/include/qt4/QtGui/qwidget.h:46,
from /usr/include/qt4/QtGui/qmainwindow.h:45,
from /usr/include/qt4/QtGui/QMainWindow:1,
from ../src/mainwindow.h:4,
from ../src/main.cpp:14:
/usr/include/qt4/QtCore/qglobal.h:268:4: error: #error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
# error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
^
make: *** [src/main.o] Error 1
16:56:23 Build Finished (took 469ms)
Bookmarks