From: "Simone" <cjb.sw.nospam@gmail.com>
To: "'Alfonso Tamés'" <alfonso@mantic.mx>
Cc: meta-freescale@yoctoproject.org
Subject: Re: Qt5 with Yocto
Date: Fri, 27 Dec 2013 15:54:53 +0100 [thread overview]
Message-ID: <000001cf0313$9b23f280$d16bd780$@gmail.com> (raw)
In-Reply-To: <38696BF8-2B2D-41E5-BD7D-B03DFE3FE7E0@mantic.mx>
[-- Attachment #1: Type: text/plain, Size: 8121 bytes --]
Hello Alfonso,
some steps are done.
Now the make can complete well.
But make install fail, with this error: cannot find -lQt5Designer
Here below the last part of the make output:
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
arm-poky-linux-gnueabi-g++
-Wl,-rpath-link,/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib
--sysroot=/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd
-Wl,--no-undefined -Wl,-O1
-Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib
-Wl,-rpath-link,/qt-everywhere-opensource-src-5.1.1/qtbase/lib -shared -o
libqdeclarativeview.so .obj/release-shared/qdeclarativeview_plugin.o
.obj/release-shared/moc_qdeclarativeview_plugin.o
-L/home/cx/fsl-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib
-L/qt-everywhere-opensource-src-5.1.1/qttools/lib -lQt5Designer
-L/qt-everywhere-opensource-src-5.1.1/qtbase/lib
-L/qt-everywhere-opensource-src-5.1.1/qtquick1/lib -lQt5Declarative
-L/qt-everywhere-opensource-src-5.1.1/qtxmlpatterns/lib -lQt5XmlPatterns
-lQt5Network -lQt5Sql -L/qt-everywhere-opensource-src-5.1.1/qtscript/lib
-lQt5Widgets -lQt5Xml -lQt5Script -lQt5Gui -lQt5Core -lGLESv2 -lEGL -lGAL
-lpthread
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld:
cannot find -lQt5Designer
collect2: error: ld returned 1 exit status
make[4]: *** [../../../plugins/designer/libqdeclarativeview.so] Error 1
make[4]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins/qdeclarativeview'
make[3]: *** [sub-qdeclarativeview-install_subtargets] Error 2
make[3]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtquick1/src/plugins'
make[2]: *** [sub-plugins-install_subtargets-ordered] Error 2
make[2]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtquick1/src'
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtquick1'
make: *** [module-qtquick1-install_subtargets] Error 2
Any suggestion?
Thanks so much!
Best regards
Simone
Da: Alfonso Tamés [mailto:alfonso@mantic.mx]
Inviato: venerdì 20 dicembre 2013 19:12
A: Simone
Cc: meta-freescale@yoctoproject.org
Oggetto: Re: [meta-freescale] Qt5 with Yocto
Priorità: Alta
Hi Simone.
<algorithm> is part of the Standard Template Library. I do not now how
orthodox this may sound, but try tar czf the contents of your cortex-a9
sysroot located inside your cross toolchain Poky: (xxx because I dont
remember the exact file names) /opt/poky/xxx/sysroots/cortex-a9xxx
Then unpack the contents in your board sysroot (for wandboqard)
yocto/build/tmp/sysroots/wandboard-quad
This should put headers and libraries that are needed to cross compile since
we are only passing the board sysroot to Qt5s configure script.
Regards,
Alfonso
On Dec 20, 2013, at 11:07 AM, Simone <cjb.sw.nospam@gmail.com
<mailto:cjb.sw.nospam@gmail.com> > wrote:
Hello Alfonso,
I tried to cross compile qt5 for imx6qsabresd following the article at
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
but I have an error during make.
I'm able to build with bitbake, but not In this standard way.
Below the last part of the build log (after configure, which was completed
successfully).
make[3]: Entering directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
/opt/poky/1.5mx6/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/
arm-poky-linux-gnueabi-g++ -c -pipe -mfloat-abi=softfp
--sysroot=/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad -O2 -O2
-mfloat-abi=hard -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
-fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W
-D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -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
-DPCRE_HAVE_CONFIG_H -astDQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/devices/linux-imx6-g++ -I.
-I../../include -I../../include/QtCore -I../../include/QtCore/5.1.1
-I../../include/QtCore/5.1.1/QtCore -Iglobal -I../3rdparty/pcre
-I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4
-I../3rdparty/sha3 -I.moc/release-shared
-I/home/alfonso/yocto/build/tmp/sysroots/wandboard-quad/usr/include -o
.obj/release-shared/qabstractanimation.o animation/qabstractanimation.cpp
Assembler messages:
Fatal error: can't create .obj/release-shared/qabstractanimation.o:
Permission denied
In file included from ../../include/QtCore/qglobal.h:1:0,
from
../../include/QtCore/../../src/corelib/global/qnamespace.h:45,
from ../../include/QtCore/qnamespace.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
from ../../include/QtCore/qobjectdefs.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from animation/qabstractanimation.h:45,
from animation/qabstractanimation.cpp:146:
../../include/QtCore/../../src/corelib/global/qglobal.h:80:21: fatal error:
algorithm: No such file or directory
#include <algorithm>
^
compilation terminated.
make[3]: *** [.obj/release-shared/qabstractanimation.o] Error 2
make[3]: Leaving directory
`/qt-everywhere-opensource-src-5.1.1/qtbase/src/corelib'
make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/qt-everywhere-opensource-src-5.1.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
Any hints?
Thanks
Simone
-----Messaggio originale-----
Da: <mailto:meta-freescale-bounces@yoctoproject.org>
meta-freescale-bounces@yoctoproject.org
[ <mailto:meta-freescale-bounces@yoctoproject.org>
mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Alfonso Tamés
Inviato: venerdì 13 dicembre 2013 12:18
A: <mailto:koansoftware@gmail.com> koansoftware@gmail.com
Cc: <mailto:meta-freescale@yoctoproject.org>
meta-freescale@yoctoproject.org
Oggetto: Re: [meta-freescale] Qt5 with Yocto
Hi Marco,
Indeed, I tried repo init and sync the master branch today and it is
throwing an error about
sources/poky/meta/recipes-support/consolekit/consolekit_0.4.6.bb DEPENDS or
requires virtual/libx11. This while explicit removing X11 in
DISTRO_FEATURES_remove. Something got messed up in the last 15 days.
I repo synced my yocto_dora directory and tested Qt5_CinematicExperience and
works fine.
Can you specify the errors in yocto_dora? Can you bitbake with the -v
switch?
Regards,
Alfonso
On Dec 13, 2013, at 2:32 AM, Marco < <mailto:koansoftware@gmail.com>
koansoftware@gmail.com> wrote:
Il 13/12/2013 00:19, Alfonso Tamés ha scritto:
Marco,
The instructions in
<http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard>
http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
should work for Dora and Master branches. Just remember that master is a
moving target and sometimes it can give problems. Right now I am using
Master without any problems.
Regards,
Hi Alfonso
that's not true on my side.
Unfortunately using master branch there is an error downloading the
kernel.
OTOH using dora branch there are errors launching the executables on the
imx6dlsabresd target.
--
Marco
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org <mailto:meta-freescale@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale
[-- Attachment #2: Type: text/html, Size: 17523 bytes --]
next prev parent reply other threads:[~2013-12-27 14:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-12 23:19 Qt5 with Yocto Alfonso Tamés
2013-12-13 8:32 ` Marco
2013-12-13 11:18 ` Alfonso Tamés
[not found] ` <BLU171-W13931EBCF1DD9430026D9F4D9D90@phx.gbl>
2013-12-15 19:16 ` Morgan McKenzie
2013-12-15 21:49 ` Philip Craig
2013-12-20 17:07 ` Simone
2013-12-20 17:21 ` Marco
2013-12-21 14:32 ` Morgan McKenzie
2013-12-27 20:03 ` Simone
2013-12-20 18:11 ` Alfonso Tamés
2013-12-27 14:54 ` Simone [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-11 8:24 Alfonso Tamés
2013-12-11 8:48 ` Morgan McKenzie
2013-12-11 9:37 ` Marco
2013-12-12 9:01 ` Handford, Michael
2013-12-12 9:23 ` Marco
2013-12-12 9:32 ` Handford, Michael
2013-12-12 10:01 ` Marco
2013-12-12 10:26 ` Handford, Michael
2013-12-11 9:11 ` Marco
2013-12-12 9:41 ` Dmitriy B.
2013-12-12 9:56 ` Handford, Michael
2013-12-12 10:05 ` Marco
2013-12-12 22:21 ` Dmitriy B.
2014-01-10 11:39 ` Florian
2013-12-10 23:34 Morgan McKenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001cf0313$9b23f280$d16bd780$@gmail.com' \
--to=cjb.sw.nospam@gmail.com \
--cc=alfonso@mantic.mx \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.