Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
Posts: 54
Registered: ‎04-05-2013
My Device: Q10
My Carrier: T-Mobile

Trying to build taglib for Z10

Hi has anyone else successfully built taglib for the Z10?

 

 

I get this compiler error message that is giving me such a headache just trying to understand it:

 

qcc -Vgcc_ntoarmv7le -c -Wno-psabi -lang-c++ -fstack-protector -fstack-protector-all -mcpu=cortex-a9 -g -Wall -W -D_REENTRANT -fPIC -shared -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DTAGLIB_NO_CONFIG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../bbndk/target_10_1_0_1020/qnx6/usr/share/qt4/mkspecs/default -I../../m3uplayer/taglib -I../../../bbndk/target_10_1_0_1020/qnx6/usr/include/qt4/QtCore -I../../../bbndk/target_10_1_0_1020/qnx6/usr/include/qt4/QtGui -I../../../bbndk/target_10_1_0_1020/qnx6/usr/include/qt4 -I../../m3uplayer/taglib -I../../m3uplayer/taglib/toolkit -I../../m3uplayer/taglib/asf -I../../m3uplayer/taglib/mpeg/id3v2/frames -I../../m3uplayer/taglib/mpeg/id3v2 -I../../m3uplayer/taglib/mpeg -I../../m3uplayer/taglib/ogg/vorbis -I../../m3uplayer/taglib/ogg -I../../m3uplayer/taglib/flac -I../../m3uplayer/taglib/ogg/flac -I../../m3uplayer/taglib/mpc -I../../m3uplayer/taglib/mp4 -I../../m3uplayer/taglib/wavpack -I../../m3uplayer/taglib/ogg/speex -I../../m3uplayer/taglib/trueaudio -I../../m3uplayer/taglib/riff/aiff -I../../m3uplayer/taglib/riff -I../../m3uplayer/taglib/riff/wav -I../../m3uplayer/taglib/ape -I../../m3uplayer/taglib/mod -I../../m3uplayer/taglib/s3m -I../../m3uplayer/taglib/it -I../../m3uplayer/taglib/xm -I../../m3uplayer/taglib/mpeg/id3v1 -I. -I../../../bbndk/target_10_1_0_1020/qnx6/usr/include -I../../../bbndk/target_10_1_0_1020/qnx6/usr/include/freetype2 -I. -o apetag.o ../../m3uplayer/taglib/ape/apetag.cpp
In file included from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xstring:7:0,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/c/stdexcept:7,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xlocale:9,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xiosbase:7,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/streambuf:7,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xlocnum:10,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/ios:7,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/ostream:7,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/istream:7,
                 from /home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/string:7,
                 from ../../m3uplayer/taglib/toolkit/taglib.h:45,
                 from ../../m3uplayer/taglib/toolkit/tfile.h:30,
                 from ../../m3uplayer/taglib/ape/apetag.cpp:34:
/home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xmemory: In instantiation of 'std::allocator<const TagLib:Smiley Frustratedtring>':
/home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xtree:133:50:   instantiated from 'std::_Tree<std::_Tmap_traits<const TagLib:Smiley Frustratedtring, TagLib::APE::Item, std::less<const TagLib:Smiley Frustratedtring>, std::allocator<std:Smiley Tongueair<const TagLib:Smiley Frustratedtring, TagLib::APE::Item> >, false> >'
/home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/map:75:8:   instantiated from 'std::map<const TagLib:Smiley Frustratedtring, TagLib::APE::Item, std::less<const TagLib:Smiley Frustratedtring>, std::allocator<std:Smiley Tongueair<const TagLib:Smiley Frustratedtring, TagLib::APE::Item> > >'
../../m3uplayer/taglib/toolkit/tmap.h:59:49:   instantiated from 'TagLib::Map<const TagLib:Smiley Frustratedtring, TagLib::APE::Item>'
../../m3uplayer/taglib/ape/apetag.cpp:57:15:   instantiated from here
/home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xmemory:115:16: error: 'const value_type* std::allocator<_Ty>::address(std::allocator<_Ty>::const_reference) const [with _Ty = const TagLib:Smiley Frustratedtring, std::allocator<_Ty>::const_pointer = const TagLib:Smiley Frustratedtring*, std::allocator<_Ty>::value_type = const TagLib:Smiley Frustratedtring, std::allocator<_Ty>::const_reference = const TagLib:Smiley Frustratedtring&]' cannot be overloaded
/home/ezust/bbndk/target_10_1_0_1020/qnx6/usr/include/cpp/xmemory:110:10: error: with 'std::allocator<_Ty>::value_type* std::allocator<_Ty>::address(std::allocator<_Ty>::reference) const [with _Ty = const TagLib:Smiley Frustratedtring, std::allocator<_Ty>:Smiley Tongueointer = const TagLib:Smiley Frustratedtring*, std::allocator<_Ty>::value_type = const TagLib:Smiley Frustratedtring, std::allocator<_Ty>::reference = const TagLib:Smiley Frustratedtring&]'
cc: /home/ezust/bbndk/host_10_1_0_132/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1plus error 1
make[1]: Leaving directory `/home/ezust/ndk-10.1.0-workspace/build-m3uplayer-BlackBerry_10_target_10_1_0_1020-Debug/taglib'
make[1]: *** [apetag.o] Error 1
make: *** [sub-taglib-make_default-ordered] Error 2
16:41:48: The process "/home/ezust/bbndk/host_10_1_0_132/linux/x86/usr/bin/make" exited with code 2.
Error while building/deploying project m3uplayer (kit: BlackBerry 10 (target_10_1_0_1020))
When executing step 'Make'
16:41:48: Elapsed time: 00:00.

 

Retired
Posts: 35
Registered: ‎10-15-2013
My Device: BlackBerry Z30
My Carrier: O2 UK

Re: Trying to build taglib for Z10

Please could you post your cmake command string