Languages

Menu
Sites
Language
Qt for Tizen needs features.h, does not compile

Hi there!

I am trying to compile qt for tizen, and I encountered problems. I have ubuntu 13.04, Tizen 2.2 SDK, and qt for tizen 1.0-alpha3. I've already successfully compiled the desktop version of qt for tizen.

I do:
sudo STANDARD_USER=zsszatmari TIZENSDKCOMPILERDIR=/home/zsszatmari/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5 QT5SRCDIR=/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious ./downloadAndBuildAll.sh

 

And eventually I get:

 

/home/zsszatmari/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++ -c -pipe --sysroot=/home/zsszatmari/qttizen-emu -pthread -I/home/zsszatmari/qt-tizen-1.0-alpha3/emulator/rootfs/usr/include/glib-2.0 -I/home/zsszatmari/qt-tizen-1.0-alpha3/emulator/rootfs/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQ_OS_TIZEN -DQ_OS_TIZEN_SIMULATOR -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_ICU -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/mkspecs/devices/linux-g++-tizen-emulator -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/corelib -I../../include -I../../include/QtCore -I../../include/QtCore/5.1.2 -I../../include/QtCore/5.1.2/QtCore -Iglobal -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/3rdparty/pcre -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/3rdparty/harfbuzz/src -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/3rdparty/md5 -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/3rdparty/md4 -I/home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/3rdparty/sha3 -I.moc/release-shared -I/home/zsszatmari/qttizen-emu/usr/include -I. -o .obj/release-shared/qabstractanimation.o /home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/corelib/animation/qabstractanimation.cpp
In file included from /home/zsszatmari/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5/bin/../lib/gcc/i386-linux-gnueabi/4.5.4/../../../../i386-linux-gnueabi/include/c++/4.5.4/i386-linux-gnueabi/bits/c++config.h:275:0,
                 from /home/zsszatmari/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5/bin/../lib/gcc/i386-linux-gnueabi/4.5.4/../../../../i386-linux-gnueabi/include/c++/4.5.4/utility:69,
                 from /home/zsszatmari/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5/bin/../lib/gcc/i386-linux-gnueabi/4.5.4/../../../../i386-linux-gnueabi/include/c++/4.5.4/algorithm:61,
                 from ../../include/QtCore/../../../../../desktop/qt5.gitorious/qtbase/src/corelib/global/qglobal.h:80,
                 from ../../include/QtCore/qglobal.h:1,
                 from ../../include/QtCore/../../../../../desktop/qt5.gitorious/qtbase/src/corelib/global/qnamespace.h:45,
                 from ../../include/QtCore/qnamespace.h:1,
                 from ../../include/QtCore/../../../../../desktop/qt5.gitorious/qtbase/src/corelib/kernel/qobjectdefs.h:45,
                 from ../../include/QtCore/qobjectdefs.h:1,
                 from ../../include/QtCore/../../../../../desktop/qt5.gitorious/qtbase/src/corelib/kernel/qobject.h:48,
                 from ../../include/QtCore/qobject.h:1,
                 from /home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/corelib/animation/qabstractanimation.h:45,
                 from /home/zsszatmari/qt-tizen-1.0-alpha3/desktop/qt5.gitorious/qtbase/src/corelib/animation/qabstractanimation.cpp:146:
/home/zsszatmari/tizen-sdk/tools/i386-linux-gnueabi-gcc-4.5/bin/../lib/gcc/i386-linux-gnueabi/4.5.4/../../../../i386-linux-gnueabi/include/c++/4.5.4/i386-linux-gnueabi/bits/os_defines.h:39:22: fatal error: features.h: No such file or directory
compilation terminated.
 
Maybe I am missing some needed export variable or something?
As a sidenote, there are the following features.h 's I've found:
 ./platforms/tizen2.2/rootstraps/tizen-emulator-2.2.native/usr/include/c++/4.5.3/parallel/features.h
./platforms/tizen2.2/rootstraps/tizen-emulator-2.2.native/usr/include/features.h
./tools/i386-linux-gnueabi-gcc-4.5/i386-linux-gnueabi/include/c++/4.5.4/parallel/features.h
 
Seems unlikely that I would need something from the rootstrap directory (if everything is packaged correctly). It also seems a bit unlikely that parallel/features.h is needed, but I don't know.
In any case, it does not compile now.
 
I'd appreciate any direction you could point me to!
 
Thanks,
Zsolt
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 Replies
Zsolt Szatmari
Hm, strange, a sudo STANDARD_USER=zsszatmari ./downloadAndBuildAll.sh does seem to work. Don't really understand the difference, but I'll let you know if I encounter trouble.