I keep getting a lot of errors while trying to run the Android Emulator.
-
When I run my Android app, I get 113 errors and they all come from these files. I have no idea how to make them all disappear. Also, some of the errors start with '#error' but the forum are making them headers.
12:00:56: Running steps for project node...
12:00:56: Configuration unchanged, skipping qmake step.
12:00:56: Starting: "/usr/bin/make"
/home/mgodinez/Documents/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -pipe -std=gnu++0x -g -g -gdwarf-2 -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -D_REENTRANT -fPIE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../Qt5.2.1/5.2.1/android_armv7/mkspecs/android-g++ -I../node -I../../Qt5.2.1/5.2.1/android_armv7/include -I../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets -I../../Qt5.2.1/5.2.1/android_armv7/include/QtGui -I../../Qt5.2.1/5.2.1/android_armv7/include/QtCore -I. -I. -I../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/mgodinez/Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/default/armeabi-v7a/include -I../../Documents/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -I. -o main.o ../node/main.cpp
In file included from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:46:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/stddef.h:34:19: error: missing binary operator before token "("
#if !__has_feature(modules)
^
../../Qt5.2.1/5.2.1/android_armv7/include/stddef.h:46:42: error: missing binary operator before token "("
#if !defined(_PTRDIFF_T) || __has_feature(modules)
^
../../Qt5.2.1/5.2.1/android_armv7/include/stddef.h:57:39: error: missing binary operator before token "("
#if !defined(_SIZE_T) || __has_feature(modules)
^
../../Qt5.2.1/5.2.1/android_armv7/include/stddef.h:71:42: error: missing binary operator before token "("
!defined(_RSIZE_T)) || __has_feature(modules)
^
In file included from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/c++config.h:426:0,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/utility:68,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:60,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/bits/os_defines.h:44:19: error: missing binary operator before token "("
#if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
^
In file included from ../../Documents/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/sys/types.h:32:0,
from ../../Documents/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/strings.h:42,
from ../../Documents/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/stdlib.h:36,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/cstdlib:72,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:59,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/stdint.h:31:42: error: missing binary operator before token "("
#if STDC_HOSTED && __has_include_next(<stdint.h>)
^
In file included from ../../Documents/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/math.h:21:0,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/cmath:44,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:38,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/limits.h:36:42: error: missing binary operator before token "("
#if STDC_HOSTED && __has_include_next(<limits.h>)
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:27:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/ia32intrin.h:25:2: error: #error "Never use <ia32intrin.h> directly; include <x86intrin.h> instead."
#error "Never use <ia32intrin.h> directly; include <x86intrin.h> instead."
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:29:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:31:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/xmmintrin.h:28:2: error: #error "SSE instruction set not enabled"
#error "SSE instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:33:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/emmintrin.h:28:2: error: #error "SSE2 instruction set not enabled"
#error "SSE2 instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:35:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/pmmintrin.h:28:2: error: #error "SSE3 instruction set not enabled"
#error "SSE3 instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:37:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/tmmintrin.h:28:2: error: #error "SSSE3 instruction set not enabled"
#error "SSSE3 instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:39:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/ammintrin.h:28:2: error: #error "SSE4A instruction set not enabled"
#error "SSE4A instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:41:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/smmintrin.h:28:2: error: #error "SSE4.1 instruction set not enabled"
#error "SSE4.1 instruction set not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:43:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/wmmintrin.h:30:3: error: #error "AES/PCLMUL instructions not enabled"error "AES/PCLMUL instructions not enabled"
^
In file included from /home/mgodinez/Documents/android-ndk-r10e/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9/include/x86intrin.h:50:0,
from ../../Qt5.2.1/5.2.1/android_armv7/include/bits/opt_random.h:33,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/random:50,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/stl_algo.h:66,
from ../../Documents/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/algorithm:62,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtCore/qglobal.h:82,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtGui/qwindowdefs.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qwidget.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/qdialog.h:45,
from ../../Qt5.2.1/5.2.1/android_armv7/include/QtWidgets/QDialog:1,
from ../node/node.h:4,
from ../node/main.cpp:1:
../../Qt5.2.1/5.2.1/android_armv7/include/fma4intrin.h:25:2: error: #error "Never use <fma4intrin.h> directly; include <x86intrin.h> instead." -
I couldn't put all the errors since it doesn't let me but hopefully they all follow the same a pattern :)