Subject: YOCTO Zeus: Qt remote objects compiler repc missing from sdk toolchain #toolchain #sdk #qtremoteobjects #repc To: yocto@lists.yoctoproject.org From: anthony.marchand@navocap.com X-Originating-Location: Paris, Île-de-France, FR (159.180.227.154) X-Originating-Platform: Linux Chrome 89 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Thu, 19 Aug 2021 03:14:19 -0700 Message-ID: Content-Type: multipart/alternative; boundary="Gyqy02VS0xYT81WzGkm9" --Gyqy02VS0xYT81WzGkm9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I permit myself to contact you because I got a weird issue in my sdk toolch= ain. So, as I need " qtremoteobjects" in my embedded linux image, I add it like = this: ---------------------------------------------------- QT =3D " \ qtbase \ qtbase-dev \ qtbase-plugins \ qtbase-mkspecs \ qtbase-tools \ cinematicexperience \ qtgraphicaleffects \ qtquickcontrols \ qtquickcontrols2 \ qtquickcontrols-qmlplugins \ qtsvg \ qtserialport \ qtserialbus \ qtremoteobjects \ qtremoteobjects-dev \ qtmultimedia \ qtwebsockets \ " PACKAGECONFIG_pn-qtvirtualkeyboard =3D "lang-fr_FR" PACKAGECONFIG_DEFAULT_pn-qtbase =3D "widgets libs freetype tslib gles2 eglf= s" TOUCHSCREEN =3D " \ tslib tslib-conf tslib-tests tslib-calibrate \ " IMAGE_INSTALL +=3D " \ bash \ sudo \ environment \ opkg \ os-release \ ${QT} \ " #IMAGE_INSTALL_append_mx6 =3D " ${MX6TOOL}" IMAGE_FEATURES +=3D " \ ssh-server-openssh \ " export IMAGE_BASENAME =3D "myimage" ---------------------------------------------------- So it's work fine when I flash it in my card, but after building SDK, "repc= " is missing in /sysroots/cortexa9t2hf-neon-poky-linux-gnueabi /usr/bin .= =C2=A0 More precisly, it is present, but located in: /sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/ usr/bin/.debug/repc And when I compile my app, I got the following error: Pre build error --> make[2]: /opt/poky/MY_SDK/sysroots/x86_64-pokysdk-linux= /usr/bin/repc: Command not found because "make" seems to try to find repc in "/usr/bin/repc" rather than " /= usr/bin/.debug/repc" . But when I link or move repc from " / usr/bin/.debu= g/repc" to "/usr/bin/repc", it gives me a "segment fault error" when I try = to make my app. I saw a similar issue on the web but it does not resolve my problem: https:= //e2e.ti.com/support/processors-group/processors/f/processors-forum/902941/= processor-sdk-am437x-qt-remote-objects-compiler-repc-missing-from-sdk-toolc= hain Does anyone already encontered this problem with qtremote control? Do you h= ave got any idea about what is going wrong? By advance, thanks for all, best reguards. --Gyqy02VS0xYT81WzGkm9 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello,

I permit myself to contact you because I got a weird issu= e in my sdk toolchain.

So, as I need "qtremo= teobjects" in my embedded linux image, I add it like this:

-----= -----------------------------------------------
QT =3D " \
qtbase \
qtbase-dev \
= qtbase-plugins \
qtbase-mkspecs \
qtbase-tools \
cinematicex= perience \
qtgraphicaleffects \
qtquickcontrols \
qtquickcon= trols2 \
qtquickcontrols-qmlplugins \
qtsvg \
qtserialport \=
qtserialbus \
qtremoteobjects \
qtremoteobjects-dev \
= qtmultimedia \
qtwebsockets \
"
PACKAGECONFIG_pn-qtvirtualkeyboard =3D "lang-fr_= FR"
PACKAGECONFIG_DEFAULT_pn-qtbase =3D "widgets libs freetype tslib g= les2 eglfs"
 
TOUCHSCREEN =3D " \
tslib tslib-conf tslib-= tests tslib-calibrate \
"
 
IMAGE_INSTALL +=3D " \
bash \
sudo \environment \
opkg \
os-release \
${QT} \
"
 
#IMAGE_INSTALL_append_mx6 =3D " ${MX6TOOL}"
 
IMAGE_FEATURES +=3D " \
ssh-server-openssh = \
"
 
export IMAGE_BASENAME =3D "myimage"

<= span style=3D"font-family: Verdana, Arial, Helvetica, sans-serif; backgroun= d-color: #f9f9f9;">----------------------------------------------------
So it's work fine when I flash it= in my card, but after building SDK, "repc" is missing in /sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/bin .&nb= sp; More precisly, it is present, but located in:

/sys= roots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/bin/.debug/repc

 
Pre build error= --> make[2]: /opt/poky/MY_SDK/sysroots/x86_64-pokysdk-linux/usr/bin/rep= c: Command not found

bec= ause "make" seems to try to find repc in "/usr/bin/repc" rather than "/usr/bin/.debug/repc" . But when I link or move repc from "/usr/bin/.debug/repc" to  "/usr/bin/repc", = it gives me a "segment fault error" when I try to make my app.
Does anyone alr= eady encontered this problem with qtremote control? Do you have got any ide= a about what is going wrong?
 
By advance, tha= nks for all, best reguards.  
--Gyqy02VS0xYT81WzGkm9--